|
|||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.XSDFacetImpl | +--org.eclipse.xsd.impl.XSDConstrainingFacetImpl | +--org.eclipse.xsd.impl.XSDFixedFacetImpl
An implementation of the model object 'Fixed Facet'.
The following features are implemented:
Inner classes inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
XSDConcreteComponentImpl.XSDContentsEList |
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 |
Field Summary | |
protected boolean |
fixed
The cached value of the ' Fixed ' attribute. |
protected static boolean |
FIXED_EDEFAULT
The default value of the ' Fixed ' attribute. |
protected boolean |
fixedESet
This is true if the Fixed attribute has been set. |
Fields inherited from class org.eclipse.xsd.impl.XSDFacetImpl |
annotation, LEXICAL_VALUE_EDEFAULT, lexicalValue |
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 |
Constructor Summary | |
protected |
XSDFixedFacetImpl()
|
Method Summary | |
protected void |
changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
|
static XSDFixedFacet |
createFixedFacet(org.w3c.dom.Node node)
|
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
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)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
boolean |
isFixed()
|
boolean |
isSetFixed()
|
protected void |
reconcileAttributes(org.w3c.dom.Element changedElement)
|
protected boolean |
restrictionMatch(XSDFixedFacet xsdFixedFacet)
|
void |
setFixed(boolean newFixed)
|
java.lang.String |
toString()
|
void |
unsetFixed()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
protected void |
validateRestriction(XSDFixedFacet xsdFixedFacet)
|
protected void |
validateValue()
|
Methods inherited from class org.eclipse.xsd.impl.XSDConstrainingFacetImpl |
createConstrainingFacet, isConstraintSatisfied |
Methods inherited from class org.eclipse.xsd.impl.XSDFacetImpl |
basicSetAnnotation, getAnnotation, getEffectiveValue, getFacetName, getLexicalValue, getSimpleTypeDefinition, handleReconciliation, handleUnreconciledElement, setAnnotation, setLexicalValue |
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.XSDConstrainingFacet |
isConstraintSatisfied |
Methods inherited from interface org.eclipse.xsd.XSDFacet |
getAnnotation, getEffectiveValue, getFacetName, getLexicalValue, getSimpleTypeDefinition, setAnnotation, setLexicalValue |
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 |
Field Detail |
protected static final boolean FIXED_EDEFAULT
Fixed
' attribute.
isFixed()
protected boolean fixed
Fixed
' attribute.
isFixed()
protected boolean fixedESet
Constructor Detail |
protected XSDFixedFacetImpl()
Method Detail |
public static XSDFixedFacet createFixedFacet(org.w3c.dom.Node node)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class XSDConstrainingFacetImpl
public boolean isFixed()
isFixed
in interface XSDFixedFacet
org.eclipse.xsd.XSDFixedFacet
XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.setFixed(boolean)
,
XSDPackage.getXSDFixedFacet_Fixed()
public void setFixed(boolean newFixed)
setFixed
in interface XSDFixedFacet
org.eclipse.xsd.XSDFixedFacet
value
- the new value of the 'Fixed' attribute.XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.isFixed()
public void unsetFixed()
unsetFixed
in interface XSDFixedFacet
org.eclipse.xsd.XSDFixedFacet
XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.isFixed()
,
XSDFixedFacet.setFixed(boolean)
public boolean isSetFixed()
isSetFixed
in interface XSDFixedFacet
org.eclipse.xsd.XSDFixedFacet
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.isFixed()
,
XSDFixedFacet.setFixed(boolean)
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)
eInverseRemove
in class XSDConstrainingFacetImpl
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
eGet
in class XSDConstrainingFacetImpl
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
eSet
in class XSDConstrainingFacetImpl
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset
in interface org.eclipse.emf.ecore.EObject
eUnset
in class XSDConstrainingFacetImpl
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
eIsSet
in class XSDConstrainingFacetImpl
public java.lang.String toString()
toString
in class XSDFacetImpl
public void validate()
XSDConcreteComponent
Diagnostics
are produced to report any problems.validate
in interface XSDConcreteComponent
validate
in class XSDConstrainingFacetImpl
org.eclipse.xsd.XSDConcreteComponent
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
protected void validateValue()
validateValue
in class XSDFacetImpl
protected boolean restrictionMatch(XSDFixedFacet xsdFixedFacet)
protected void validateRestriction(XSDFixedFacet xsdFixedFacet)
protected void reconcileAttributes(org.w3c.dom.Element changedElement)
reconcileAttributes
in class XSDFacetImpl
protected void changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
changeAttribute
in class XSDFacetImpl
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |