# com.bea.xml
SchemaGlobalAttribute Interface

public interface SchemaGlobalAttribute
extends `SchemaComponent`, `SchemaLocalAttribute`

Represents a global attribute definition

Related Topics

``SchemaTypeLoader.findAttribute(QName)``

All Superinterfaces
  `SchemaComponent`, `SchemaField`, `SchemaLocalAttribute`

## Field Summary

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

Fields from interface com.bea.xml`.`SchemaLocalAttribute``
``OPTIONAL`, `PROHIBITED`, `REQUIRED``

## Method Summary

`public `SchemaGlobalAttribute.Ref`` | `getRef`() Retruns a SchemaGlobalElement.Ref pointing to this element itself.
`public `String`` | `getSourceName`() The name of the source .xsd file within which this attribute was defined

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

Methods from interface `com.bea.xml.`SchemaField``
``getDefaultText`, `getDefaultValue`, `getMaxOccurs`, `getMinOccurs`, `getName`, `getType`, `isAttribute`, `isDefault`, `isFixed`, `isNillable``

Methods from interface `com.bea.xml.`SchemaLocalAttribute``
``getUse``

## Method Detail

### getRef() Method

    public SchemaGlobalAttribute.Ref getRef()

Retruns a SchemaGlobalElement.Ref pointing to this element itself.

### getSourceName() Method

    public String getSourceName()

The name of the source .xsd file within which this attribute was defined