Class AttributeImpl

All Implemented Interfaces:
Serializable, TypeStoreUser, Annotated, Attribute, OpenAttrs, SimpleValue, XmlObject, XmlTokenSource
Direct Known Subclasses:
TopLevelAttributeImpl

public class AttributeImpl extends AnnotatedImpl implements Attribute
An XML attribute(@http://www.w3.org/2001/XMLSchema). This is a complex type.
See Also:
  • Constructor Details

    • AttributeImpl

      public AttributeImpl(SchemaType sType)
  • Method Details

    • getSimpleType

      public LocalSimpleType getSimpleType()
      Gets the "simpleType" element
      Specified by:
      getSimpleType in interface Attribute
    • isSetSimpleType

      public boolean isSetSimpleType()
      True if has "simpleType" element
      Specified by:
      isSetSimpleType in interface Attribute
    • setSimpleType

      public void setSimpleType(LocalSimpleType simpleType)
      Sets the "simpleType" element
      Specified by:
      setSimpleType in interface Attribute
    • addNewSimpleType

      public LocalSimpleType addNewSimpleType()
      Appends and returns a new empty "simpleType" element
      Specified by:
      addNewSimpleType in interface Attribute
    • unsetSimpleType

      public void unsetSimpleType()
      Unsets the "simpleType" element
      Specified by:
      unsetSimpleType in interface Attribute
    • getName

      public String getName()
      Gets the "name" attribute
      Specified by:
      getName in interface Attribute
    • xgetName

      public XmlNCName xgetName()
      Gets (as xml) the "name" attribute
      Specified by:
      xgetName in interface Attribute
    • isSetName

      public boolean isSetName()
      True if has "name" attribute
      Specified by:
      isSetName in interface Attribute
    • setName

      public void setName(String name)
      Sets the "name" attribute
      Specified by:
      setName in interface Attribute
    • xsetName

      public void xsetName(XmlNCName name)
      Sets (as xml) the "name" attribute
      Specified by:
      xsetName in interface Attribute
    • unsetName

      public void unsetName()
      Unsets the "name" attribute
      Specified by:
      unsetName in interface Attribute
    • getRef

      public QName getRef()
      Gets the "ref" attribute
      Specified by:
      getRef in interface Attribute
    • xgetRef

      public XmlQName xgetRef()
      Gets (as xml) the "ref" attribute
      Specified by:
      xgetRef in interface Attribute
    • isSetRef

      public boolean isSetRef()
      True if has "ref" attribute
      Specified by:
      isSetRef in interface Attribute
    • setRef

      public void setRef(QName ref)
      Sets the "ref" attribute
      Specified by:
      setRef in interface Attribute
    • xsetRef

      public void xsetRef(XmlQName ref)
      Sets (as xml) the "ref" attribute
      Specified by:
      xsetRef in interface Attribute
    • unsetRef

      public void unsetRef()
      Unsets the "ref" attribute
      Specified by:
      unsetRef in interface Attribute
    • getType

      public QName getType()
      Gets the "type" attribute
      Specified by:
      getType in interface Attribute
    • xgetType

      public XmlQName xgetType()
      Gets (as xml) the "type" attribute
      Specified by:
      xgetType in interface Attribute
    • isSetType

      public boolean isSetType()
      True if has "type" attribute
      Specified by:
      isSetType in interface Attribute
    • setType

      public void setType(QName type)
      Sets the "type" attribute
      Specified by:
      setType in interface Attribute
    • xsetType

      public void xsetType(XmlQName type)
      Sets (as xml) the "type" attribute
      Specified by:
      xsetType in interface Attribute
    • unsetType

      public void unsetType()
      Unsets the "type" attribute
      Specified by:
      unsetType in interface Attribute
    • getUse

      public Attribute.Use.Enum getUse()
      Gets the "use" attribute
      Specified by:
      getUse in interface Attribute
    • xgetUse

      public Attribute.Use xgetUse()
      Gets (as xml) the "use" attribute
      Specified by:
      xgetUse in interface Attribute
    • isSetUse

      public boolean isSetUse()
      True if has "use" attribute
      Specified by:
      isSetUse in interface Attribute
    • setUse

      public void setUse(Attribute.Use.Enum use)
      Sets the "use" attribute
      Specified by:
      setUse in interface Attribute
    • xsetUse

      public void xsetUse(Attribute.Use use)
      Sets (as xml) the "use" attribute
      Specified by:
      xsetUse in interface Attribute
    • unsetUse

      public void unsetUse()
      Unsets the "use" attribute
      Specified by:
      unsetUse in interface Attribute
    • getDefault

      public String getDefault()
      Gets the "default" attribute
      Specified by:
      getDefault in interface Attribute
    • xgetDefault

      public XmlString xgetDefault()
      Gets (as xml) the "default" attribute
      Specified by:
      xgetDefault in interface Attribute
    • isSetDefault

      public boolean isSetDefault()
      True if has "default" attribute
      Specified by:
      isSetDefault in interface Attribute
    • setDefault

      public void setDefault(String xdefault)
      Sets the "default" attribute
      Specified by:
      setDefault in interface Attribute
    • xsetDefault

      public void xsetDefault(XmlString xdefault)
      Sets (as xml) the "default" attribute
      Specified by:
      xsetDefault in interface Attribute
    • unsetDefault

      public void unsetDefault()
      Unsets the "default" attribute
      Specified by:
      unsetDefault in interface Attribute
    • getFixed

      public String getFixed()
      Gets the "fixed" attribute
      Specified by:
      getFixed in interface Attribute
    • xgetFixed

      public XmlString xgetFixed()
      Gets (as xml) the "fixed" attribute
      Specified by:
      xgetFixed in interface Attribute
    • isSetFixed

      public boolean isSetFixed()
      True if has "fixed" attribute
      Specified by:
      isSetFixed in interface Attribute
    • setFixed

      public void setFixed(String fixed)
      Sets the "fixed" attribute
      Specified by:
      setFixed in interface Attribute
    • xsetFixed

      public void xsetFixed(XmlString fixed)
      Sets (as xml) the "fixed" attribute
      Specified by:
      xsetFixed in interface Attribute
    • unsetFixed

      public void unsetFixed()
      Unsets the "fixed" attribute
      Specified by:
      unsetFixed in interface Attribute
    • getForm

      public FormChoice.Enum getForm()
      Gets the "form" attribute
      Specified by:
      getForm in interface Attribute
    • xgetForm

      public FormChoice xgetForm()
      Gets (as xml) the "form" attribute
      Specified by:
      xgetForm in interface Attribute
    • isSetForm

      public boolean isSetForm()
      True if has "form" attribute
      Specified by:
      isSetForm in interface Attribute
    • setForm

      public void setForm(FormChoice.Enum form)
      Sets the "form" attribute
      Specified by:
      setForm in interface Attribute
    • xsetForm

      public void xsetForm(FormChoice form)
      Sets (as xml) the "form" attribute
      Specified by:
      xsetForm in interface Attribute
    • unsetForm

      public void unsetForm()
      Unsets the "form" attribute
      Specified by:
      unsetForm in interface Attribute