org.eclipse.xsd.impl
Class XSDIdentityConstraintDefinitionImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.xsd.impl.XSDConcreteComponentImpl
|
+--org.eclipse.xsd.impl.XSDComponentImpl
|
+--org.eclipse.xsd.impl.XSDNamedComponentImpl
|
+--org.eclipse.xsd.impl.XSDIdentityConstraintDefinitionImpl
- All Implemented Interfaces:
- org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, XSDComponent, XSDConcreteComponent, XSDIdentityConstraintDefinition, XSDNamedComponent
- public class XSDIdentityConstraintDefinitionImpl
- extends XSDNamedComponentImpl
- implements XSDIdentityConstraintDefinition
An implementation of the model object 'Identity Constraint Definition'.
The following features are implemented:
Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolderImpl |
Fields inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties |
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Method Summary |
protected void |
adoptBy(XSDSchema xsdSchema)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetAnnotation(XSDAnnotation newAnnotation,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetSelector(XSDXPathDefinition newSelector,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
protected void |
changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
|
protected void |
changeReference(org.eclipse.emf.ecore.EReference eReference)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
org.w3c.dom.Element |
createElement()
|
static XSDIdentityConstraintDefinition |
createIdentityConstraintDefinition(org.w3c.dom.Node node)
|
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
XSDAnnotation |
getAnnotation()
|
org.eclipse.emf.common.util.EList |
getFields()
|
XSDIdentityConstraintCategory |
getIdentityConstraintCategory()
|
XSDIdentityConstraintDefinition |
getReferencedKey()
|
XSDXPathDefinition |
getSelector()
|
protected void |
handleReconciliation(java.util.List newContents,
java.util.List remainingContents)
|
protected void |
handleUnreconciledElement(org.w3c.dom.Element child,
java.util.List newContents,
java.util.List remainingContents)
|
protected void |
orphanBy(XSDSchema xsdSchema)
|
protected void |
patch()
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
void |
setAnnotation(XSDAnnotation newAnnotation)
|
void |
setIdentityConstraintCategory(XSDIdentityConstraintCategory newIdentityConstraintCategory)
|
void |
setReferencedKey(XSDIdentityConstraintDefinition newReferencedKey)
|
void |
setSelector(XSDXPathDefinition newSelector)
|
java.lang.String |
toString()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
Methods inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
addToSortedList, findInSortedList, getAliasName, getAliasURI, getName, getQName, getQName, getResolvedNamedComponent, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, isNamedComponentReference, mergeToSortedList, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents |
Methods inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
adoptContent, adoptDiagnostic, analyze, 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, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanContent, orphanDiagnostic, printDFA, 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, traverseToRootForAnalysis, traverseToRootForPatching, updateElement, updateElement, updatePrefix |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, eDeliver, eSetDeliver |
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, 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, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
IDENTITY_CONSTRAINT_CATEGORY_EDEFAULT
protected static final XSDIdentityConstraintCategory IDENTITY_CONSTRAINT_CATEGORY_EDEFAULT
- The default value of the '
Identity Constraint Category
' attribute.
- See Also:
getIdentityConstraintCategory()
identityConstraintCategory
protected XSDIdentityConstraintCategory identityConstraintCategory
- The cached value of the '
Identity Constraint Category
' attribute.
- See Also:
getIdentityConstraintCategory()
annotation
protected XSDAnnotation annotation
- The cached value of the '
Annotation
' containment reference.
- See Also:
getAnnotation()
referencedKey
protected XSDIdentityConstraintDefinition referencedKey
- The cached value of the '
Referenced Key
' reference.
- See Also:
getReferencedKey()
selector
protected XSDXPathDefinition selector
- The cached value of the '
Selector
' containment reference.
- See Also:
getSelector()
fields
protected org.eclipse.emf.common.util.EList fields
- The cached value of the '
Fields
' containment reference list.
- See Also:
getFields()
XSDIdentityConstraintDefinitionImpl
protected XSDIdentityConstraintDefinitionImpl()
createIdentityConstraintDefinition
public static XSDIdentityConstraintDefinition createIdentityConstraintDefinition(org.w3c.dom.Node node)
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
-
- Overrides:
eStaticClass
in class XSDNamedComponentImpl
getIdentityConstraintCategory
public XSDIdentityConstraintCategory getIdentityConstraintCategory()
-
- Specified by:
getIdentityConstraintCategory
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Returns:
- the value of the 'Identity Constraint Category' attribute.
- See Also:
XSDIdentityConstraintCategory
,
XSDIdentityConstraintDefinition.setIdentityConstraintCategory(XSDIdentityConstraintCategory)
,
XSDPackage.getXSDIdentityConstraintDefinition_IdentityConstraintCategory()
setIdentityConstraintCategory
public void setIdentityConstraintCategory(XSDIdentityConstraintCategory newIdentityConstraintCategory)
-
- Specified by:
setIdentityConstraintCategory
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Parameters:
value
- the new value of the 'Identity Constraint Category' attribute.- See Also:
XSDIdentityConstraintCategory
,
XSDIdentityConstraintDefinition.getIdentityConstraintCategory()
getAnnotation
public XSDAnnotation getAnnotation()
-
- Specified by:
getAnnotation
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Returns:
- the value of the 'Annotation' containment reference.
- See Also:
XSDIdentityConstraintDefinition.setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDIdentityConstraintDefinition_Annotation()
setAnnotation
public void setAnnotation(XSDAnnotation newAnnotation)
-
- Specified by:
setAnnotation
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Parameters:
value
- the new value of the 'Annotation' containment reference.- See Also:
XSDIdentityConstraintDefinition.getAnnotation()
basicSetAnnotation
public org.eclipse.emf.common.notify.NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation,
org.eclipse.emf.common.notify.NotificationChain msgs)
-
getReferencedKey
public XSDIdentityConstraintDefinition getReferencedKey()
-
- Specified by:
getReferencedKey
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Returns:
- the value of the 'Referenced Key' reference.
- See Also:
XSDIdentityConstraintDefinition.setReferencedKey(XSDIdentityConstraintDefinition)
,
XSDPackage.getXSDIdentityConstraintDefinition_ReferencedKey()
setReferencedKey
public void setReferencedKey(XSDIdentityConstraintDefinition newReferencedKey)
-
- Specified by:
setReferencedKey
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Parameters:
value
- the new value of the 'Referenced Key' reference.- See Also:
XSDIdentityConstraintDefinition.getReferencedKey()
getSelector
public XSDXPathDefinition getSelector()
-
- Specified by:
getSelector
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Returns:
- the value of the 'Selector' containment reference.
- See Also:
XSDIdentityConstraintDefinition.setSelector(XSDXPathDefinition)
,
XSDPackage.getXSDIdentityConstraintDefinition_Selector()
setSelector
public void setSelector(XSDXPathDefinition newSelector)
-
- Specified by:
setSelector
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Parameters:
value
- the new value of the 'Selector' containment reference.- See Also:
XSDIdentityConstraintDefinition.getSelector()
basicSetSelector
public org.eclipse.emf.common.notify.NotificationChain basicSetSelector(XSDXPathDefinition newSelector,
org.eclipse.emf.common.notify.NotificationChain msgs)
-
getFields
public org.eclipse.emf.common.util.EList getFields()
-
- Specified by:
getFields
in interface XSDIdentityConstraintDefinition
- Following copied from interface:
org.eclipse.xsd.XSDIdentityConstraintDefinition
- Returns:
- the value of the 'Fields' containment reference list.
- See Also:
XSDPackage.getXSDIdentityConstraintDefinition_Fields()
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class XSDNamedComponentImpl
eGet
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eGet
in class XSDNamedComponentImpl
eSet
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eSet
in class XSDNamedComponentImpl
eUnset
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
-
- Specified by:
eUnset
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eUnset
in class XSDNamedComponentImpl
eIsSet
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
-
- Specified by:
eIsSet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eIsSet
in class XSDNamedComponentImpl
toString
public java.lang.String toString()
-
- Overrides:
toString
in class XSDNamedComponentImpl
createElement
public org.w3c.dom.Element createElement()
- Overrides:
createElement
in class XSDConcreteComponentImpl
patch
protected void patch()
- Overrides:
patch
in class XSDNamedComponentImpl
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:
org.eclipse.xsd.XSDConcreteComponent
- See Also:
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
reconcileAttributes
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
- Overrides:
reconcileAttributes
in class XSDNamedComponentImpl
handleUnreconciledElement
protected void handleUnreconciledElement(org.w3c.dom.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(org.eclipse.emf.ecore.EAttribute eAttribute)
- Overrides:
changeAttribute
in class XSDNamedComponentImpl
adoptBy
protected void adoptBy(XSDSchema xsdSchema)
- Overrides:
adoptBy
in class XSDNamedComponentImpl
orphanBy
protected void orphanBy(XSDSchema xsdSchema)
- Overrides:
orphanBy
in class XSDConcreteComponentImpl
changeReference
protected void changeReference(org.eclipse.emf.ecore.EReference eReference)
- Overrides:
changeReference
in class XSDConcreteComponentImpl
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:
org.eclipse.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.