com.ibm.etools.xsd.impl
Class XSDAttributeDeclarationImpl

java.lang.Object
  |
  +--com.ibm.etools.emf.notify.impl.NotifierImpl
        |
        +--com.ibm.etools.emf.ref.impl.RefBaseObjectImpl
              |
              +--com.ibm.etools.emf.ref.impl.RefObjectImpl
                    |
                    +--com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
                          |
                          +--com.ibm.etools.xsd.impl.XSDComponentImpl
                                |
                                +--com.ibm.etools.xsd.impl.XSDNamedComponentImpl
                                      |
                                      +--com.ibm.etools.xsd.impl.XSDFeatureImpl
                                            |
                                            +--com.ibm.etools.xsd.impl.XSDAttributeDeclarationImpl
All Implemented Interfaces:
com.ibm.etools.emf.notify.InternalNotifier, com.ibm.etools.emf.ref.InternalProxy, com.ibm.etools.emf.ref.InternalResolved, com.ibm.etools.emf.ref.Internals, com.ibm.etools.emf.notify.Notifier, com.ibm.etools.emf.ref.RefBaseObject, com.ibm.etools.emf.ref.RefObject, com.ibm.etools.emf.resource.ResourceSetReference, XSDAttributeDeclaration, XSDComponent, XSDConcreteComponent, XSDFeature, XSDNamedComponent, XSDSchemaContent

public class XSDAttributeDeclarationImpl
extends XSDFeatureImpl
implements XSDAttributeDeclaration, XSDFeature, XSDSchemaContent


Inner classes inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
XSDNamedComponentImpl.Comparator
 
Field Summary
protected  XSDAnnotation annotation
          The cached value of the 'Annotation' reference.
protected  XSDSimpleTypeDefinition anonymousTypeDefinition
          The cached value of the 'Anonymous Type Definition' reference.
static java.lang.String copyright
           
protected  boolean isTypeExplicit
           
protected  XSDAttributeDeclaration resolvedAttributeDeclaration
          The cached value of the 'Resolved Attribute Declaration' reference.
protected  XSDSimpleTypeDefinition typeDefinition
          The cached value of the 'Type Definition' reference.
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDFeatureImpl
constraint, form, lexicalValue, value
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
name, targetNamespace
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ERROR, FATAL, INFORMATION, isReconciling, owner, rootOwner, schema, UNANALYZED, updatingDOM, WARNING
 
Fields inherited from class com.ibm.etools.emf.ref.impl.RefObjectImpl
refDelegateOwner
 
Fields inherited from class com.ibm.etools.emf.ref.impl.RefBaseObjectImpl
helper
 
Fields inherited from class com.ibm.etools.emf.notify.impl.NotifierImpl
debug, isOn, isOnAll
 
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
 
Constructor Summary
protected XSDAttributeDeclarationImpl()
           
 
Method Summary
protected  void adoptContent(com.ibm.etools.emf.ref.RefReference refReference, XSDConcreteComponent xsdConcreteComponent)
           
protected  boolean analyze()
           
protected  void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
           
protected  void changeReference(com.ibm.etools.emf.ref.RefReference refReference)
           
 XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
          Creates a clone of the component.
static XSDAttributeDeclaration createAttributeDeclaration(Node node)
           
 Element createElement()
           
 com.ibm.etools.emf.ecore.EClass eClassXSDAttributeDeclaration()
          
 com.ibm.etools.emf.ecore.EClass eClassXSDSchemaContent()
          
 XSDPackage ePackageXSD()
          
 XSDAnnotation getAnnotation()
          
 XSDSimpleTypeDefinition getAnonymousTypeDefinition()
          
 java.lang.Boolean getAttributeDeclarationReference()
          
 java.lang.String getQName()
          Returns the value of the 'QName' attribute.
 XSDAttributeDeclaration getResolvedAttributeDeclaration()
          
 XSDFeature getResolvedFeature()
          Returns the value of the 'Resolved Feature' reference.
 XSDNamedComponent getResolvedNamedComponent()
           
 XSDTypeDefinition getType()
          Returns the value of the 'Type' reference.
 XSDSimpleTypeDefinition getTypeDefinition()
          
protected  XSDSchemaContentImpl getXSDSchemaContentDelegate()
          
protected  void handleReconciliation(java.util.List newContents, java.util.List remainingContents)
           
protected  void handleUnreconciledElement(Element child, java.util.List newContents, java.util.List remainingContents)
           
 com.ibm.etools.emf.ref.RefObject initInstance()
          
 boolean isAttributeDeclarationReference()
          Returns whether the object is 'Attribute Declaration Reference'.
 boolean isFeatureReference()
          Returns whether the object is 'Feature Reference'.
 boolean isNamedComponentReference()
           
 boolean isSetAnnotation()
          
 boolean isSetAnonymousTypeDefinition()
          
 boolean isSetResolvedAttributeDeclaration()
          
 boolean isSetTypeDefinition()
          
protected  void orphanContent(com.ibm.etools.emf.ref.RefReference refReference, XSDConcreteComponent xsdConcreteComponent)
           
protected  void patch()
           
protected  void patchTargetNamespaceAttribute()
           
protected  void reconcileAttributes(Element changedElement)
           
protected  void reconcileNameAttribute()
           
 com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature, java.lang.Object newValue)
          
 com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 boolean refIsSet(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 void refSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature, java.lang.Object newValue)
          
 void refUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 java.lang.Object refValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 void setAnnotation(XSDAnnotation value)
          
 void setAnonymousTypeDefinition(XSDSimpleTypeDefinition value)
          
 void setResolvedAttributeDeclaration(XSDAttributeDeclaration value)
          
 void setTypeDefinition(XSDSimpleTypeDefinition value)
          
 java.lang.String toString()
          
 void unsetAnnotation()
          
 void unsetAnonymousTypeDefinition()
          
 void unsetResolvedAttributeDeclaration()
          
 void unsetTypeDefinition()
          
 void validate()
          Validates whether this component conforms to the constraints defined in the XML Schema standard.
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDFeatureImpl
eClassXSDFeature, getConstraint, getFeatureReference, getForm, getGlobal, getLexicalValue, getLiteralConstraint, getLiteralForm, getScope, getStringConstraint, getStringForm, getValue, getValueConstraint, getValueForm, isGlobal, isSetConstraint, isSetForm, isSetLexicalValue, isSetValue, isUpdatingDOM, setConstraint, setConstraint, setConstraint, setConstraint, setForm, setForm, setForm, setForm, setLexicalValue, setValue, unsetConstraint, unsetForm, unsetLexicalValue, unsetValue
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
addToSortedList, eClassXSDNamedComponent, getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, isSetName, isSetTargetNamespace, mergeToSortedList, setName, setTargetNamespace, sortNamedComponents, unsetName, unsetTargetNamespace
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDComponentImpl
eClassXSDComponent
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
adoptBy, adoptDiagnostic, checkAttributes, checkBuiltInTypeConstraint, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getElement, getOwner, getOwnerGen, getRootContainer, getRootOwner, getSchema, getURIReferencePath, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, internalNotify, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanDiagnostic, reconcile, reconcileContents, reportConstraintViolation, 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, setElementGen, setListContentAndOrder, setOwner, setRootOwner, setSchema, traverseToRootForAnalysis, traverseToRootForPatching, unsetElement, unsetElementGen, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement
 
Methods inherited from class com.ibm.etools.emf.ref.impl.RefObjectImpl
getAdapter, initInstanceDelegates, newCollection, newCollection, newCollection, notify, notify, refAddValue, refAddValueAt, refAddValueBefore, refBasicContains, refBasicRemoveContent, refBasicRemoveValue, refBasicValues, refContainer, refContains, refCurrentValues, refDelegateOwner, refDelete, refGetDefaultValues, refIsDelegate, refModifyValue, refModifyValueAt, refRemoveContent, refRemoveValue, refRemoveValueAt, refResource, refSetDelegateOwner, refSetValueForContainMVReference, refSetValueForContainSVReference, refSetValueForEnumAttribute, refSetValueForMVReference, refSetValueForRefObjectSF, refSetValueForSimpleSF, refSetValueForSVReference, refUnsetValueForContainReference, refUnsetValueForMVReference, refUnsetValueForRefObjectSF, refUnsetValueForSimpleSF, refUnsetValueForSVReference
 
Methods inherited from class com.ibm.etools.emf.ref.impl.RefBaseObjectImpl
getImplementationHelper, getRegisteredAdapterFactory, getResourceSet, initDelegates, metaObject, refAttributes, refBasicContainsExtent, refBasicSetContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContainsExtent, refContainsNested, refCreateProxy, refDefiningPackage, refExtent, refFindUnloadedObjectsContains, refGetProxyURI, refHref, refID, refImmediatePackage, refIsContainer, refIsDeleted, refIsProxy, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refSetContainer, refSetContainer, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetProxyURI, refSetUUID, refSetUUID, refSetUUID, resolve, resolve, resolved, resolveDelete
 
Methods inherited from class com.ibm.etools.emf.notify.impl.NotifierImpl
addAdapter, ensureAdapterSpace, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.xsd.XSDFeature
eClassXSDFeature, getConstraint, getFeatureReference, getForm, getGlobal, getLexicalValue, getLiteralConstraint, getLiteralForm, getScope, getStringConstraint, getStringForm, getValue, getValueConstraint, getValueForm, 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, 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, contains, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, 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
 
Methods inherited from interface com.ibm.etools.emf.ref.RefObject
refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner
 
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.emf.ref.Internals
refBasicContainsExtent, refBasicSetContainer, refSetContainer, refSetContainer
 

Field Detail

copyright

public static final java.lang.String copyright

annotation

protected XSDAnnotation annotation
The cached value of the 'Annotation' reference.
See Also:
getAnnotation()

anonymousTypeDefinition

protected XSDSimpleTypeDefinition anonymousTypeDefinition
The cached value of the 'Anonymous Type Definition' reference.
See Also:
getAnonymousTypeDefinition()

typeDefinition

protected XSDSimpleTypeDefinition typeDefinition
The cached value of the 'Type Definition' reference.
See Also:
getTypeDefinition()

resolvedAttributeDeclaration

protected XSDAttributeDeclaration resolvedAttributeDeclaration
The cached value of the 'Resolved Attribute Declaration' reference.
See Also:
getResolvedAttributeDeclaration()

isTypeExplicit

protected boolean isTypeExplicit
Constructor Detail

XSDAttributeDeclarationImpl

protected XSDAttributeDeclarationImpl()
Method Detail

ePackageXSD

public XSDPackage ePackageXSD()
Specified by:
ePackageXSD in interface XSDConcreteComponent
Overrides:
ePackageXSD in class XSDFeatureImpl
Following copied from interface: com.ibm.etools.xsd.XSDConcreteComponent
Returns:
the meta package of XSDConcreteComponent.

eClassXSDAttributeDeclaration

public com.ibm.etools.emf.ecore.EClass eClassXSDAttributeDeclaration()
Specified by:
eClassXSDAttributeDeclaration in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
the meta class.
See Also:
XSDPackage.getXSDAttributeDeclaration(), XSDConcreteComponent.ePackageXSD()

createAttributeDeclaration

public static XSDAttributeDeclaration createAttributeDeclaration(Node node)

initInstance

public com.ibm.etools.emf.ref.RefObject initInstance()
Specified by:
initInstance in interface com.ibm.etools.emf.ref.RefObject
Overrides:
initInstance in class XSDFeatureImpl

getAttributeDeclarationReference

public java.lang.Boolean getAttributeDeclarationReference()
Specified by:
getAttributeDeclarationReference in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
the value of the 'Attribute Declaration Reference' attribute.
See Also:
XSDAttributeDeclaration.isAttributeDeclarationReference(), XSDPackage.getXSDAttributeDeclaration_AttributeDeclarationReference()

createElement

public Element createElement()
Overrides:
createElement in class XSDConcreteComponentImpl

patch

protected void patch()
Overrides:
patch in class XSDNamedComponentImpl

patchTargetNamespaceAttribute

protected void patchTargetNamespaceAttribute()
Overrides:
patchTargetNamespaceAttribute in class XSDNamedComponentImpl

analyze

protected boolean analyze()
Overrides:
analyze in class XSDFeatureImpl

validate

public void validate()
Description copied from interface: XSDConcreteComponent
Validates whether this component conforms to the constraints defined in the XML Schema standard. Diagnostics are produced to report any problems.
Specified by:
validate in interface XSDConcreteComponent
Overrides:
validate in class XSDConcreteComponentImpl
Following copied from interface: com.ibm.etools.xsd.XSDConcreteComponent
See Also:
XSDConcreteComponent.getDiagnostics(), XSDConcreteComponent.clearDiagnostics()

reconcileAttributes

protected void reconcileAttributes(Element changedElement)
Overrides:
reconcileAttributes in class XSDFeatureImpl

reconcileNameAttribute

protected void reconcileNameAttribute()
Overrides:
reconcileNameAttribute in class XSDNamedComponentImpl

handleUnreconciledElement

protected void handleUnreconciledElement(Element child,
                                         java.util.List newContents,
                                         java.util.List remainingContents)
Overrides:
handleUnreconciledElement in class XSDConcreteComponentImpl

handleReconciliation

protected void handleReconciliation(java.util.List newContents,
                                    java.util.List remainingContents)
Overrides:
handleReconciliation in class XSDConcreteComponentImpl

changeAttribute

protected void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
Overrides:
changeAttribute in class XSDFeatureImpl

changeReference

protected void changeReference(com.ibm.etools.emf.ref.RefReference refReference)
Overrides:
changeReference in class XSDConcreteComponentImpl

adoptContent

protected void adoptContent(com.ibm.etools.emf.ref.RefReference refReference,
                            XSDConcreteComponent xsdConcreteComponent)
Overrides:
adoptContent in class XSDConcreteComponentImpl

orphanContent

protected void orphanContent(com.ibm.etools.emf.ref.RefReference refReference,
                             XSDConcreteComponent xsdConcreteComponent)
Overrides:
orphanContent in class XSDConcreteComponentImpl

isAttributeDeclarationReference

public boolean isAttributeDeclarationReference()
Description copied from interface: XSDAttributeDeclaration
Returns whether the object is 'Attribute Declaration Reference'.
Specified by:
isAttributeDeclarationReference in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
whether the object is 'Attribute Declaration Reference'.
See Also:
XSDAttributeDeclaration.getAttributeDeclarationReference()

getAnnotation

public XSDAnnotation getAnnotation()
Specified by:
getAnnotation in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
the value of the 'Annotation' reference.
See Also:
XSDAttributeDeclaration.isSetAnnotation(), XSDAttributeDeclaration.unsetAnnotation(), XSDAttributeDeclaration.setAnnotation(XSDAnnotation), XSDPackage.getXSDAttributeDeclaration_Annotation()

setAnnotation

public void setAnnotation(XSDAnnotation value)
Specified by:
setAnnotation in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Parameters:
value - the new value of the 'Annotation' reference.
See Also:
XSDAttributeDeclaration.isSetAnnotation(), XSDAttributeDeclaration.unsetAnnotation(), XSDAttributeDeclaration.getAnnotation()

unsetAnnotation

public void unsetAnnotation()
Specified by:
unsetAnnotation in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
See Also:
XSDAttributeDeclaration.isSetAnnotation(), XSDAttributeDeclaration.getAnnotation(), XSDAttributeDeclaration.setAnnotation(XSDAnnotation)

isSetAnnotation

public boolean isSetAnnotation()
Specified by:
isSetAnnotation in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
whether the value of the 'Annotation' reference is set.
See Also:
XSDAttributeDeclaration.unsetAnnotation(), XSDAttributeDeclaration.getAnnotation(), XSDAttributeDeclaration.setAnnotation(XSDAnnotation)

getAnonymousTypeDefinition

public XSDSimpleTypeDefinition getAnonymousTypeDefinition()
Specified by:
getAnonymousTypeDefinition in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
the value of the 'Anonymous Type Definition' reference.
See Also:
XSDAttributeDeclaration.isSetAnonymousTypeDefinition(), XSDAttributeDeclaration.unsetAnonymousTypeDefinition(), XSDAttributeDeclaration.setAnonymousTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDAttributeDeclaration_AnonymousTypeDefinition()

setAnonymousTypeDefinition

public void setAnonymousTypeDefinition(XSDSimpleTypeDefinition value)
Specified by:
setAnonymousTypeDefinition in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Parameters:
value - the new value of the 'Anonymous Type Definition' reference.
See Also:
XSDAttributeDeclaration.isSetAnonymousTypeDefinition(), XSDAttributeDeclaration.unsetAnonymousTypeDefinition(), XSDAttributeDeclaration.getAnonymousTypeDefinition()

unsetAnonymousTypeDefinition

public void unsetAnonymousTypeDefinition()
Specified by:
unsetAnonymousTypeDefinition in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
See Also:
XSDAttributeDeclaration.isSetAnonymousTypeDefinition(), XSDAttributeDeclaration.getAnonymousTypeDefinition(), XSDAttributeDeclaration.setAnonymousTypeDefinition(XSDSimpleTypeDefinition)

isSetAnonymousTypeDefinition

public boolean isSetAnonymousTypeDefinition()
Specified by:
isSetAnonymousTypeDefinition in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
whether the value of the 'Anonymous Type Definition' reference is set.
See Also:
XSDAttributeDeclaration.unsetAnonymousTypeDefinition(), XSDAttributeDeclaration.getAnonymousTypeDefinition(), XSDAttributeDeclaration.setAnonymousTypeDefinition(XSDSimpleTypeDefinition)

getTypeDefinition

public XSDSimpleTypeDefinition getTypeDefinition()
Specified by:
getTypeDefinition in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
the value of the 'Type Definition' reference.
See Also:
XSDAttributeDeclaration.isSetTypeDefinition(), XSDAttributeDeclaration.unsetTypeDefinition(), XSDAttributeDeclaration.setTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDAttributeDeclaration_TypeDefinition()

setTypeDefinition

public void setTypeDefinition(XSDSimpleTypeDefinition value)
Specified by:
setTypeDefinition in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Parameters:
value - the new value of the 'Type Definition' reference.
See Also:
XSDAttributeDeclaration.isSetTypeDefinition(), XSDAttributeDeclaration.unsetTypeDefinition(), XSDAttributeDeclaration.getTypeDefinition()

unsetTypeDefinition

public void unsetTypeDefinition()
Specified by:
unsetTypeDefinition in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
See Also:
XSDAttributeDeclaration.isSetTypeDefinition(), XSDAttributeDeclaration.getTypeDefinition(), XSDAttributeDeclaration.setTypeDefinition(XSDSimpleTypeDefinition)

isSetTypeDefinition

public boolean isSetTypeDefinition()
Specified by:
isSetTypeDefinition in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
whether the value of the 'Type Definition' reference is set.
See Also:
XSDAttributeDeclaration.unsetTypeDefinition(), XSDAttributeDeclaration.getTypeDefinition(), XSDAttributeDeclaration.setTypeDefinition(XSDSimpleTypeDefinition)

getResolvedAttributeDeclaration

public XSDAttributeDeclaration getResolvedAttributeDeclaration()
Specified by:
getResolvedAttributeDeclaration in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
the value of the 'Resolved Attribute Declaration' reference.
See Also:
XSDAttributeDeclaration.isSetResolvedAttributeDeclaration(), XSDAttributeDeclaration.unsetResolvedAttributeDeclaration(), XSDAttributeDeclaration.setResolvedAttributeDeclaration(XSDAttributeDeclaration), XSDPackage.getXSDAttributeDeclaration_ResolvedAttributeDeclaration()

setResolvedAttributeDeclaration

public void setResolvedAttributeDeclaration(XSDAttributeDeclaration value)
Specified by:
setResolvedAttributeDeclaration in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Parameters:
value - the new value of the 'Resolved Attribute Declaration' reference.
See Also:
XSDAttributeDeclaration.isSetResolvedAttributeDeclaration(), XSDAttributeDeclaration.unsetResolvedAttributeDeclaration(), XSDAttributeDeclaration.getResolvedAttributeDeclaration()

unsetResolvedAttributeDeclaration

public void unsetResolvedAttributeDeclaration()
Specified by:
unsetResolvedAttributeDeclaration in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
See Also:
XSDAttributeDeclaration.isSetResolvedAttributeDeclaration(), XSDAttributeDeclaration.getResolvedAttributeDeclaration(), XSDAttributeDeclaration.setResolvedAttributeDeclaration(XSDAttributeDeclaration)

isSetResolvedAttributeDeclaration

public boolean isSetResolvedAttributeDeclaration()
Specified by:
isSetResolvedAttributeDeclaration in interface XSDAttributeDeclaration
Following copied from interface: com.ibm.etools.xsd.XSDAttributeDeclaration
Returns:
whether the value of the 'Resolved Attribute Declaration' reference is set.
See Also:
XSDAttributeDeclaration.unsetResolvedAttributeDeclaration(), XSDAttributeDeclaration.getResolvedAttributeDeclaration(), XSDAttributeDeclaration.setResolvedAttributeDeclaration(XSDAttributeDeclaration)

refValue

public java.lang.Object refValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Specified by:
refValue in interface com.ibm.etools.emf.ref.RefObject
Overrides:
refValue in class XSDFeatureImpl

refBasicValue

public java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Overrides:
refBasicValue in class XSDFeatureImpl

refIsSet

public boolean refIsSet(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Specified by:
refIsSet in interface com.ibm.etools.emf.ref.RefObject
Overrides:
refIsSet in class XSDFeatureImpl

refSetValue

public void refSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
                        java.lang.Object newValue)
Specified by:
refSetValue in interface com.ibm.etools.emf.ref.RefObject
Overrides:
refSetValue in class XSDFeatureImpl

refBasicSetValue

public com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
                                                               java.lang.Object newValue)
Overrides:
refBasicSetValue in class XSDFeatureImpl

refUnsetValue

public void refUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Specified by:
refUnsetValue in interface com.ibm.etools.emf.ref.RefObject
Overrides:
refUnsetValue in class XSDFeatureImpl

refBasicUnsetValue

public com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Overrides:
refBasicUnsetValue in class XSDFeatureImpl

toString

public java.lang.String toString()
Overrides:
toString in class XSDFeatureImpl

getXSDSchemaContentDelegate

protected XSDSchemaContentImpl getXSDSchemaContentDelegate()

eClassXSDSchemaContent

public com.ibm.etools.emf.ecore.EClass eClassXSDSchemaContent()
Specified by:
eClassXSDSchemaContent in interface XSDSchemaContent
Following copied from interface: com.ibm.etools.xsd.XSDSchemaContent
Returns:
the meta class.
See Also:
XSDPackage.getXSDSchemaContent(), XSDConcreteComponent.ePackageXSD()

getQName

public java.lang.String getQName()
Description copied from interface: XSDNamedComponent
Returns the value of the 'QName' attribute.

This concrete attribute is equivalent to

  xsdNamedComponent.getQName(xsdNamedComponent}

Specified by:
getQName in interface XSDNamedComponent
Overrides:
getQName in class XSDNamedComponentImpl
Following copied from interface: com.ibm.etools.xsd.XSDNamedComponent
Returns:
the value of the 'QName' attribute.
See Also:
XSDNamedComponent.getQName(com.ibm.etools.xsd.XSDConcreteComponent), XSDPackage.getXSDNamedComponent_QName()

isNamedComponentReference

public boolean isNamedComponentReference()
Overrides:
isNamedComponentReference in class XSDNamedComponentImpl

getResolvedNamedComponent

public XSDNamedComponent getResolvedNamedComponent()
Overrides:
getResolvedNamedComponent in class XSDNamedComponentImpl

isFeatureReference

public boolean isFeatureReference()
Description copied from interface: XSDFeature
Returns whether the object is 'Feature Reference'.
Specified by:
isFeatureReference in interface XSDFeature
Overrides:
isFeatureReference in class XSDFeatureImpl
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
whether the object is 'Feature Reference'.
See Also:
XSDFeature.getFeatureReference()

getResolvedFeature

public XSDFeature getResolvedFeature()
Description copied from interface: XSDFeature
Returns the value of the 'Resolved Feature' reference.

This is the same result as either the 'Resolved Element Declaration' reference or the 'Resolved Attribute Declaration' reference.

Specified by:
getResolvedFeature in interface XSDFeature
Overrides:
getResolvedFeature in class XSDFeatureImpl
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Resolved Feature' reference.
See Also:
XSDPackage.getXSDFeature_ResolvedFeature()

getType

public XSDTypeDefinition getType()
Description copied from interface: XSDFeature
Returns the value of the 'Type' reference.

This is the same result as either the element 'Type Definition' reference or the attribute 'Type Definition' reference.

Specified by:
getType in interface XSDFeature
Overrides:
getType in class XSDFeatureImpl
Following copied from interface: com.ibm.etools.xsd.XSDFeature
Returns:
the value of the 'Type' reference.
See Also:
XSDPackage.getXSDFeature_Type()

cloneConcreteComponent

public XSDConcreteComponent cloneConcreteComponent(boolean deep,
                                                   boolean shareDOM)
Description copied from interface: XSDConcreteComponent
Creates a clone of the component. The clone may be deep and may share the DOM of this component.
Specified by:
cloneConcreteComponent in interface XSDConcreteComponent
Overrides:
cloneConcreteComponent in class XSDConcreteComponentImpl
Following copied from interface: com.ibm.etools.xsd.XSDConcreteComponent
Parameters:
deep - whether the clone should be deep.
shareDOM - whether the clone should share the original DOM
Returns:
a clone of the component.