|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
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
public class XSDIdentityConstraintDefinitionImpl
An implementation of the model object 'Identity Constraint 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 |
---|
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 EList<XSDXPathDefinition> |
fields
The cached value of the ' Fields ' containment reference list |
protected static XSDIdentityConstraintCategory |
IDENTITY_CONSTRAINT_CATEGORY_EDEFAULT
The default value of the ' Identity Constraint Category ' attribute |
protected XSDIdentityConstraintCategory |
identityConstraintCategory
The cached value of the ' Identity Constraint Category ' attribute |
protected XSDIdentityConstraintDefinition |
referencedKey
The cached value of the ' Referenced Key ' reference |
protected XSDXPathDefinition |
selector
The cached value of the ' Selector ' containment reference |
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 |
XSDIdentityConstraintDefinitionImpl()
|
Method Summary | |
---|---|
protected void |
adoptBy(XSDSchema xsdSchema)
|
NotificationChain |
basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs)
|
NotificationChain |
basicSetSelector(XSDXPathDefinition newSelector,
NotificationChain msgs)
|
protected void |
changeAttribute(EAttribute eAttribute)
|
protected void |
changeReference(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(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<XSDXPathDefinition> |
getFields()
|
XSDIdentityConstraintCategory |
getIdentityConstraintCategory()
|
XSDIdentityConstraintDefinition |
getReferencedKey()
|
XSDXPathDefinition |
getSelector()
|
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)
|
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.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
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.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 |
---|
protected static final XSDIdentityConstraintCategory IDENTITY_CONSTRAINT_CATEGORY_EDEFAULT
Identity Constraint Category
' attribute.
getIdentityConstraintCategory()
protected XSDIdentityConstraintCategory identityConstraintCategory
Identity Constraint Category
' attribute.
getIdentityConstraintCategory()
protected XSDAnnotation annotation
Annotation
' containment reference.
getAnnotation()
protected XSDIdentityConstraintDefinition referencedKey
Referenced Key
' reference.
getReferencedKey()
protected XSDXPathDefinition selector
Selector
' containment reference.
getSelector()
protected EList<XSDXPathDefinition> fields
Fields
' containment reference list.
getFields()
Constructor Detail |
---|
protected XSDIdentityConstraintDefinitionImpl()
Method Detail |
---|
public static XSDIdentityConstraintDefinition createIdentityConstraintDefinition(org.w3c.dom.Node node)
protected EClass eStaticClass()
eStaticClass
in class XSDNamedComponentImpl
public XSDIdentityConstraintCategory getIdentityConstraintCategory()
getIdentityConstraintCategory
in interface XSDIdentityConstraintDefinition
XSDIdentityConstraintCategory
,
XSDIdentityConstraintDefinition.setIdentityConstraintCategory(XSDIdentityConstraintCategory)
,
XSDPackage.getXSDIdentityConstraintDefinition_IdentityConstraintCategory()
public void setIdentityConstraintCategory(XSDIdentityConstraintCategory newIdentityConstraintCategory)
setIdentityConstraintCategory
in interface XSDIdentityConstraintDefinition
newIdentityConstraintCategory
- the new value of the 'Identity Constraint Category' attribute.XSDIdentityConstraintCategory
,
XSDIdentityConstraintDefinition.getIdentityConstraintCategory()
public XSDAnnotation getAnnotation()
getAnnotation
in interface XSDIdentityConstraintDefinition
XSDIdentityConstraintDefinition.setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDIdentityConstraintDefinition_Annotation()
public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation
in interface XSDIdentityConstraintDefinition
newAnnotation
- the new value of the 'Annotation' containment reference.XSDIdentityConstraintDefinition.getAnnotation()
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation, NotificationChain msgs)
public XSDIdentityConstraintDefinition getReferencedKey()
getReferencedKey
in interface XSDIdentityConstraintDefinition
XSDIdentityConstraintDefinition.setReferencedKey(XSDIdentityConstraintDefinition)
,
XSDPackage.getXSDIdentityConstraintDefinition_ReferencedKey()
public void setReferencedKey(XSDIdentityConstraintDefinition newReferencedKey)
setReferencedKey
in interface XSDIdentityConstraintDefinition
newReferencedKey
- the new value of the 'Referenced Key' reference.XSDIdentityConstraintDefinition.getReferencedKey()
public XSDXPathDefinition getSelector()
getSelector
in interface XSDIdentityConstraintDefinition
XSDIdentityConstraintDefinition.setSelector(XSDXPathDefinition)
,
XSDPackage.getXSDIdentityConstraintDefinition_Selector()
public void setSelector(XSDXPathDefinition newSelector)
setSelector
in interface XSDIdentityConstraintDefinition
newSelector
- the new value of the 'Selector' containment reference.XSDIdentityConstraintDefinition.getSelector()
public NotificationChain basicSetSelector(XSDXPathDefinition newSelector, NotificationChain msgs)
public EList<XSDXPathDefinition> getFields()
getFields
in interface XSDIdentityConstraintDefinition
XSDPackage.getXSDIdentityConstraintDefinition_Fields()
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 XSDNamedComponentImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDNamedComponentImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDNamedComponentImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDNamedComponentImpl
public java.lang.String toString()
toString
in class XSDNamedComponentImpl
public org.w3c.dom.Element createElement()
createElement
in class XSDConcreteComponentImpl
protected void patch()
patch
in class XSDNamedComponentImpl
public void validate()
XSDConcreteComponent
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.
validate
in interface XSDConcreteComponent
validate
in class XSDConcreteComponentImpl
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes
in class XSDNamedComponentImpl
protected void handleUnreconciledElement(org.w3c.dom.Element child, java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
handleUnreconciledElement
in class XSDConcreteComponentImpl
protected void handleReconciliation(java.util.List<XSDConcreteComponent> newContents, java.util.List<XSDConcreteComponent> remainingContents)
handleReconciliation
in class XSDConcreteComponentImpl
protected void changeAttribute(EAttribute eAttribute)
changeAttribute
in class XSDNamedComponentImpl
protected void adoptBy(XSDSchema xsdSchema)
adoptBy
in class XSDNamedComponentImpl
protected void orphanBy(XSDSchema xsdSchema)
orphanBy
in class XSDConcreteComponentImpl
protected void changeReference(EReference eReference)
changeReference
in class XSDConcreteComponentImpl
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
deep
- whether the clone should be deep.shareDOM
- whether the clone should share the original DOM
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |