org.eclipse.xsd.impl
Class XSDAttributeDeclarationImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.xsd.impl.XSDConcreteComponentImpl
                  extended by org.eclipse.xsd.impl.XSDComponentImpl
                      extended by org.eclipse.xsd.impl.XSDNamedComponentImpl
                          extended by org.eclipse.xsd.impl.XSDFeatureImpl
                              extended by org.eclipse.xsd.impl.XSDAttributeDeclarationImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, XSDAttributeDeclaration, XSDComponent, XSDConcreteComponent, XSDFeature, XSDNamedComponent, XSDSchemaContent

public class XSDAttributeDeclarationImpl
extends XSDFeatureImpl
implements XSDAttributeDeclaration

An implementation of the model object 'Attribute Declaration'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator, XSDNamedComponentImpl.XSDNamedComponentList<E extends java.lang.Object & XSDNamedComponent>
 
Nested classes/interfaces inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl
XSDConcreteComponentImpl.XSDContentsEList
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  XSDAnnotation annotation
          The cached value of the 'Annotation' containment reference
protected  XSDSimpleTypeDefinition anonymousTypeDefinition
          The cached value of the 'Anonymous Type Definition' containment reference
protected static boolean ATTRIBUTE_DECLARATION_REFERENCE_EDEFAULT
          The default value of the 'Attribute Declaration Reference' attribute
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 org.eclipse.xsd.impl.XSDFeatureImpl
constraint, CONSTRAINT_EDEFAULT, CONSTRAINT_ESETFLAG, FEATURE_REFERENCE_EDEFAULT, form, FORM_EDEFAULT, FORM_ESETFLAG, GLOBAL_EDEFAULT, LEXICAL_VALUE_EDEFAULT, lexicalValue, value, VALUE_EDEFAULT
 
Fields inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl
ALIAS_NAME_EDEFAULT, ALIAS_URI_EDEFAULT, name, NAME_EDEFAULT, QNAME_EDEFAULT, TARGET_NAMESPACE_EDEFAULT, targetNamespace, URI_EDEFAULT
 
Fields inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, forceResolve, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected XSDAttributeDeclarationImpl()
           
 
Method Summary
protected  void adoptContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
           
protected  boolean analyze()
           
 NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation, NotificationChain msgs)
           
 NotificationChain basicSetAnonymousTypeDefinition(XSDSimpleTypeDefinition newAnonymousTypeDefinition, NotificationChain msgs)
           
protected  void changeAttribute(EAttribute eAttribute)
           
protected  void changeReference(EReference eReference)
           
 XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
          Creates a clone of the component.
static XSDAttributeDeclaration createAttributeDeclaration(org.w3c.dom.Node node)
           
 org.w3c.dom.Element createElement()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 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  void handleReconciliation(java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
           
protected  void handleUnreconciledElement(org.w3c.dom.Element child, java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
           
 boolean isAttributeDeclarationReference()
          Returns the value of the 'Attribute Declaration Reference' attribute
 boolean isFeatureReference()
          Returns the value of the 'Feature Reference' attribute
 boolean isNamedComponentReference()
           
protected  void orphanContent(EReference eReference, XSDConcreteComponent xsdConcreteComponent)
           
protected  void patch()
           
protected  void patchTargetNamespaceAttribute()
           
protected  void reconcileAttributes(org.w3c.dom.Element changedElement)
           
protected  void reconcileNameAttribute()
           
 void setAnnotation(XSDAnnotation newAnnotation)
           
 void setAnonymousTypeDefinition(XSDSimpleTypeDefinition newAnonymousTypeDefinition)
           
 void setResolvedAttributeDeclaration(XSDAttributeDeclaration newResolvedAttributeDeclaration)
           
 void setTypeDefinition(XSDSimpleTypeDefinition newTypeDefinition)
          Sets the value of the 'Type Definition' reference
 void setTypeDefinitionGen(XSDSimpleTypeDefinition newTypeDefinition)
           
 void validate()
          Validates whether this component conforms to the constraints defined in the XML Schema standard.
 
Methods inherited from class org.eclipse.xsd.impl.XSDFeatureImpl
getConstraint, getFeatureReference, getForm, getGlobal, getLexicalValue, getScope, getValue, isGlobal, isSetConstraint, isSetForm, isUpdatingDOM, setConstraint, setForm, setLexicalValue, setValue, toString, unsetConstraint, unsetForm
 
Methods inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl
addToSortedList, adoptBy, findInSortedList, getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, mergeToSortedList, setName, setTargetNamespace, sortNamedComponents
 
Methods inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl
adoptDiagnostic, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, elementAttributesChanged, elementChanged, elementContentsChanged, eNotificationRequired, eNotify, eObjectForURIFragmentSegment, eURIFragmentSegment, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getDiagnosticTarget, getElement, getRootContainer, getSchema, getXSDConcreteComponentImpls, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanDiagnostic, populateDiagnostic, printDFA, reconcile, reconcileContents, reportConstraintViolation, reset, 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, traverseToRootForAnalysis, traverseToRootForPatching, updateElement, updateElement, updatePrefix
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.xsd.XSDFeature
getConstraint, getForm, getLexicalValue, getScope, getValue, isGlobal, isSetConstraint, isSetForm, setConstraint, setForm, setLexicalValue, setValue, unsetConstraint, unsetForm
 
Methods inherited from interface org.eclipse.xsd.XSDNamedComponent
getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace
 
Methods inherited from interface org.eclipse.xsd.XSDConcreteComponent
clearDiagnostics, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, 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, updateElement, updateElement
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

ATTRIBUTE_DECLARATION_REFERENCE_EDEFAULT

protected static final boolean ATTRIBUTE_DECLARATION_REFERENCE_EDEFAULT
The default value of the 'Attribute Declaration Reference' attribute.

See Also:
isAttributeDeclarationReference(), Constant Field Values

annotation

protected XSDAnnotation annotation
The cached value of the 'Annotation' containment reference.

See Also:
getAnnotation()

anonymousTypeDefinition

protected XSDSimpleTypeDefinition anonymousTypeDefinition
The cached value of the 'Anonymous Type Definition' containment 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

createAttributeDeclaration

public static XSDAttributeDeclaration createAttributeDeclaration(org.w3c.dom.Node node)

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class XSDFeatureImpl

getAttributeDeclarationReference

public java.lang.Boolean getAttributeDeclarationReference()


createElement

public org.w3c.dom.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. The effect of calling this for a component not directly or indirectly contained by a schema is undefined, and is likely to result in null pointer exceptions.

Specified by:
validate in interface XSDConcreteComponent
Overrides:
validate in class XSDConcreteComponentImpl
See Also:
XSDConcreteComponent.getDiagnostics(), XSDConcreteComponent.clearDiagnostics()

reconcileAttributes

protected void reconcileAttributes(org.w3c.dom.Element changedElement)
Overrides:
reconcileAttributes in class XSDFeatureImpl

reconcileNameAttribute

protected void reconcileNameAttribute()
Overrides:
reconcileNameAttribute in class XSDNamedComponentImpl

handleUnreconciledElement

protected void handleUnreconciledElement(org.w3c.dom.Element child,
                                         java.util.List<XSDConcreteComponent> newContents,
                                         java.util.List<XSDConcreteComponent> remainingContents)
Overrides:
handleUnreconciledElement in class XSDConcreteComponentImpl

handleReconciliation

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

changeAttribute

protected void changeAttribute(EAttribute eAttribute)
Overrides:
changeAttribute in class XSDFeatureImpl

changeReference

protected void changeReference(EReference eReference)
Overrides:
changeReference in class XSDConcreteComponentImpl

adoptContent

protected void adoptContent(EReference eReference,
                            XSDConcreteComponent xsdConcreteComponent)
Overrides:
adoptContent in class XSDConcreteComponentImpl

orphanContent

protected void orphanContent(EReference eReference,
                             XSDConcreteComponent xsdConcreteComponent)
Overrides:
orphanContent in class XSDConcreteComponentImpl

isAttributeDeclarationReference

public boolean isAttributeDeclarationReference()
Description copied from interface: XSDAttributeDeclaration
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.

Specified by:
isAttributeDeclarationReference in interface XSDAttributeDeclaration
Returns:
the value of the 'Attribute Declaration Reference' attribute.
See Also:
XSDPackage.getXSDAttributeDeclaration_AttributeDeclarationReference()

getAnnotation

public XSDAnnotation getAnnotation()

Specified by:
getAnnotation in interface XSDAttributeDeclaration
Returns:
the value of the 'Annotation' containment reference.
See Also:
XSDAttributeDeclaration.setAnnotation(XSDAnnotation), XSDPackage.getXSDAttributeDeclaration_Annotation()

setAnnotation

public void setAnnotation(XSDAnnotation newAnnotation)

Specified by:
setAnnotation in interface XSDAttributeDeclaration
Parameters:
newAnnotation - the new value of the 'Annotation' containment reference.
See Also:
XSDAttributeDeclaration.getAnnotation()

basicSetAnnotation

public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation,
                                            NotificationChain msgs)


getAnonymousTypeDefinition

public XSDSimpleTypeDefinition getAnonymousTypeDefinition()

Specified by:
getAnonymousTypeDefinition in interface XSDAttributeDeclaration
Returns:
the value of the 'Anonymous Type Definition' containment reference.
See Also:
XSDAttributeDeclaration.setAnonymousTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDAttributeDeclaration_AnonymousTypeDefinition()

setAnonymousTypeDefinition

public void setAnonymousTypeDefinition(XSDSimpleTypeDefinition newAnonymousTypeDefinition)

Specified by:
setAnonymousTypeDefinition in interface XSDAttributeDeclaration
Parameters:
newAnonymousTypeDefinition - the new value of the 'Anonymous Type Definition' containment reference.
See Also:
XSDAttributeDeclaration.getAnonymousTypeDefinition()

basicSetAnonymousTypeDefinition

public NotificationChain basicSetAnonymousTypeDefinition(XSDSimpleTypeDefinition newAnonymousTypeDefinition,
                                                         NotificationChain msgs)


getTypeDefinition

public XSDSimpleTypeDefinition getTypeDefinition()

Specified by:
getTypeDefinition in interface XSDAttributeDeclaration
Returns:
the value of the 'Type Definition' reference.
See Also:
XSDAttributeDeclaration.setTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDAttributeDeclaration_TypeDefinition()

setTypeDefinitionGen

public void setTypeDefinitionGen(XSDSimpleTypeDefinition newTypeDefinition)


setTypeDefinition

public void setTypeDefinition(XSDSimpleTypeDefinition newTypeDefinition)
Description copied from interface: XSDAttributeDeclaration
Sets the value of the 'Type Definition' reference.

Specified by:
setTypeDefinition in interface XSDAttributeDeclaration
Parameters:
newTypeDefinition - the new value of the 'Type Definition' reference.
See Also:
XSDAttributeDeclaration.getTypeDefinition()

getResolvedAttributeDeclaration

public XSDAttributeDeclaration getResolvedAttributeDeclaration()

Specified by:
getResolvedAttributeDeclaration in interface XSDAttributeDeclaration
Returns:
the value of the 'Resolved Attribute Declaration' reference.
See Also:
XSDAttributeDeclaration.setResolvedAttributeDeclaration(XSDAttributeDeclaration), XSDPackage.getXSDAttributeDeclaration_ResolvedAttributeDeclaration()

setResolvedAttributeDeclaration

public void setResolvedAttributeDeclaration(XSDAttributeDeclaration newResolvedAttributeDeclaration)

Specified by:
setResolvedAttributeDeclaration in interface XSDAttributeDeclaration
Parameters:
newResolvedAttributeDeclaration - the new value of the 'Resolved Attribute Declaration' reference.
See Also:
XSDAttributeDeclaration.getResolvedAttributeDeclaration()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class XSDConcreteComponentImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class XSDFeatureImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class XSDFeatureImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class XSDFeatureImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class XSDFeatureImpl

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
Returns:
the value of the 'QName' attribute.
See Also:
XSDNamedComponent.getQName(org.eclipse.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 the value of the 'Feature Reference' attribute.

This is the same result as either the 'Element Reference' attribute or the 'Attribute Reference' attribute.

Specified by:
isFeatureReference in interface XSDFeature
Overrides:
isFeatureReference in class XSDFeatureImpl
Returns:
the value of the 'Feature Reference' attribute.
See Also:
XSDPackage.getXSDFeature_FeatureReference()

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
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
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
Parameters:
deep - whether the clone should be deep.
shareDOM - whether the clone should share the original DOM
Returns:
a clone of the component.

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.