public abstract class XSDTypeDefinitionImpl extends XSDRedefinableComponentImpl implements XSDTypeDefinition
The following features are implemented:
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator, XSDNamedComponentImpl.XSDNamedComponentList<E extends java.lang.Object & XSDNamedComponent>
XSDConcreteComponentImpl.XSDContentsEList
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected int |
analysisState |
protected XSDAnnotation |
annotation
The cached value of the '
Annotation ' containment reference. |
protected EList<XSDAnnotation> |
annotations
The cached value of the '
Annotations ' reference list. |
protected XSDAnnotation |
derivationAnnotation
The cached value of the '
Derivation Annotation ' containment reference. |
CIRCULAR_EDEFAULT
ALIAS_NAME_EDEFAULT, ALIAS_URI_EDEFAULT, name, NAME_EDEFAULT, QNAME_EDEFAULT, TARGET_NAMESPACE_EDEFAULT, targetNamespace, URI_EDEFAULT
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, forceResolve, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
XSDTypeDefinitionImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
analyze() |
NotificationChain |
basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs) |
NotificationChain |
basicSetDerivationAnnotation(XSDAnnotation newDerivationAnnotation,
NotificationChain msgs) |
static XSDTypeDefinition |
createTypeDefinition(org.w3c.dom.Node node) |
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() |
EList<XSDAnnotation> |
getAnnotations() |
XSDTypeDefinition |
getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition,
boolean extension,
boolean restriction)
|
XSDTypeDefinition |
getBaseType()
Returns the value of the 'Base Type' reference.
|
XSDParticle |
getComplexType() |
XSDAnnotation |
getDerivationAnnotation() |
static XSDTypeDefinition |
getLowestCommonAncestor(java.util.Collection<? extends XSDTypeDefinition> xsdTypeDefinitions) |
XSDTypeDefinition |
getRootType()
Returns the value of the 'Root Type' reference.
|
XSDSimpleTypeDefinition |
getSimpleType()
Returns the value of the 'Simple Type' reference.
|
protected void |
handleAnalysis() |
boolean |
isCircular() |
protected void |
patch() |
void |
setAnnotation(XSDAnnotation newAnnotation) |
void |
setDerivationAnnotation(XSDAnnotation newDerivationAnnotation) |
protected void |
traverseToRootForAnalysis() |
getCircular
addToSortedList, adoptBy, changeAttribute, findInSortedList, getAliasName, getAliasURI, getName, getQName, getQName, getResolvedNamedComponent, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, isNamedComponentReference, mergeToSortedList, patchTargetNamespaceAttribute, patchTargetNamespaceAttribute, reconcileAttributes, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents, toString
adoptContent, adoptDiagnostic, changeReference, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponent, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, convertToBoolean, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, createElement, 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, handleReconciliation, handleUnreconciledElement, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, 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, traverseToRootForPatching, updateElement, updateElement, updatePrefix, validate
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
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
eBasicAdapterArray, eBasicHasAdapters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace
clearDiagnostics, cloneConcreteComponent, 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, validate
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
protected XSDAnnotation annotation
Annotation
' containment reference.
getAnnotation()
protected XSDAnnotation derivationAnnotation
Derivation Annotation
' containment reference.
getDerivationAnnotation()
protected EList<XSDAnnotation> annotations
Annotations
' reference list.
getAnnotations()
protected int analysisState
public static XSDTypeDefinition createTypeDefinition(org.w3c.dom.Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDRedefinableComponentImpl
public XSDAnnotation getAnnotation()
getAnnotation
in interface XSDTypeDefinition
XSDTypeDefinition.setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDTypeDefinition_Annotation()
public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation
in interface XSDTypeDefinition
newAnnotation
- the new value of the 'Annotation' containment reference.XSDTypeDefinition.getAnnotation()
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation, NotificationChain msgs)
public XSDAnnotation getDerivationAnnotation()
getDerivationAnnotation
in interface XSDTypeDefinition
XSDTypeDefinition.setDerivationAnnotation(XSDAnnotation)
,
XSDPackage.getXSDTypeDefinition_DerivationAnnotation()
public void setDerivationAnnotation(XSDAnnotation newDerivationAnnotation)
setDerivationAnnotation
in interface XSDTypeDefinition
newDerivationAnnotation
- the new value of the 'Derivation Annotation' containment reference.XSDTypeDefinition.getDerivationAnnotation()
public NotificationChain basicSetDerivationAnnotation(XSDAnnotation newDerivationAnnotation, NotificationChain msgs)
public EList<XSDAnnotation> getAnnotations()
getAnnotations
in interface XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_Annotations()
protected void patch()
patch
in class XSDNamedComponentImpl
protected void traverseToRootForAnalysis()
traverseToRootForAnalysis
in class XSDConcreteComponentImpl
protected boolean analyze()
analyze
in class XSDConcreteComponentImpl
protected void handleAnalysis()
public static XSDTypeDefinition getLowestCommonAncestor(java.util.Collection<? extends XSDTypeDefinition> xsdTypeDefinitions)
public XSDTypeDefinition getBaseType()
XSDTypeDefinition
This represents the same result as either
the simple 'Base Type Definition
' reference or
the complex 'Base Type Definition
' reference.
getBaseType
in interface XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_BaseType()
public XSDTypeDefinition getRootType()
XSDTypeDefinition
This walks the base types
until it hits that one that has the ur-type definition as it's base type.
getRootType
in interface XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_RootType()
public XSDSimpleTypeDefinition getSimpleType()
XSDTypeDefinition
This represents either
the 'Simple Type Definition
' itself or
the complex 'Content Type
' reference,
if it is simple
.
getSimpleType
in interface XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_SimpleType()
public XSDParticle getComplexType()
getComplexType
in interface XSDTypeDefinition
XSDPackage.getXSDTypeDefinition_ComplexType()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class XSDConcreteComponentImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XSDRedefinableComponentImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDNamedComponentImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDNamedComponentImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDRedefinableComponentImpl
EObject.eIsSet(EStructuralFeature)
public boolean isCircular()
XSDRedefinableComponentImpl
isCircular
in interface XSDRedefinableComponent
isCircular
in class XSDRedefinableComponentImpl
XSDPackage.getXSDRedefinableComponent_Circular()
public XSDTypeDefinition getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition, boolean extension, boolean restriction)
XSDTypeDefinition
null
if the derivation is valid;
the result is the UR-type
,
if this type is not related to the given type;
otherwise, the result is the base with the blocked derivation method.getBadTypeDerivation
in interface XSDTypeDefinition