|
|||||||||||
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.EPropertiesHolderBaseImpl, 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 static int |
CONSTRAINT_ESETFLAG
The flag representing whether 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 static boolean |
REQUIRED_EDEFAULT
The default value of the ' Required ' attribute |
protected static int |
REQUIRED_EFLAG
The flag representing the 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 static int |
USE_ESETFLAG
The flag representing whether 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, 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 |
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, 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 boolean REQUIRED_EDEFAULT
Required
' attribute.
isRequired()
,
Constant Field Valuesprotected static final int REQUIRED_EFLAG
Required
' attribute.
isRequired()
,
Constant Field Valuesprotected 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 static final int CONSTRAINT_ESETFLAG
protected static final XSDAttributeUseCategory USE_EDEFAULT
Use
' attribute.
getUse()
protected XSDAttributeUseCategory use
Use
' attribute.
getUse()
protected static final int USE_ESETFLAG
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 XSDComponentImpl
public boolean isRequired()
isRequired
in interface XSDAttributeUse
XSDAttributeUse.setRequired(boolean)
,
XSDPackage.getXSDAttributeUse_Required()
public void setRequired(boolean newRequired)
setRequired
in interface XSDAttributeUse
newRequired
- the new value of the 'Required' attribute.XSDAttributeUse.isRequired()
public Object getValue()
getValue
in interface XSDAttributeUse
XSDAttributeUse.setValue(Object)
,
XSDPackage.getXSDAttributeUse_Value()
public void setValue(Object newValue)
setValue
in interface XSDAttributeUse
newValue
- the new value of the 'Value' attribute.XSDAttributeUse.getValue()
public XSDConstraint getConstraint()
getConstraint
in interface XSDAttributeUse
XSDConstraint
,
XSDAttributeUse.isSetConstraint()
,
XSDAttributeUse.unsetConstraint()
,
XSDAttributeUse.setConstraint(XSDConstraint)
,
XSDPackage.getXSDAttributeUse_Constraint()
public void setConstraint(XSDConstraint newConstraint)
setConstraint
in interface XSDAttributeUse
newConstraint
- the new value of the 'Constraint' attribute.XSDConstraint
,
XSDAttributeUse.isSetConstraint()
,
XSDAttributeUse.unsetConstraint()
,
XSDAttributeUse.getConstraint()
public void unsetConstraint()
unsetConstraint
in interface XSDAttributeUse
XSDAttributeUse.isSetConstraint()
,
XSDAttributeUse.getConstraint()
,
XSDAttributeUse.setConstraint(XSDConstraint)
public boolean isSetConstraint()
isSetConstraint
in interface XSDAttributeUse
XSDAttributeUse.unsetConstraint()
,
XSDAttributeUse.getConstraint()
,
XSDAttributeUse.setConstraint(XSDConstraint)
public XSDAttributeUseCategory getUse()
getUse
in interface XSDAttributeUse
XSDAttributeUseCategory
,
XSDAttributeUse.isSetUse()
,
XSDAttributeUse.unsetUse()
,
XSDAttributeUse.setUse(XSDAttributeUseCategory)
,
XSDPackage.getXSDAttributeUse_Use()
public void setUse(XSDAttributeUseCategory newUse)
setUse
in interface XSDAttributeUse
newUse
- the new value of the 'Use' attribute.XSDAttributeUseCategory
,
XSDAttributeUse.isSetUse()
,
XSDAttributeUse.unsetUse()
,
XSDAttributeUse.getUse()
public void unsetUse()
unsetUse
in interface XSDAttributeUse
XSDAttributeUse.isSetUse()
,
XSDAttributeUse.getUse()
,
XSDAttributeUse.setUse(XSDAttributeUseCategory)
public boolean isSetUse()
isSetUse
in interface XSDAttributeUse
XSDAttributeUse.unsetUse()
,
XSDAttributeUse.getUse()
,
XSDAttributeUse.setUse(XSDAttributeUseCategory)
public String getLexicalValue()
getLexicalValue
in interface XSDAttributeUse
XSDAttributeUse.setLexicalValue(String)
,
XSDPackage.getXSDAttributeUse_LexicalValue()
public void setLexicalValue(String newLexicalValue)
setLexicalValue
in interface XSDAttributeUse
newLexicalValue
- the new value of the 'Lexical Value' attribute.XSDAttributeUse.getLexicalValue()
public XSDAttributeDeclaration getAttributeDeclaration()
getAttributeDeclaration
in interface XSDAttributeUse
XSDAttributeUse.setAttributeDeclaration(XSDAttributeDeclaration)
,
XSDPackage.getXSDAttributeUse_AttributeDeclaration()
public void setAttributeDeclaration(XSDAttributeDeclaration newAttributeDeclaration)
setAttributeDeclaration
in interface XSDAttributeUse
newAttributeDeclaration
- the new value of the 'Attribute Declaration' reference.XSDAttributeUse.getAttributeDeclaration()
public XSDAttributeDeclaration getContent()
getContent
in interface XSDAttributeUse
XSDAttributeUse.setContent(XSDAttributeDeclaration)
,
XSDPackage.getXSDAttributeUse_Content()
public void setContent(XSDAttributeDeclaration newContent)
setContent
in interface XSDAttributeUse
newContent
- the new value of the 'Content' containment reference.XSDAttributeUse.getContent()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class XSDConcreteComponentImpl
public NotificationChain basicSetContent(XSDAttributeDeclaration newContent, NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class XSDConcreteComponentImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class XSDConcreteComponentImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class XSDConcreteComponentImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class XSDConcreteComponentImpl
public String toString()
toString
in class XSDConcreteComponentImpl
public Element createElement()
createElement
in class XSDConcreteComponentImpl
protected void patch()
patch
in class XSDConcreteComponentImpl
protected void patchHelper()
protected boolean analyze()
analyze
in class XSDConcreteComponentImpl
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
protected Collection getContentNodes(Element changedElement)
getContentNodes
in class XSDConcreteComponentImpl
protected void reconcileAttributes(Element changedElement)
reconcileAttributes
in class XSDConcreteComponentImpl
protected void reconcileContents(Element changedElement)
reconcileContents
in class XSDConcreteComponentImpl
protected 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 XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
|
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 |