com.ibm.etools.xsd
Interface XSDAttributeDeclaration

All Superinterfaces:
com.ibm.etools.emf.notify.Notifier, com.ibm.etools.emf.ref.RefBaseObject, com.ibm.etools.emf.ref.RefObject, com.ibm.etools.emf.resource.ResourceSetReference, XSDComponent, XSDConcreteComponent, XSDFeature, XSDNamedComponent, XSDSchemaContent
All Known Implementing Classes:
XSDAttributeDeclarationImpl

public interface XSDAttributeDeclaration
extends XSDFeature, XSDSchemaContent

A representation of the model object 'Attribute Declaration'.

The following features are supported:

See Also:
XSDPackage.getXSDAttributeDeclaration()

Field Summary
static java.lang.String copyright
           
 
Fields inherited from interface com.ibm.etools.emf.notify.Notifier
ADD, ADD_MANY, CREATE, MOVE, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, SET, TOUCH, UNSET
 
Method Summary
 com.ibm.etools.emf.ecore.EClass eClassXSDAttributeDeclaration()
          Returns the meta class of XSDAttributeDeclaration.
 XSDAnnotation getAnnotation()
          Returns the value of the 'Annotation' reference.
 XSDSimpleTypeDefinition getAnonymousTypeDefinition()
          Returns the value of the 'Anonymous Type Definition' reference.
 java.lang.Boolean getAttributeDeclarationReference()
          Returns the value of the 'Attribute Declaration Reference' attribute.
 XSDAttributeDeclaration getResolvedAttributeDeclaration()
          Returns the value of the 'Resolved Attribute Declaration' reference.
 XSDSimpleTypeDefinition getTypeDefinition()
          Returns the value of the 'Type Definition' reference.
 boolean isAttributeDeclarationReference()
          Returns whether the object is 'Attribute Declaration Reference'.
 boolean isSetAnnotation()
          Returns whether the value of the 'Annotation' reference is set.
 boolean isSetAnonymousTypeDefinition()
          Returns whether the value of the 'Anonymous Type Definition' reference is set.
 boolean isSetResolvedAttributeDeclaration()
          Returns whether the value of the 'Resolved Attribute Declaration' reference is set.
 boolean isSetTypeDefinition()
          Returns whether the value of the 'Type Definition' reference is set.
 void setAnnotation(XSDAnnotation value)
          Sets the value of the 'Annotation' reference.
 void setAnonymousTypeDefinition(XSDSimpleTypeDefinition value)
          Sets the value of the 'Anonymous Type Definition' reference.
 void setResolvedAttributeDeclaration(XSDAttributeDeclaration value)
          Sets the value of the 'Resolved Attribute Declaration' reference.
 void setTypeDefinition(XSDSimpleTypeDefinition value)
          Sets the value of the 'Type Definition' reference.
 void unsetAnnotation()
          Unsets the value of the 'Annotation' reference.
 void unsetAnonymousTypeDefinition()
          Unsets the value of the 'Anonymous Type Definition' reference.
 void unsetResolvedAttributeDeclaration()
          Unsets the value of the 'Resolved Attribute Declaration' reference.
 void unsetTypeDefinition()
          Unsets the value of the 'Type Definition' reference.
 
Methods inherited from interface com.ibm.etools.xsd.XSDFeature
eClassXSDFeature, getConstraint, getFeatureReference, getForm, getGlobal, getLexicalValue, getLiteralConstraint, getLiteralForm, getResolvedFeature, getScope, getStringConstraint, getStringForm, getType, getValue, getValueConstraint, getValueForm, isFeatureReference, isGlobal, isSetConstraint, isSetForm, isSetLexicalValue, isSetValue, setConstraint, setConstraint, setConstraint, setConstraint, setForm, setForm, setForm, setForm, setLexicalValue, setValue, unsetConstraint, unsetForm, unsetLexicalValue, unsetValue
 
Methods inherited from interface com.ibm.etools.xsd.XSDNamedComponent
eClassXSDNamedComponent, getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, isSetName, isSetTargetNamespace, setName, setTargetNamespace, unsetName, unsetTargetNamespace
 
Methods inherited from interface com.ibm.etools.xsd.XSDComponent
eClassXSDComponent
 
Methods inherited from interface com.ibm.etools.xsd.XSDConcreteComponent
clearDiagnostics, cloneConcreteComponent, contains, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, ePackageXSD, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getOwner, getRootContainer, getRootOwner, getSchema, getURIReferencePath, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setOwner, setRootOwner, setSchema, unsetElement, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement, validate
 
Methods inherited from interface com.ibm.etools.emf.ref.RefObject
initInstance, refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refIsSet, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner, refSetValue, refUnsetValue, refValue
 
Methods inherited from interface com.ibm.etools.emf.ref.RefBaseObject
metaObject, refAttributes, refContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContains, refContainsExtent, refContainsNested, refDelete, refExtent, refID, refImmediatePackage, refIsContainer, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refRemoveContent, refResource, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetUUID, refSetUUID, refSetUUID
 
Methods inherited from interface com.ibm.etools.emf.notify.Notifier
addAdapter, getAdapter, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, notify, notify, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll
 
Methods inherited from interface com.ibm.etools.emf.resource.ResourceSetReference
getResourceSet
 
Methods inherited from interface com.ibm.etools.xsd.XSDSchemaContent
eClassXSDSchemaContent
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

eClassXSDAttributeDeclaration

public com.ibm.etools.emf.ecore.EClass eClassXSDAttributeDeclaration()
Returns the meta class of XSDAttributeDeclaration.
Returns:
the meta class.
See Also:
XSDPackage.getXSDAttributeDeclaration(), XSDConcreteComponent.ePackageXSD()

getAttributeDeclarationReference

public java.lang.Boolean getAttributeDeclarationReference()
Returns the value of the 'Attribute Declaration Reference' attribute.

This concrete attribute is equivalent to

  xsdAttributeDeclaration != xsdAttributeDeclaration.getResolvedAttributeDeclaration()
An infoset feature will never return an instance for which this is the true since this is a concrete attribute that is used to represent an attribute declaration with a ref attribute.

Returns:
the value of the 'Attribute Declaration Reference' attribute.
See Also:
isAttributeDeclarationReference(), XSDPackage.getXSDAttributeDeclaration_AttributeDeclarationReference()

isAttributeDeclarationReference

public boolean isAttributeDeclarationReference()
Returns whether the object is 'Attribute Declaration Reference'.
Returns:
whether the object is 'Attribute Declaration Reference'.
See Also:
getAttributeDeclarationReference()

getAnnotation

public XSDAnnotation getAnnotation()
Returns the value of the 'Annotation' reference.

This represents the annotation infoset property.

Returns:
the value of the 'Annotation' reference.
See Also:
isSetAnnotation(), unsetAnnotation(), setAnnotation(XSDAnnotation), XSDPackage.getXSDAttributeDeclaration_Annotation()

setAnnotation

public void setAnnotation(XSDAnnotation value)
Sets the value of the 'Annotation' reference.
Parameters:
value - the new value of the 'Annotation' reference.
See Also:
isSetAnnotation(), unsetAnnotation(), getAnnotation()

unsetAnnotation

public void unsetAnnotation()
Unsets the value of the 'Annotation' reference.
See Also:
isSetAnnotation(), getAnnotation(), setAnnotation(XSDAnnotation)

isSetAnnotation

public boolean isSetAnnotation()
Returns whether the value of the 'Annotation' reference is set.
Returns:
whether the value of the 'Annotation' reference is set.
See Also:
unsetAnnotation(), getAnnotation(), setAnnotation(XSDAnnotation)

getAnonymousTypeDefinition

public XSDSimpleTypeDefinition getAnonymousTypeDefinition()
Returns the value of the 'Anonymous Type Definition' reference.

This concrete reference represents a simple type definition defined within the body of an attribute element.

Returns:
the value of the 'Anonymous Type Definition' reference.
See Also:
isSetAnonymousTypeDefinition(), unsetAnonymousTypeDefinition(), setAnonymousTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDAttributeDeclaration_AnonymousTypeDefinition()

setAnonymousTypeDefinition

public void setAnonymousTypeDefinition(XSDSimpleTypeDefinition value)
Sets the value of the 'Anonymous Type Definition' reference.
Parameters:
value - the new value of the 'Anonymous Type Definition' reference.
See Also:
isSetAnonymousTypeDefinition(), unsetAnonymousTypeDefinition(), getAnonymousTypeDefinition()

unsetAnonymousTypeDefinition

public void unsetAnonymousTypeDefinition()
Unsets the value of the 'Anonymous Type Definition' reference.
See Also:
isSetAnonymousTypeDefinition(), getAnonymousTypeDefinition(), setAnonymousTypeDefinition(XSDSimpleTypeDefinition)

isSetAnonymousTypeDefinition

public boolean isSetAnonymousTypeDefinition()
Returns whether the value of the 'Anonymous Type Definition' reference is set.
Returns:
whether the value of the 'Anonymous Type Definition' reference is set.
See Also:
unsetAnonymousTypeDefinition(), getAnonymousTypeDefinition(), setAnonymousTypeDefinition(XSDSimpleTypeDefinition)

getTypeDefinition

public XSDSimpleTypeDefinition getTypeDefinition()
Returns the value of the 'Type Definition' reference.

This represents the type definition infoset property.

Returns:
the value of the 'Type Definition' reference.
See Also:
isSetTypeDefinition(), unsetTypeDefinition(), setTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDAttributeDeclaration_TypeDefinition()

setTypeDefinition

public void setTypeDefinition(XSDSimpleTypeDefinition value)
Sets the value of the 'Type Definition' reference.
Parameters:
value - the new value of the 'Type Definition' reference.
See Also:
isSetTypeDefinition(), unsetTypeDefinition(), getTypeDefinition()

unsetTypeDefinition

public void unsetTypeDefinition()
Unsets the value of the 'Type Definition' reference.
See Also:
isSetTypeDefinition(), getTypeDefinition(), setTypeDefinition(XSDSimpleTypeDefinition)

isSetTypeDefinition

public boolean isSetTypeDefinition()
Returns whether the value of the 'Type Definition' reference is set.
Returns:
whether the value of the 'Type Definition' reference is set.
See Also:
unsetTypeDefinition(), getTypeDefinition(), setTypeDefinition(XSDSimpleTypeDefinition)

getResolvedAttributeDeclaration

public XSDAttributeDeclaration getResolvedAttributeDeclaration()
Returns the value of the 'Resolved Attribute Declaration' reference.

This concrete reference represents the attribute declaration resolved by the ref attribute.

Returns:
the value of the 'Resolved Attribute Declaration' reference.
See Also:
isSetResolvedAttributeDeclaration(), unsetResolvedAttributeDeclaration(), setResolvedAttributeDeclaration(XSDAttributeDeclaration), XSDPackage.getXSDAttributeDeclaration_ResolvedAttributeDeclaration()

setResolvedAttributeDeclaration

public void setResolvedAttributeDeclaration(XSDAttributeDeclaration value)
Sets the value of the 'Resolved Attribute Declaration' reference.
Parameters:
value - the new value of the 'Resolved Attribute Declaration' reference.
See Also:
isSetResolvedAttributeDeclaration(), unsetResolvedAttributeDeclaration(), getResolvedAttributeDeclaration()

unsetResolvedAttributeDeclaration

public void unsetResolvedAttributeDeclaration()
Unsets the value of the 'Resolved Attribute Declaration' reference.
See Also:
isSetResolvedAttributeDeclaration(), getResolvedAttributeDeclaration(), setResolvedAttributeDeclaration(XSDAttributeDeclaration)

isSetResolvedAttributeDeclaration

public boolean isSetResolvedAttributeDeclaration()
Returns whether the value of the 'Resolved Attribute Declaration' reference is set.
Returns:
whether the value of the 'Resolved Attribute Declaration' reference is set.
See Also:
unsetResolvedAttributeDeclaration(), getResolvedAttributeDeclaration(), setResolvedAttributeDeclaration(XSDAttributeDeclaration)