|
|||||||||||
| 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.XSDAttributeDeclarationImpl
An implementation of the model object 'Attribute Declaration'.
The following features are implemented:
Attribute Declaration ReferenceAnnotationAnonymous Type DefinitionType DefinitionResolved Attribute Declaration
| 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 XSDAnnotation |
annotation
The cached value of the ' Annotation' containment reference |
protected XSDSimpleTypeDefinition |
anonymousTypeDefinition
The cached value of the ' Anonymous Type Definition' containment reference |
protected static boolean |
ATTRIBUTE_DECLARATION_REFERENCE_EDEFAULT
The default value of the ' Attribute Declaration Reference' attribute |
protected boolean |
isTypeExplicit
|
protected XSDAttributeDeclaration |
resolvedAttributeDeclaration
The cached value of the ' Resolved Attribute Declaration' reference |
protected XSDSimpleTypeDefinition |
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 |
XSDAttributeDeclarationImpl()
|
| Methods inherited from class org.eclipse.xsd.impl.XSDFeatureImpl |
getConstraint, getFeatureReference, getForm, getGlobal, getLexicalValue, getScope, getValue, isGlobal, isSetConstraint, isSetForm, isUpdatingDOM, setConstraint, setForm, setLexicalValue, setValue, toString, 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, eNotify, eSetDeliver |
| Field Detail |
protected static final boolean ATTRIBUTE_DECLARATION_REFERENCE_EDEFAULT
Attribute Declaration Reference' attribute.
isAttributeDeclarationReference(),
Constant Field Valuesprotected XSDAnnotation annotation
Annotation' containment reference.
getAnnotation()protected XSDSimpleTypeDefinition anonymousTypeDefinition
Anonymous Type Definition' containment reference.
getAnonymousTypeDefinition()protected XSDSimpleTypeDefinition typeDefinition
Type Definition' reference.
getTypeDefinition()protected XSDAttributeDeclaration resolvedAttributeDeclaration
Resolved Attribute Declaration' reference.
getResolvedAttributeDeclaration()protected boolean isTypeExplicit
| Constructor Detail |
protected XSDAttributeDeclarationImpl()
| Method Detail |
public static XSDAttributeDeclaration createAttributeDeclaration(Node node)
protected EClass eStaticClass()
eStaticClass in class XSDFeatureImplpublic Boolean getAttributeDeclarationReference()
public Element createElement()
createElement in class XSDConcreteComponentImplprotected void patch()
patch in class XSDNamedComponentImplprotected void patchTargetNamespaceAttribute()
patchTargetNamespaceAttribute in class XSDNamedComponentImplprotected boolean analyze()
analyze in class XSDFeatureImplpublic 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 XSDNamedComponentImpl
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 XSDFeatureImplprotected 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 isAttributeDeclarationReference()
XSDAttributeDeclarationThis concrete attribute is equivalent to
xsdAttributeDeclaration != xsdAttributeDeclaration.getResolvedAttributeDeclaration()
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 declaration
with a ref attribute.
isAttributeDeclarationReference in interface XSDAttributeDeclarationXSDPackage.getXSDAttributeDeclaration_AttributeDeclarationReference()public XSDAnnotation getAnnotation()
getAnnotation in interface XSDAttributeDeclarationXSDAttributeDeclaration.setAnnotation(XSDAnnotation),
XSDPackage.getXSDAttributeDeclaration_Annotation()public void setAnnotation(XSDAnnotation newAnnotation)
setAnnotation in interface XSDAttributeDeclarationnewAnnotation - the new value of the 'Annotation' containment reference.XSDAttributeDeclaration.getAnnotation()
public NotificationChain basicSetAnnotation(XSDAnnotation newAnnotation,
NotificationChain msgs)
public XSDSimpleTypeDefinition getAnonymousTypeDefinition()
getAnonymousTypeDefinition in interface XSDAttributeDeclarationXSDAttributeDeclaration.setAnonymousTypeDefinition(XSDSimpleTypeDefinition),
XSDPackage.getXSDAttributeDeclaration_AnonymousTypeDefinition()public void setAnonymousTypeDefinition(XSDSimpleTypeDefinition newAnonymousTypeDefinition)
setAnonymousTypeDefinition in interface XSDAttributeDeclarationnewAnonymousTypeDefinition - the new value of the 'Anonymous Type Definition' containment reference.XSDAttributeDeclaration.getAnonymousTypeDefinition()
public NotificationChain basicSetAnonymousTypeDefinition(XSDSimpleTypeDefinition newAnonymousTypeDefinition,
NotificationChain msgs)
public XSDSimpleTypeDefinition getTypeDefinition()
getTypeDefinition in interface XSDAttributeDeclarationXSDAttributeDeclaration.setTypeDefinition(XSDSimpleTypeDefinition),
XSDPackage.getXSDAttributeDeclaration_TypeDefinition()public void setTypeDefinitionGen(XSDSimpleTypeDefinition newTypeDefinition)
public void setTypeDefinition(XSDSimpleTypeDefinition newTypeDefinition)
XSDAttributeDeclarationType Definition' reference.
setTypeDefinition in interface XSDAttributeDeclarationnewTypeDefinition - the new value of the 'Type Definition' reference.XSDAttributeDeclaration.getTypeDefinition()public XSDAttributeDeclaration getResolvedAttributeDeclaration()
getResolvedAttributeDeclaration in interface XSDAttributeDeclarationXSDAttributeDeclaration.setResolvedAttributeDeclaration(XSDAttributeDeclaration),
XSDPackage.getXSDAttributeDeclaration_ResolvedAttributeDeclaration()public void setResolvedAttributeDeclaration(XSDAttributeDeclaration newResolvedAttributeDeclaration)
setResolvedAttributeDeclaration in interface XSDAttributeDeclarationnewResolvedAttributeDeclaration - the new value of the 'Resolved Attribute Declaration' reference.XSDAttributeDeclaration.getResolvedAttributeDeclaration()
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 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 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 | ||||||||||