|
|||||||||||
| 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.XSDAttributeUseImpl
An implementation of the model object 'Attribute Use'.
The following features are implemented:
| Nested Class Summary |
| 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 XSDAttributeDeclaration |
attributeDeclaration
The cached value of the ' Attribute Declaration' reference |
protected XSDConstraint |
constraint
The cached value of the ' Constraint' attribute |
protected static XSDConstraint |
CONSTRAINT_EDEFAULT
The default value of the ' Constraint' attribute |
protected boolean |
constraintESet
This is true if the Constraint attribute has been set |
protected XSDAttributeDeclaration |
content
The cached value of the ' Content' containment reference |
protected static String |
LEXICAL_VALUE_EDEFAULT
The default value of the ' Lexical Value' attribute |
protected String |
lexicalValue
The cached value of the ' Lexical Value' attribute |
protected boolean |
required
The cached value of the ' Required' attribute |
protected static boolean |
REQUIRED_EDEFAULT
The default value of the ' Required' attribute |
protected XSDAttributeUseCategory |
use
The cached value of the ' Use' attribute |
protected static XSDAttributeUseCategory |
USE_EDEFAULT
The default value of the ' Use' attribute |
protected boolean |
useESet
This is true if the Use attribute has been set |
protected Object |
value
The cached value of the ' Value' attribute |
protected static Object |
VALUE_EDEFAULT
The default value of the ' Value' attribute |
| 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 |
XSDAttributeUseImpl()
|
| 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.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 REQUIRED_EDEFAULT
Required' attribute.
isRequired(),
Constant Field Valuesprotected boolean required
Required' attribute.
isRequired()protected static final Object VALUE_EDEFAULT
Value' attribute.
getValue()protected Object value
Value' attribute.
getValue()protected static final XSDConstraint CONSTRAINT_EDEFAULT
Constraint' attribute.
getConstraint()protected XSDConstraint constraint
Constraint' attribute.
getConstraint()protected boolean constraintESet
protected static final XSDAttributeUseCategory USE_EDEFAULT
Use' attribute.
getUse()protected XSDAttributeUseCategory use
Use' attribute.
getUse()protected boolean useESet
protected static final String LEXICAL_VALUE_EDEFAULT
Lexical Value' attribute.
getLexicalValue()protected String lexicalValue
Lexical Value' attribute.
getLexicalValue()protected XSDAttributeDeclaration attributeDeclaration
Attribute Declaration' reference.
getAttributeDeclaration()protected XSDAttributeDeclaration content
Content' containment reference.
getContent()| Constructor Detail |
protected XSDAttributeUseImpl()
| Method Detail |
public static XSDAttributeUse createAttributeUse(Node node)
public static List sortAttributeUses(Collection xsdAttributeUses)
protected EClass eStaticClass()
eStaticClass in class XSDComponentImplpublic boolean isRequired()
isRequired in interface XSDAttributeUseXSDAttributeUse.setRequired(boolean),
XSDPackage.getXSDAttributeUse_Required()public void setRequired(boolean newRequired)
setRequired in interface XSDAttributeUsenewRequired - the new value of the 'Required' attribute.XSDAttributeUse.isRequired()public Object getValue()
getValue in interface XSDAttributeUseXSDAttributeUse.setValue(Object),
XSDPackage.getXSDAttributeUse_Value()public void setValue(Object newValue)
setValue in interface XSDAttributeUsenewValue - the new value of the 'Value' attribute.XSDAttributeUse.getValue()public XSDConstraint getConstraint()
getConstraint in interface XSDAttributeUseXSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.setConstraint(XSDConstraint),
XSDPackage.getXSDAttributeUse_Constraint()public void setConstraint(XSDConstraint newConstraint)
setConstraint in interface XSDAttributeUsenewConstraint - the new value of the 'Constraint' attribute.XSDConstraint,
XSDAttributeUse.isSetConstraint(),
XSDAttributeUse.unsetConstraint(),
XSDAttributeUse.getConstraint()public void unsetConstraint()
unsetConstraint in interface XSDAttributeUseXSDAttributeUse.isSetConstraint(),
XSDAttributeUse.getConstraint(),
XSDAttributeUse.setConstraint(XSDConstraint)public boolean isSetConstraint()
isSetConstraint in interface XSDAttributeUseXSDAttributeUse.unsetConstraint(),
XSDAttributeUse.getConstraint(),
XSDAttributeUse.setConstraint(XSDConstraint)public XSDAttributeUseCategory getUse()
getUse in interface XSDAttributeUseXSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.setUse(XSDAttributeUseCategory),
XSDPackage.getXSDAttributeUse_Use()public void setUse(XSDAttributeUseCategory newUse)
setUse in interface XSDAttributeUsenewUse - the new value of the 'Use' attribute.XSDAttributeUseCategory,
XSDAttributeUse.isSetUse(),
XSDAttributeUse.unsetUse(),
XSDAttributeUse.getUse()public void unsetUse()
unsetUse in interface XSDAttributeUseXSDAttributeUse.isSetUse(),
XSDAttributeUse.getUse(),
XSDAttributeUse.setUse(XSDAttributeUseCategory)public boolean isSetUse()
isSetUse in interface XSDAttributeUseXSDAttributeUse.unsetUse(),
XSDAttributeUse.getUse(),
XSDAttributeUse.setUse(XSDAttributeUseCategory)public String getLexicalValue()
getLexicalValue in interface XSDAttributeUseXSDAttributeUse.setLexicalValue(String),
XSDPackage.getXSDAttributeUse_LexicalValue()public void setLexicalValue(String newLexicalValue)
setLexicalValue in interface XSDAttributeUsenewLexicalValue - the new value of the 'Lexical Value' attribute.XSDAttributeUse.getLexicalValue()public XSDAttributeDeclaration getAttributeDeclaration()
getAttributeDeclaration in interface XSDAttributeUseXSDAttributeUse.setAttributeDeclaration(XSDAttributeDeclaration),
XSDPackage.getXSDAttributeUse_AttributeDeclaration()public void setAttributeDeclaration(XSDAttributeDeclaration newAttributeDeclaration)
setAttributeDeclaration in interface XSDAttributeUsenewAttributeDeclaration - the new value of the 'Attribute Declaration' reference.XSDAttributeUse.getAttributeDeclaration()public XSDAttributeDeclaration getContent()
getContent in interface XSDAttributeUseXSDAttributeUse.setContent(XSDAttributeDeclaration),
XSDPackage.getXSDAttributeUse_Content()public void setContent(XSDAttributeDeclaration newContent)
setContent in interface XSDAttributeUsenewContent - the new value of the 'Content' containment reference.XSDAttributeUse.getContent()
public NotificationChain basicSetContent(XSDAttributeDeclaration newContent,
NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
eInverseRemove in interface InternalEObjecteInverseRemove in class XSDComponentImpl
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in interface EObjecteGet in class XSDComponentImpl
public void eSet(EStructuralFeature eFeature,
Object newValue)
eSet in interface EObjecteSet in class XSDComponentImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjecteUnset in class XSDComponentImplpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in interface EObjecteIsSet in class XSDComponentImplpublic String toString()
toString in class XSDConcreteComponentImplpublic Element createElement()
createElement in class XSDConcreteComponentImplprotected void patch()
patch in class XSDConcreteComponentImplprotected void patchHelper()
protected boolean analyze()
analyze in class XSDConcreteComponentImplpublic void validate()
XSDConcreteComponentDiagnostics are produced to report any problems.
validate in interface XSDConcreteComponentvalidate in class XSDConcreteComponentImplprotected Collection getContentNodes(Element changedElement)
getContentNodes in class XSDConcreteComponentImplprotected void reconcileAttributes(Element changedElement)
reconcileAttributes in class XSDConcreteComponentImplprotected void reconcileContents(Element changedElement)
reconcileContents in class XSDConcreteComponentImplprotected void changeAttribute(EAttribute eAttribute)
changeAttribute in class XSDConcreteComponentImpl
protected void adoptContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
adoptContent in class XSDConcreteComponentImpl
protected void orphanContent(EReference eReference,
XSDConcreteComponent xsdConcreteComponent)
orphanContent in class XSDConcreteComponentImpl
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 | ||||||||||