org.eclipse.xsd.impl
Class XSDAttributeGroupDefinitionImpl

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.XSDRedefinableComponentImpl
                              extended by org.eclipse.xsd.impl.XSDAttributeGroupDefinitionImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, XSDAttributeGroupContent, XSDAttributeGroupDefinition, XSDComponent, XSDConcreteComponent, XSDNamedComponent, XSDRedefinableComponent, XSDRedefineContent, XSDSchemaContent

public class XSDAttributeGroupDefinitionImpl
extends XSDRedefinableComponentImpl
implements XSDAttributeGroupDefinition

An implementation of the model object 'Attribute Group Definition'.

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
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  int analysisState
           
protected  XSDAnnotation annotation
          The cached value of the 'Annotation' containment reference
protected static boolean ATTRIBUTE_GROUP_DEFINITION_REFERENCE_EDEFAULT
          The default value of the 'Attribute Group Definition Reference' attribute
protected  org.eclipse.emf.common.util.EList<XSDAttributeUse> attributeUses
          The cached value of the 'Attribute Uses' reference list
protected  XSDWildcard attributeWildcard
          The cached value of the 'Attribute Wildcard' reference
protected  XSDWildcard attributeWildcardContent
          The cached value of the 'Attribute Wildcard Content' containment reference
protected  org.eclipse.emf.common.util.EList<XSDAttributeGroupContent> contents
          The cached value of the 'Contents' containment reference list
protected  XSDWildcardImpl effectiveWildcard
           
protected  XSDAttributeGroupDefinition resolvedAttributeGroupDefinition
          The cached value of the 'Resolved Attribute Group Definition' reference
protected  XSDWildcard syntheticWildcard
          The cached value of the 'Synthetic Wildcard' containment reference
 
Fields inherited from class org.eclipse.xsd.impl.XSDRedefinableComponentImpl
CIRCULAR_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 XSDAttributeGroupDefinitionImpl()
           
 
Method Summary
protected  void adoptContent(org.eclipse.emf.ecore.EReference eReference, XSDConcreteComponent xsdConcreteComponent)
           
protected  boolean analyze()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetAttributeWildcardContent(XSDWildcard newAttributeWildcardContent, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard, org.eclipse.emf.common.notify.NotificationChain msgs)
           
protected  void changeReference(org.eclipse.emf.ecore.EReference eReference)
           
 XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
          Creates a clone of the component.
static XSDAttributeGroupDefinition createAttributeGroupDefinition(org.w3c.dom.Node node)
           
 org.w3c.dom.Element createElement()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 XSDAnnotation getAnnotation()
           
 java.lang.Boolean getAttributeGroupDefinitionReference()
           
 org.eclipse.emf.common.util.EList<XSDAttributeUse> getAttributeUses()
           
static java.util.List<XSDAttributeUse> getAttributeUses(java.util.Collection<XSDAttributeGroupContent> xsdAttributeGroupContents, java.util.Collection<XSDAttributeUse> xsdAttributeUses)
           
 XSDWildcard getAttributeWildcard()
           
static XSDWildcard getAttributeWildcard(XSDWildcard baseWildcard, XSDWildcard localWildcard, java.util.Collection<XSDAttributeGroupContent> xsdAttributeGroupContents)
           
 XSDWildcard getAttributeWildcardContent()
           
 org.eclipse.emf.common.util.EList<XSDAttributeGroupContent> getContents()
           
 java.lang.String getQName()
          Returns the value of the 'QName' attribute
 XSDAttributeGroupDefinition getResolvedAttributeGroupDefinition()
           
 XSDNamedComponent getResolvedNamedComponent()
           
 XSDWildcard getSyntheticWildcard()
           
protected  void handleAnalysis()
           
protected  void handleNewResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition)
           
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 isAttributeGroupDefinitionReference()
          Returns the value of the 'Attribute Group Definition Reference' attribute
 boolean isCircular()
           
 boolean isNamedComponentReference()
           
protected  void orphanContent(org.eclipse.emf.ecore.EReference eReference, XSDConcreteComponent xsdConcreteComponent)
           
protected  void patch()
           
protected  void patchTargetNamespaceAttribute(XSDSchema xsdSchema)
           
protected  void reconcileAttributes(org.w3c.dom.Element changedElement)
           
 void setAnnotation(XSDAnnotation newAnnotation)
           
 void setAttributeWildcard(XSDWildcard newAttributeWildcard)
           
 void setAttributeWildcardContent(XSDWildcard newAttributeWildcardContent)
           
 void setResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition)
           
 void setSyntheticWildcard(XSDWildcard newSyntheticWildcard)
           
 void validate()
          Validates whether this component conforms to the constraints defined in the XML Schema standard.
 
Methods inherited from class org.eclipse.xsd.impl.XSDRedefinableComponentImpl
getCircular
 
Methods inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl
addToSortedList, adoptBy, changeAttribute, findInSortedList, getAliasName, getAliasURI, getName, getQName, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, mergeToSortedList, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents, toString
 
Methods inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl
adoptDiagnostic, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, convertToBoolean, 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, isUpdatingDOM, 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, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

ATTRIBUTE_GROUP_DEFINITION_REFERENCE_EDEFAULT

protected static final boolean ATTRIBUTE_GROUP_DEFINITION_REFERENCE_EDEFAULT
The default value of the 'Attribute Group Definition Reference' attribute.

See Also:
isAttributeGroupDefinitionReference(), Constant Field Values

annotation

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

See Also:
getAnnotation()

contents

protected org.eclipse.emf.common.util.EList<XSDAttributeGroupContent> contents
The cached value of the 'Contents' containment reference list.

See Also:
getContents()

attributeUses

protected org.eclipse.emf.common.util.EList<XSDAttributeUse> attributeUses
The cached value of the 'Attribute Uses' reference list.

See Also:
getAttributeUses()

attributeWildcardContent

protected XSDWildcard attributeWildcardContent
The cached value of the 'Attribute Wildcard Content' containment reference.

See Also:
getAttributeWildcardContent()

attributeWildcard

protected XSDWildcard attributeWildcard
The cached value of the 'Attribute Wildcard' reference.

See Also:
getAttributeWildcard()

resolvedAttributeGroupDefinition

protected XSDAttributeGroupDefinition resolvedAttributeGroupDefinition
The cached value of the 'Resolved Attribute Group Definition' reference.

See Also:
getResolvedAttributeGroupDefinition()

syntheticWildcard

protected XSDWildcard syntheticWildcard
The cached value of the 'Synthetic Wildcard' containment reference.

See Also:
getSyntheticWildcard()

analysisState

protected int analysisState

effectiveWildcard

protected XSDWildcardImpl effectiveWildcard
Constructor Detail

XSDAttributeGroupDefinitionImpl

protected XSDAttributeGroupDefinitionImpl()

Method Detail

createAttributeGroupDefinition

public static XSDAttributeGroupDefinition createAttributeGroupDefinition(org.w3c.dom.Node node)

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class XSDRedefinableComponentImpl

getAttributeGroupDefinitionReference

public java.lang.Boolean getAttributeGroupDefinitionReference()


createElement

public org.w3c.dom.Element createElement()
Overrides:
createElement in class XSDConcreteComponentImpl

patch

protected void patch()
Overrides:
patch in class XSDNamedComponentImpl

analyze

protected boolean analyze()
Overrides:
analyze in class XSDConcreteComponentImpl

handleAnalysis

protected void handleAnalysis()

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()

getAttributeUses

public static java.util.List<XSDAttributeUse> getAttributeUses(java.util.Collection<XSDAttributeGroupContent> xsdAttributeGroupContents,
                                                               java.util.Collection<XSDAttributeUse> xsdAttributeUses)

getAttributeWildcard

public static XSDWildcard getAttributeWildcard(XSDWildcard baseWildcard,
                                               XSDWildcard localWildcard,
                                               java.util.Collection<XSDAttributeGroupContent> xsdAttributeGroupContents)

patchTargetNamespaceAttribute

protected void patchTargetNamespaceAttribute(XSDSchema xsdSchema)
Overrides:
patchTargetNamespaceAttribute in class XSDNamedComponentImpl

reconcileAttributes

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

handleNewResolvedAttributeGroupDefinition

protected void handleNewResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition)

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

changeReference

protected void changeReference(org.eclipse.emf.ecore.EReference eReference)
Overrides:
changeReference in class XSDConcreteComponentImpl

adoptContent

protected void adoptContent(org.eclipse.emf.ecore.EReference eReference,
                            XSDConcreteComponent xsdConcreteComponent)
Overrides:
adoptContent in class XSDConcreteComponentImpl

orphanContent

protected void orphanContent(org.eclipse.emf.ecore.EReference eReference,
                             XSDConcreteComponent xsdConcreteComponent)
Overrides:
orphanContent in class XSDConcreteComponentImpl

isAttributeGroupDefinitionReference

public boolean isAttributeGroupDefinitionReference()
Description copied from interface: XSDAttributeGroupDefinition
Returns the value of the 'Attribute Group Definition Reference' attribute.

This concrete attribute is equivalent to

  xsdAttributeGroupDefinition != xsdAttributeGroupDefinition.getResolvedAttributeGroupDefinition()
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 group definition with a ref attribute.

Specified by:
isAttributeGroupDefinitionReference in interface XSDAttributeGroupDefinition
Returns:
the value of the 'Attribute Group Definition Reference' attribute.
See Also:
XSDPackage.getXSDAttributeGroupDefinition_AttributeGroupDefinitionReference()

getAnnotation

public XSDAnnotation getAnnotation()

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

setAnnotation

public void setAnnotation(XSDAnnotation newAnnotation)

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

basicSetAnnotation

public org.eclipse.emf.common.notify.NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


getContents

public org.eclipse.emf.common.util.EList<XSDAttributeGroupContent> getContents()

Specified by:
getContents in interface XSDAttributeGroupDefinition
Returns:
the value of the 'Contents' containment reference list.
See Also:
XSDPackage.getXSDAttributeGroupDefinition_Contents()

getAttributeUses

public org.eclipse.emf.common.util.EList<XSDAttributeUse> getAttributeUses()

Specified by:
getAttributeUses in interface XSDAttributeGroupDefinition
Returns:
the value of the 'Attribute Uses' reference list.
See Also:
XSDPackage.getXSDAttributeGroupDefinition_AttributeUses()

getAttributeWildcardContent

public XSDWildcard getAttributeWildcardContent()

Specified by:
getAttributeWildcardContent in interface XSDAttributeGroupDefinition
Returns:
the value of the 'Attribute Wildcard Content' containment reference.
See Also:
XSDAttributeGroupDefinition.setAttributeWildcardContent(XSDWildcard), XSDPackage.getXSDAttributeGroupDefinition_AttributeWildcardContent()

setAttributeWildcardContent

public void setAttributeWildcardContent(XSDWildcard newAttributeWildcardContent)

Specified by:
setAttributeWildcardContent in interface XSDAttributeGroupDefinition
Parameters:
newAttributeWildcardContent - the new value of the 'Attribute Wildcard Content' containment reference.
See Also:
XSDAttributeGroupDefinition.getAttributeWildcardContent()

basicSetAttributeWildcardContent

public org.eclipse.emf.common.notify.NotificationChain basicSetAttributeWildcardContent(XSDWildcard newAttributeWildcardContent,
                                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)


getAttributeWildcard

public XSDWildcard getAttributeWildcard()

Specified by:
getAttributeWildcard in interface XSDAttributeGroupDefinition
Returns:
the value of the 'Attribute Wildcard' reference.
See Also:
XSDAttributeGroupDefinition.setAttributeWildcard(XSDWildcard), XSDPackage.getXSDAttributeGroupDefinition_AttributeWildcard()

setAttributeWildcard

public void setAttributeWildcard(XSDWildcard newAttributeWildcard)

Specified by:
setAttributeWildcard in interface XSDAttributeGroupDefinition
Parameters:
newAttributeWildcard - the new value of the 'Attribute Wildcard' reference.
See Also:
XSDAttributeGroupDefinition.getAttributeWildcard()

getResolvedAttributeGroupDefinition

public XSDAttributeGroupDefinition getResolvedAttributeGroupDefinition()

Specified by:
getResolvedAttributeGroupDefinition in interface XSDAttributeGroupDefinition
Returns:
the value of the 'Resolved Attribute Group Definition' reference.
See Also:
XSDAttributeGroupDefinition.setResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition), XSDPackage.getXSDAttributeGroupDefinition_ResolvedAttributeGroupDefinition()

setResolvedAttributeGroupDefinition

public void setResolvedAttributeGroupDefinition(XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition)

Specified by:
setResolvedAttributeGroupDefinition in interface XSDAttributeGroupDefinition
Parameters:
newResolvedAttributeGroupDefinition - the new value of the 'Resolved Attribute Group Definition' reference.
See Also:
XSDAttributeGroupDefinition.getResolvedAttributeGroupDefinition()

getSyntheticWildcard

public XSDWildcard getSyntheticWildcard()

Specified by:
getSyntheticWildcard in interface XSDAttributeGroupDefinition
Returns:
the value of the 'Synthetic Wildcard' containment reference.
See Also:
XSDAttributeGroupDefinition.setSyntheticWildcard(XSDWildcard), XSDPackage.getXSDAttributeGroupDefinition_SyntheticWildcard()

basicSetSyntheticWildcard

public org.eclipse.emf.common.notify.NotificationChain basicSetSyntheticWildcard(XSDWildcard newSyntheticWildcard,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)


setSyntheticWildcard

public void setSyntheticWildcard(XSDWildcard newSyntheticWildcard)

Specified by:
setSyntheticWildcard in interface XSDAttributeGroupDefinition
Parameters:
newSyntheticWildcard - the new value of the 'Synthetic Wildcard' containment reference.
See Also:
XSDAttributeGroupDefinition.getSyntheticWildcard()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class XSDConcreteComponentImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class XSDRedefinableComponentImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class XSDNamedComponentImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class XSDNamedComponentImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class XSDRedefinableComponentImpl

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

isCircular

public boolean isCircular()
Description copied from class: XSDRedefinableComponentImpl

Specified by:
isCircular in interface XSDRedefinableComponent
Overrides:
isCircular in class XSDRedefinableComponentImpl
Returns:
the value of the 'Circular' attribute.
See Also:
XSDPackage.getXSDRedefinableComponent_Circular()

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.