|
|||||||||||
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 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 basicSetContent(XSDAttributeDeclaration newContent, NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
eInverseRemove
in interface InternalEObject
eInverseRemove
in class XSDComponentImpl
public Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in interface EObject
eGet
in class XSDComponentImpl
public void eSet(EStructuralFeature eFeature, Object newValue)
eSet
in interface EObject
eSet
in class XSDComponentImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in interface EObject
eUnset
in class XSDComponentImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in interface EObject
eIsSet
in class XSDComponentImpl
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.
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-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |