org.eclipse.xsd.impl
Class XSDFeatureImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--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
- All Implemented Interfaces:
- org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, XSDComponent, XSDConcreteComponent, XSDFeature, XSDNamedComponent
- Direct Known Subclasses:
- XSDAttributeDeclarationImpl, XSDElementDeclarationImpl
- public abstract class XSDFeatureImpl
- extends XSDNamedComponentImpl
- implements XSDFeature
An implementation of the model object 'Feature'.
The following features are implemented:
Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolderImpl |
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 |
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties |
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Methods inherited from class org.eclipse.xsd.impl.XSDNamedComponentImpl |
addToSortedList, adoptBy, findInSortedList, getAliasName, getAliasURI, getName, getQName, getQName, getResolvedNamedComponent, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, isNamedComponentReference, mergeToSortedList, patch, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents |
Methods inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
adoptContent, adoptDiagnostic, changeReference, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponent, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, createElement, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, elementAttributesChanged, elementChanged, elementContentsChanged, eNotificationRequired, eNotify, eObjectForURIFragmentSegment, eURIFragmentSegment, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getDiagnosticTarget, getElement, getRootContainer, getSchema, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, handleReconciliation, handleUnreconciledElement, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, orphanDiagnostic, printDFA, reconcile, reconcileContents, reportConstraintViolation, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setElementGen, setListContentAndOrder, traverseToRootForAnalysis, traverseToRootForPatching, updateElement, updateElement, updatePrefix, validate |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, eDeliver, eSetDeliver |
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.xsd.XSDConcreteComponent |
clearDiagnostics, cloneConcreteComponent, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, updateElement, updateElement, validate |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
VALUE_EDEFAULT
protected static final java.lang.Object VALUE_EDEFAULT
- The default value of the '
Value
' attribute.
- See Also:
getValue()
value
protected java.lang.Object value
- The cached value of the '
Value
' attribute.
- See Also:
getValue()
CONSTRAINT_EDEFAULT
protected static final XSDConstraint CONSTRAINT_EDEFAULT
- The default value of the '
Constraint
' attribute.
- See Also:
getConstraint()
constraint
protected XSDConstraint constraint
- The cached value of the '
Constraint
' attribute.
- See Also:
getConstraint()
constraintESet
protected boolean constraintESet
- This is true if the Constraint attribute has been set.
FORM_EDEFAULT
protected static final XSDForm FORM_EDEFAULT
- The default value of the '
Form
' attribute.
- See Also:
getForm()
form
protected XSDForm form
- The cached value of the '
Form
' attribute.
- See Also:
getForm()
formESet
protected boolean formESet
- This is true if the Form attribute has been set.
LEXICAL_VALUE_EDEFAULT
protected static final java.lang.String LEXICAL_VALUE_EDEFAULT
- The default value of the '
Lexical Value
' attribute.
- See Also:
getLexicalValue()
lexicalValue
protected java.lang.String lexicalValue
- The cached value of the '
Lexical Value
' attribute.
- See Also:
getLexicalValue()
XSDFeatureImpl
protected XSDFeatureImpl()
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
-
- Overrides:
eStaticClass
in class XSDNamedComponentImpl
getValue
public java.lang.Object getValue()
-
- Specified by:
getValue
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Value' attribute.
- See Also:
XSDFeature.setValue(Object)
,
XSDPackage.getXSDFeature_Value()
setValue
public void setValue(java.lang.Object newValue)
-
- Specified by:
setValue
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
XSDFeature.getValue()
getConstraint
public XSDConstraint getConstraint()
-
- Specified by:
getConstraint
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Constraint' attribute.
- See Also:
XSDConstraint
,
XSDFeature.isSetConstraint()
,
XSDFeature.unsetConstraint()
,
XSDFeature.setConstraint(XSDConstraint)
,
XSDPackage.getXSDFeature_Constraint()
setConstraint
public void setConstraint(XSDConstraint newConstraint)
-
- Specified by:
setConstraint
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Parameters:
value
- the new value of the 'Constraint' attribute.- See Also:
XSDConstraint
,
XSDFeature.isSetConstraint()
,
XSDFeature.unsetConstraint()
,
XSDFeature.getConstraint()
unsetConstraint
public void unsetConstraint()
-
- Specified by:
unsetConstraint
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- See Also:
XSDFeature.isSetConstraint()
,
XSDFeature.getConstraint()
,
XSDFeature.setConstraint(XSDConstraint)
isSetConstraint
public boolean isSetConstraint()
-
- Specified by:
isSetConstraint
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- whether the value of the 'Constraint' attribute is set.
- See Also:
XSDFeature.unsetConstraint()
,
XSDFeature.getConstraint()
,
XSDFeature.setConstraint(XSDConstraint)
getForm
public XSDForm getForm()
-
- Specified by:
getForm
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Form' attribute.
- See Also:
XSDSchema.getAttributeFormDefault()
,
XSDSchema.getElementFormDefault()
,
XSDForm
,
XSDFeature.isSetForm()
,
XSDFeature.unsetForm()
,
XSDFeature.setForm(XSDForm)
,
XSDPackage.getXSDFeature_Form()
setForm
public void setForm(XSDForm newForm)
-
- Specified by:
setForm
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Parameters:
value
- the new value of the 'Form' attribute.- See Also:
XSDForm
,
XSDFeature.isSetForm()
,
XSDFeature.unsetForm()
,
XSDFeature.getForm()
unsetForm
public void unsetForm()
-
- Specified by:
unsetForm
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- See Also:
XSDFeature.isSetForm()
,
XSDFeature.getForm()
,
XSDFeature.setForm(XSDForm)
isSetForm
public boolean isSetForm()
-
- Specified by:
isSetForm
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- whether the value of the 'Form' attribute is set.
- See Also:
XSDFeature.unsetForm()
,
XSDFeature.getForm()
,
XSDFeature.setForm(XSDForm)
getLexicalValue
public java.lang.String getLexicalValue()
-
- Specified by:
getLexicalValue
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Lexical Value' attribute.
- See Also:
XSDFeature.setLexicalValue(String)
,
XSDPackage.getXSDFeature_LexicalValue()
setLexicalValue
public void setLexicalValue(java.lang.String newLexicalValue)
-
- Specified by:
setLexicalValue
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Parameters:
value
- the new value of the 'Lexical Value' attribute.- See Also:
XSDFeature.getLexicalValue()
getGlobal
public java.lang.Boolean getGlobal()
-
analyze
protected boolean analyze()
- Overrides:
analyze
in class XSDConcreteComponentImpl
isUpdatingDOM
protected boolean isUpdatingDOM()
- Overrides:
isUpdatingDOM
in class XSDConcreteComponentImpl
reconcileAttributes
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
- Overrides:
reconcileAttributes
in class XSDNamedComponentImpl
changeAttribute
protected void changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
- Overrides:
changeAttribute
in class XSDNamedComponentImpl
getScope
public XSDScope getScope()
- Description copied from interface:
XSDFeature
- Returns the value of the 'Scope' reference.
This represents the
attribute scope or
element scope
infoset property.
- Specified by:
getScope
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Scope' reference.
- See Also:
XSDPackage.getXSDFeature_Scope()
isFeatureReference
public boolean isFeatureReference()
- Description copied from interface:
XSDFeature
- Returns the value of the 'Feature Reference' attribute.
This is the same result as either
the 'Element Reference
' attribute or
the 'Attribute Reference
' attribute.
- Specified by:
isFeatureReference
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Feature Reference' attribute.
- See Also:
XSDPackage.getXSDFeature_FeatureReference()
getResolvedFeature
public XSDFeature getResolvedFeature()
- Description copied from interface:
XSDFeature
- Returns the value of the 'Resolved Feature' reference.
This is the same result as either
the 'Resolved Element Declaration
' reference or
the 'Resolved Attribute Declaration
' reference.
- Specified by:
getResolvedFeature
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Resolved Feature' reference.
- See Also:
XSDPackage.getXSDFeature_ResolvedFeature()
toString
public java.lang.String toString()
-
- Overrides:
toString
in class XSDNamedComponentImpl
isGlobal
public boolean isGlobal()
- Description copied from interface:
XSDFeature
- Returns the value of the 'Global' attribute.
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
.
- Specified by:
isGlobal
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Global' attribute.
- See Also:
XSDPackage.getXSDFeature_Global()
getFeatureReference
public java.lang.Boolean getFeatureReference()
-
getType
public XSDTypeDefinition getType()
- Description copied from interface:
XSDFeature
- Returns the value of the 'Type' reference.
This is the same result as either
the element 'Type Definition
' reference or
the attribute 'Type Definition
' reference.
- Specified by:
getType
in interface XSDFeature
- Following copied from interface:
org.eclipse.xsd.XSDFeature
- Returns:
- the value of the 'Type' reference.
- See Also:
XSDPackage.getXSDFeature_Type()
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class XSDNamedComponentImpl
eGet
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eGet
in class XSDNamedComponentImpl
eSet
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eSet
in class XSDNamedComponentImpl
eUnset
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
-
- Specified by:
eUnset
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eUnset
in class XSDNamedComponentImpl
eIsSet
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
-
- Specified by:
eIsSet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eIsSet
in class XSDNamedComponentImpl