|
||||||||||
| 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
public abstract class XSDFeatureImpl
An implementation of the model object 'Feature'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
|---|
XSDNamedComponentImpl.Comparator, XSDNamedComponentImpl.StringPairComparator, XSDNamedComponentImpl.XSDNamedComponentList<E extends java.lang.Object & XSDNamedComponent> |
| Nested classes/interfaces inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
|---|
XSDConcreteComponentImpl.XSDContentsEList |
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
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 static boolean |
FEATURE_REFERENCE_EDEFAULT
The default value of the ' Feature Reference' attribute |
protected XSDForm |
form
The cached value of the ' Form' attribute |
protected static XSDForm |
FORM_EDEFAULT
The default value of the ' Form' attribute |
protected static int |
FORM_ESETFLAG
The flag representing whether the Form attribute has been set |
protected static boolean |
GLOBAL_EDEFAULT
The default value of the ' Global' attribute |
protected static java.lang.String |
LEXICAL_VALUE_EDEFAULT
The default value of the ' Lexical Value' attribute |
protected java.lang.String |
lexicalValue
The cached value of the ' Lexical Value' attribute |
protected java.lang.Object |
value
The cached value of the ' Value' attribute |
protected static java.lang.Object |
VALUE_EDEFAULT
The default value of the ' Value' attribute |
| 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, 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 |
XSDFeatureImpl()
|
| Method Summary | |
|---|---|
protected boolean |
analyze()
|
protected void |
changeAttribute(EAttribute eAttribute)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
XSDConstraint |
getConstraint()
|
java.lang.Boolean |
getFeatureReference()
|
XSDForm |
getForm()
|
java.lang.Boolean |
getGlobal()
|
java.lang.String |
getLexicalValue()
|
XSDFeature |
getResolvedFeature()
Returns the value of the 'Resolved Feature' reference |
XSDScope |
getScope()
Returns the value of the 'Scope' reference |
XSDTypeDefinition |
getType()
Returns the value of the 'Type' reference |
java.lang.Object |
getValue()
|
boolean |
isFeatureReference()
Returns the value of the 'Feature Reference' attribute |
boolean |
isGlobal()
Returns the value of the 'Global' attribute |
boolean |
isSetConstraint()
|
boolean |
isSetForm()
|
protected boolean |
isUpdatingDOM()
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
void |
setConstraint(XSDConstraint newConstraint)
|
void |
setForm(XSDForm newForm)
|
void |
setLexicalValue(java.lang.String newLexicalValue)
|
void |
setValue(java.lang.Object newValue)
|
java.lang.String |
toString()
|
void |
unsetConstraint()
|
void |
unsetForm()
|
| 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.XSDNamedComponent |
|---|
getAliasName, getAliasURI, getName, getQName, 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, 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 java.lang.Object VALUE_EDEFAULT
Value' attribute.
getValue()protected java.lang.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 XSDForm FORM_EDEFAULT
Form' attribute.
getForm()protected XSDForm form
Form' attribute.
getForm()protected static final int FORM_ESETFLAG
protected static final java.lang.String LEXICAL_VALUE_EDEFAULT
Lexical Value' attribute.
getLexicalValue()protected java.lang.String lexicalValue
Lexical Value' attribute.
getLexicalValue()protected static final boolean GLOBAL_EDEFAULT
Global' attribute.
isGlobal(),
Constant Field Valuesprotected static final boolean FEATURE_REFERENCE_EDEFAULT
Feature Reference' attribute.
isFeatureReference(),
Constant Field Values| Constructor Detail |
|---|
protected XSDFeatureImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class XSDNamedComponentImplpublic java.lang.Object getValue()
getValue in interface XSDFeatureXSDFeature.setValue(Object),
XSDPackage.getXSDFeature_Value()public void setValue(java.lang.Object newValue)
setValue in interface XSDFeaturenewValue - the new value of the 'Value' attribute.XSDFeature.getValue()public XSDConstraint getConstraint()
getConstraint in interface XSDFeatureXSDConstraint,
XSDFeature.isSetConstraint(),
XSDFeature.unsetConstraint(),
XSDFeature.setConstraint(XSDConstraint),
XSDPackage.getXSDFeature_Constraint()public void setConstraint(XSDConstraint newConstraint)
setConstraint in interface XSDFeaturenewConstraint - the new value of the 'Constraint' attribute.XSDConstraint,
XSDFeature.isSetConstraint(),
XSDFeature.unsetConstraint(),
XSDFeature.getConstraint()public void unsetConstraint()
unsetConstraint in interface XSDFeatureXSDFeature.isSetConstraint(),
XSDFeature.getConstraint(),
XSDFeature.setConstraint(XSDConstraint)public boolean isSetConstraint()
isSetConstraint in interface XSDFeatureXSDFeature.unsetConstraint(),
XSDFeature.getConstraint(),
XSDFeature.setConstraint(XSDConstraint)public XSDForm getForm()
getForm in interface XSDFeatureXSDSchema.getAttributeFormDefault(),
XSDSchema.getElementFormDefault(),
XSDForm,
XSDFeature.isSetForm(),
XSDFeature.unsetForm(),
XSDFeature.setForm(XSDForm),
XSDPackage.getXSDFeature_Form()public void setForm(XSDForm newForm)
setForm in interface XSDFeaturenewForm - the new value of the 'Form' attribute.XSDForm,
XSDFeature.isSetForm(),
XSDFeature.unsetForm(),
XSDFeature.getForm()public void unsetForm()
unsetForm in interface XSDFeatureXSDFeature.isSetForm(),
XSDFeature.getForm(),
XSDFeature.setForm(XSDForm)public boolean isSetForm()
isSetForm in interface XSDFeatureXSDFeature.unsetForm(),
XSDFeature.getForm(),
XSDFeature.setForm(XSDForm)public java.lang.String getLexicalValue()
getLexicalValue in interface XSDFeatureXSDFeature.setLexicalValue(String),
XSDPackage.getXSDFeature_LexicalValue()public void setLexicalValue(java.lang.String newLexicalValue)
setLexicalValue in interface XSDFeaturenewLexicalValue - the new value of the 'Lexical Value' attribute.XSDFeature.getLexicalValue()public java.lang.Boolean getGlobal()
protected boolean analyze()
analyze in class XSDConcreteComponentImplprotected boolean isUpdatingDOM()
isUpdatingDOM in class XSDConcreteComponentImplprotected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes in class XSDNamedComponentImplprotected void changeAttribute(EAttribute eAttribute)
changeAttribute in class XSDNamedComponentImplpublic XSDScope getScope()
XSDFeatureThis represents the attribute scope or element scope infoset property.
getScope in interface XSDFeatureXSDPackage.getXSDFeature_Scope()public boolean isFeatureReference()
XSDFeature
This is the same result as either
the 'Element Reference' attribute or
the 'Attribute Reference' attribute.
isFeatureReference in interface XSDFeatureXSDPackage.getXSDFeature_FeatureReference()public XSDFeature getResolvedFeature()
XSDFeature
This is the same result as either
the 'Resolved Element Declaration' reference or
the 'Resolved Attribute Declaration' reference.
getResolvedFeature in interface XSDFeatureXSDPackage.getXSDFeature_ResolvedFeature()public java.lang.String toString()
toString in class XSDNamedComponentImplpublic boolean isGlobal()
XSDFeature
This indicates whether the feature is globally scoped.
Its value is false if the feature is declared within
a complex type definition,
an attribute group definition,
or a model group definition.
isGlobal in interface XSDFeatureXSDPackage.getXSDFeature_Global()public java.lang.Boolean getFeatureReference()
public XSDTypeDefinition getType()
XSDFeature
This is the same result as either
the element 'Type Definition' reference or
the attribute 'Type Definition' reference.
getType in interface XSDFeatureXSDPackage.getXSDFeature_Type()
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class XSDNamedComponentImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class XSDNamedComponentImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class XSDNamedComponentImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class XSDNamedComponentImpl
|
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 | |||||||||