# com.bea.xml
SchemaAttributeGroup Interface

public interface SchemaAttributeGroup
extends `SchemaComponent`

Represents an attribute group.

An attribute group is a syntactic construct, not a part of the logical model. For example, types declared within an attribute group become local to the type that uses the group - they're not local to the attribute group itself. Therefore in the logical model of a schema type system, an attribute group doesn't represent anything. Its contents are merged into the logical model at parse time.

Related Topics

``SchemaTypeLoader.findAttributeGroup(QName)``

All Superinterfaces
  `SchemaComponent`

## Field Summary

Fields from interface com.bea.xml`.`SchemaComponent``
``ATTRIBUTE`, `ATTRIBUTE_GROUP`, `ELEMENT`, `IDENTITY_CONSTRAINT`, `MODEL_GROUP`, `NOTATION`, `TYPE``

## Method Summary

`public int` | `getComponentType`() Returns SchemaComponent.ATTRIBUTE_GROUP.
`public `QName`` | `getName`() The name of the model group.

Methods from interface `com.bea.xml.`SchemaComponent``
``getComponentRef`, `getTypeSystem``

## Method Detail

### getComponentType() Method

    public int getComponentType()

Returns SchemaComponent.ATTRIBUTE_GROUP.

### getName() Method

    public QName getName()

The name of the model group.