|
|||||||||||
| 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.XSDFeatureImpl
org.eclipse.xsd.impl.XSDElementDeclarationImpl
An implementation of the model object 'Element Declaration'.
The following features are implemented:
NillableDisallowed SubstitutionsSubstitution Group ExclusionsAbstractLexical FinalBlockElement Declaration ReferenceCircularAnnotationAnonymous Type DefinitionType DefinitionIdentity Constraint DefinitionsResolved Element DeclarationSubstitution Group AffiliationSubstitution Group
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator |
| Nested classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
XSDConcreteComponentImpl.XSDContentsEList |
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
| Field Summary | |
protected boolean |
abstract_
The cached value of the ' Abstract' attribute |
protected static boolean |
ABSTRACT_EDEFAULT
The default value of the ' Abstract' attribute |
protected boolean |
abstractESet
This is true if the Abstract attribute has been set |
protected int |
analysisState
|
protected XSDAnnotation |
annotation
The cached value of the ' Annotation' containment reference |
protected XSDTypeDefinition |
anonymousTypeDefinition
The cached value of the ' Anonymous Type Definition' containment reference |
protected EList |
block
The cached value of the ' Block' attribute list |
protected static boolean |
CIRCULAR_EDEFAULT
The default value of the ' Circular' attribute |
protected EList |
disallowedSubstitutions
The cached value of the ' Disallowed Substitutions' attribute list |
protected static boolean |
ELEMENT_DECLARATION_REFERENCE_EDEFAULT
The default value of the ' Element Declaration Reference' attribute |
protected EList |
identityConstraintDefinitions
The cached value of the ' Identity Constraint Definitions' containment reference list |
protected boolean |
isTypeExplicit
|
protected EList |
lexicalFinal
The cached value of the ' Lexical Final' attribute list |
protected boolean |
nillable
The cached value of the ' Nillable' attribute |
protected static boolean |
NILLABLE_EDEFAULT
The default value of the ' Nillable' attribute |
protected boolean |
nillableESet
This is true if the Nillable attribute has been set |
protected XSDElementDeclaration |
resolvedElementDeclaration
The cached value of the ' Resolved Element Declaration' reference |
protected EList |
substitutionGroup
The cached value of the ' Substitution Group' reference list |
protected XSDElementDeclaration |
substitutionGroupAffiliation
The cached value of the ' Substitution Group Affiliation' reference |
protected EList |
substitutionGroupExclusions
The cached value of the ' Substitution Group Exclusions' attribute list |
protected XSDTypeDefinition |
typeDefinition
The cached value of the ' Type Definition' reference |
| Fields inherited from class org.eclipse.xsd.impl.XSDFeatureImpl |
constraint, CONSTRAINT_EDEFAULT, constraintESet, FEATURE_REFERENCE_EDEFAULT, form, FORM_EDEFAULT, formESet, 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, 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 interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
protected |
XSDElementDeclarationImpl()
|
| Methods inherited from class org.eclipse.xsd.impl.XSDFeatureImpl |
getConstraint, getFeatureReference, getForm, getGlobal, getLexicalValue, getScope, getValue, isGlobal, isSetConstraint, isSetForm, isUpdatingDOM, setConstraint, setForm, setLexicalValue, setValue, 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.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.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.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eSetDeliver |
| Field Detail |
protected static final boolean NILLABLE_EDEFAULT
Nillable' attribute.
isNillable(),
Constant Field Valuesprotected boolean nillable
Nillable' attribute.
isNillable()protected boolean nillableESet
protected EList disallowedSubstitutions
Disallowed Substitutions' attribute list.
getDisallowedSubstitutions()protected EList substitutionGroupExclusions
Substitution Group Exclusions' attribute list.
getSubstitutionGroupExclusions()protected static final boolean ABSTRACT_EDEFAULT
Abstract' attribute.
isAbstract(),
Constant Field Valuesprotected boolean abstract_
Abstract' attribute.
isAbstract()protected boolean abstractESet
protected EList lexicalFinal
Lexical Final' attribute list.
getLexicalFinal()protected EList block
Block' attribute list.
getBlock()protected static final boolean ELEMENT_DECLARATION_REFERENCE_EDEFAULT
Element Declaration Reference' attribute.
isElementDeclarationReference(),
Constant Field Valuesprotected static final boolean CIRCULAR_EDEFAULT
Circular' attribute.
isCircular(),
Constant Field Valuesprotected XSDAnnotation annotation
Annotation' containment reference.
getAnnotation()protected XSDTypeDefinition anonymousTypeDefinition
Anonymous Type Definition' containment reference.
getAnonymousTypeDefinition()protected XSDTypeDefinition typeDefinition
Type Definition' reference.
getTypeDefinition()protected EList identityConstraintDefinitions
Identity Constraint Definitions' containment reference list.
getIdentityConstraintDefinitions()protected XSDElementDeclaration resolvedElementDeclaration
Resolved Element Declaration' reference.
getResolvedElementDeclaration()protected XSDElementDeclaration substitutionGroupAffiliation
Substitution Group Affiliation' reference.
getSubstitutionGroupAffiliation()protected EList substitutionGroup
Substitution Group' reference list.
getSubstitutionGroup()protected int analysisState
protected boolean isTypeExplicit
| Constructor Detail |
protected XSDElementDeclarationImpl()
| Method Detail |
public static XSDElementDeclaration createElementDeclaration(Node node)
protected EClass eStaticClass()
eStaticClass in class XSDFeatureImplpublic boolean isNillable()
isNillable in interface XSDElementDeclarationXSDElementDeclaration.isSetNillable(),
XSDElementDeclaration.unsetNillable(),
XSDElementDeclaration.setNillable(boolean),
XSDPackage.getXSDElementDeclaration_Nillable()public void setNillable(boolean newNillable)
setNillable in interface XSDElementDeclarationnewNillable - the new value of the 'Nillable' attribute.XSDElementDeclaration.isSetNillable(),
XSDElementDeclaration.unsetNillable(),
XSDElementDeclaration.isNillable()public void unsetNillable()
unsetNillable in interface XSDElementDeclarationXSDElementDeclaration.isSetNillable(),
XSDElementDeclaration.isNillable(),
XSDElementDeclaration.setNillable(boolean)public boolean isSetNillable()
isSetNillable in interface XSDElementDeclarationXSDElementDeclaration.unsetNillable(),
XSDElementDeclaration.isNillable(),
XSDElementDeclaration.setNillable(boolean)public EList getDisallowedSubstitutions()
getDisallowedSubstitutions in interface XSDElementDeclarationXSDElementDeclaration.getStringDisallowedSubstitutions(),
XSDDisallowedSubstitutions,
XSDPackage.getXSDElementDeclaration_DisallowedSubstitutions()public EList getSubstitutionGroupExclusions()
getSubstitutionGroupExclusions in interface XSDElementDeclarationXSDElementDeclaration.getStringSubstitutionGroupExclusions(),
XSDSubstitutionGroupExclusions,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupExclusions()public boolean isAbstract()
isAbstract in interface XSDElementDeclarationXSDElementDeclaration.isSetAbstract(),
XSDElementDeclaration.unsetAbstract(),
XSDElementDeclaration.setAbstract(boolean),
XSDPackage.getXSDElementDeclaration_Abstract()public void setAbstract(boolean newAbstract)
setAbstract in interface XSDElementDeclarationnewAbstract - the new value of the 'Abstract' attribute.XSDElementDeclaration.isSetAbstract(),
XSDElementDeclaration.unsetAbstract(),
XSDElementDeclaration.isAbstract()public void unsetAbstract()
unsetAbstract in interface XSDElementDeclarationXSDElementDeclaration.isSetAbstract(),
XSDElementDeclaration.isAbstract(),
XSDElementDeclaration.setAbstract(boolean)public boolean isSetAbstract()
isSetAbstract in interface XSDElementDeclarationXSDElementDeclaration.unsetAbstract(),
XSDElementDeclaration.isAbstract(),
XSDElementDeclaration.setAbstract(boolean)public EList getLexicalFinal()
getLexicalFinal in interface XSDElementDeclarationXSDElementDeclaration.getStringLexicalFinal(),
XSDElementDeclaration.setStringLexicalFinal(java.lang.String),
XSDProhibitedSubstitutions,
XSDElementDeclaration.isSetLexicalFinal(),
XSDElementDeclaration.unsetLexicalFinal(),
XSDPackage.getXSDElementDeclaration_LexicalFinal()public void unsetLexicalFinal()
unsetLexicalFinal in interface XSDElementDeclarationXSDElementDeclaration.isSetLexicalFinal(),
XSDElementDeclaration.getLexicalFinal()public boolean isSetLexicalFinal()
isSetLexicalFinal in interface XSDElementDeclarationXSDElementDeclaration.unsetLexicalFinal(),
XSDElementDeclaration.getLexicalFinal()public EList getBlock()
getBlock in interface XSDElementDeclarationXSDElementDeclaration.getStringBlock(),
XSDElementDeclaration.setStringBlock(java.lang.String),
XSDDisallowedSubstitutions,
XSDElementDeclaration.isSetBlock(),
XSDElementDeclaration.unsetBlock(),
XSDPackage.getXSDElementDeclaration_Block()public void unsetBlock()
unsetBlock in interface XSDElementDeclarationXSDElementDeclaration.isSetBlock(),
XSDElementDeclaration.getBlock()public boolean isSetBlock()
isSetBlock in interface XSDElementDeclarationXSDElementDeclaration.unsetBlock(),
XSDElementDeclaration.getBlock()public Boolean getElementDeclarationReference()
public Element createElement()
createElement in class XSDConcreteComponentImplprotected void patch()
patch in class XSDNamedComponentImplprotected boolean analyze()
analyze in class XSDFeatureImplprotected void handleAnalysis()
protected void patchTargetNamespaceAttribute()
patchTargetNamespaceAttribute in class XSDNamedComponentImplpublic void validate()
XSDConcreteComponentDiagnostics are produced to report any problems.
validate in interface XSDConcreteComponentvalidate in class XSDConcreteComponentImplprotected void reconcileAttributes(Element changedElement)
reconcileAttributes in class XSDFeatureImplprotected void reconcileNameAttribute()
reconcileNameAttribute in class XSDNamedComponentImplprotected void reconcileContents(Element changedElement)
reconcileContents in class XSDConcreteComponentImpl
protected void handleUnreconciledElement(Element child,
List newContents,
List remainingContents)
handleUnreconciledElement in class XSDConcreteComponentImpl
protected void handleReconciliation(List newContents,
List remainingContents)
handleReconciliation in class XSDConcreteComponentImplprotected void changeAttribute(EAttribute eAttribute)
changeAttribute in class XSDFeatureImplpublic void eNotify(Notification msg)
eNotify in interface NotifiereNotify in class XSDConcreteComponentImplprotected void changeReference(EReference eReference)
changeReference in class XSDConcreteComponentImpl
protected void adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
adoptContent in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
orphanContent in class XSDConcreteComponentImplpublic boolean isElementDeclarationReference()
XSDElementDeclarationThis concrete attribute is equivalent to
xsdElementDeclaration != xsdElementDeclaration.getResolvedElementDeclaration()
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 element declaration
with a ref attribute.
isElementDeclarationReference in interface XSDElementDeclarationXSDPackage.getXSDElementDeclaration_ElementDeclarationReference()public Boolean getCircular()
public String getQName()
XSDNamedComponentThis concrete attribute is equivalent to
xsdNamedComponent.getQName(xsdNamedComponent)
getQName in interface XSDNamedComponentgetQName in class XSDNamedComponentImplpublic boolean isNamedComponentReference()
isNamedComponentReference in class XSDNamedComponentImplpublic XSDNamedComponent getResolvedNamedComponent()
getResolvedNamedComponent in class XSDNamedComponentImplpublic boolean isFeatureReference()
XSDFeature
This is the same result as either
the 'Element Reference' attribute or
the 'Attribute Reference' attribute.
isFeatureReference in interface XSDFeatureisFeatureReference in class XSDFeatureImplpublic XSDFeature getResolvedFeature()
XSDFeature
This is the same result as either
the 'Resolved Element Declaration' reference or
the 'Resolved Attribute Declaration' reference.
getResolvedFeature in interface XSDFeaturegetResolvedFeature in class XSDFeatureImplpublic XSDTypeDefinition getType()
XSDFeature
This is the same result as either
the element 'Type Definition' reference or
the attribute 'Type Definition' reference.
getType in interface XSDFeaturegetType in class XSDFeatureImplpublic String getStringLexicalFinal()
XSDElementDeclarationLexical Final' attribute list.
getStringLexicalFinal in interface XSDElementDeclarationXSDElementDeclaration.getStringLexicalFinal(),
XSDElementDeclaration.setStringLexicalFinal(java.lang.String)public void setStringLexicalFinal(String finalDefault)
XSDElementDeclarationLexical Final' attribute list.
setStringLexicalFinal in interface XSDElementDeclarationfinalDefault - the new value of the 'Lexical Final' attribute list.XSDElementDeclaration.getLexicalFinal(),
XSDElementDeclaration.getStringLexicalFinal()public String getStringBlock()
XSDElementDeclarationBlock' attribute list.
getStringBlock in interface XSDElementDeclarationXSDElementDeclaration.getBlock(),
XSDElementDeclaration.setStringBlock(java.lang.String)public void setStringBlock(String block)
XSDElementDeclarationBlock' attribute list.
setStringBlock in interface XSDElementDeclarationblock - the new value of the 'Block' attribute list.XSDElementDeclaration.getBlock(),
XSDElementDeclaration.getStringBlock()public String getStringDisallowedSubstitutions()
XSDElementDeclarationDisallowed Substitutions' attribute list.
getStringDisallowedSubstitutions in interface XSDElementDeclarationXSDElementDeclaration.getDisallowedSubstitutions()public String getStringSubstitutionGroupExclusions()
XSDElementDeclaration
getStringSubstitutionGroupExclusions in interface XSDElementDeclarationXSDElementDeclaration.getSubstitutionGroupExclusions(),
XSDPackage.getXSDElementDeclaration_SubstitutionGroupExclusions()public boolean isCircular()
XSDElementDeclarationThis indicates that the element declaration is part of an invalid circular substitution group.
isCircular in interface XSDElementDeclarationXSDPackage.getXSDElementDeclaration_Circular()public XSDAnnotation getAnnotation()
getAnnotation in interface XSDElementDeclarationXSDElementDeclaration.setAnnotation(XSDAnnotation),
XSDPackage.getXSDElementDeclaration_Annotation()public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation in interface XSDElementDeclarationnewAnnotation - the new value of the 'Annotation' containment reference.XSDElementDeclaration.getAnnotation()
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs)
public XSDTypeDefinition getAnonymousTypeDefinition()
getAnonymousTypeDefinition in interface XSDElementDeclarationXSDElementDeclaration.setAnonymousTypeDefinition(XSDTypeDefinition),
XSDPackage.getXSDElementDeclaration_AnonymousTypeDefinition()public void setAnonymousTypeDefinition(XSDTypeDefinition newAnonymousTypeDefinition)
setAnonymousTypeDefinition in interface XSDElementDeclarationnewAnonymousTypeDefinition - the new value of the 'Anonymous Type Definition' containment reference.XSDElementDeclaration.getAnonymousTypeDefinition()
public NotificationChain basicSetAnonymousTypeDefinition(XSDTypeDefinition newAnonymousTypeDefinition,
NotificationChain msgs)
public XSDTypeDefinition getTypeDefinition()
getTypeDefinition in interface XSDElementDeclarationXSDElementDeclaration.setTypeDefinition(XSDTypeDefinition),
XSDPackage.getXSDElementDeclaration_TypeDefinition()public void setTypeDefinitionGen(XSDTypeDefinition newTypeDefinition)
public void setTypeDefinition(XSDTypeDefinition newTypeDefinition)
XSDElementDeclarationType Definition' reference.
setTypeDefinition in interface XSDElementDeclarationnewTypeDefinition - the new value of the 'Type Definition' reference.XSDElementDeclaration.getTypeDefinition()public EList getIdentityConstraintDefinitions()
getIdentityConstraintDefinitions in interface XSDElementDeclarationXSDPackage.getXSDElementDeclaration_IdentityConstraintDefinitions()public XSDElementDeclaration getResolvedElementDeclaration()
getResolvedElementDeclaration in interface XSDElementDeclarationXSDElementDeclaration.setResolvedElementDeclaration(XSDElementDeclaration),
XSDPackage.getXSDElementDeclaration_ResolvedElementDeclaration()public void setResolvedElementDeclaration(XSDElementDeclaration newResolvedElementDeclaration)
setResolvedElementDeclaration in interface XSDElementDeclarationnewResolvedElementDeclaration - the new value of the 'Resolved Element Declaration' reference.XSDElementDeclaration.getResolvedElementDeclaration()public XSDElementDeclaration getSubstitutionGroupAffiliation()
getSubstitutionGroupAffiliation in interface XSDElementDeclarationXSDElementDeclaration.setSubstitutionGroupAffiliation(XSDElementDeclaration),
XSDPackage.getXSDElementDeclaration_SubstitutionGroupAffiliation()public void setSubstitutionGroupAffiliation(XSDElementDeclaration newSubstitutionGroupAffiliation)
setSubstitutionGroupAffiliation in interface XSDElementDeclarationnewSubstitutionGroupAffiliation - the new value of the 'Substitution Group Affiliation' reference.XSDElementDeclaration.getSubstitutionGroupAffiliation()public EList getSubstitutionGroup()
getSubstitutionGroup in interface XSDElementDeclarationXSDPackage.getXSDElementDeclaration_SubstitutionGroup()
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
eInverseRemove in interface InternalEObjecteInverseRemove in class XSDFeatureImpl
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in interface EObjecteGet in class XSDFeatureImpl
public void eSet(EStructuralFeature eFeature,
Object newValue)
eSet in interface EObjecteSet in class XSDFeatureImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjecteUnset in class XSDFeatureImplpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in interface EObjecteIsSet in class XSDFeatureImplpublic String toString()
toString in class XSDFeatureImpl
public XSDConcreteComponent cloneConcreteComponent(boolean deep,
boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent in interface XSDConcreteComponentcloneConcreteComponent in class XSDConcreteComponentImpl
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||