|
|||||||||
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 | +--org.eclipse.xsd.impl.XSDTotalDigitsFacetImpl
An implementation of the model object 'Total Digits 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 |
Field Summary | |
protected int |
value
The cached value of the ' Value ' attribute. |
protected static int |
VALUE_EDEFAULT
The default value of the ' Value ' attribute. |
Fields inherited from class org.eclipse.xsd.impl.XSDFixedFacetImpl |
fixed, FIXED_EDEFAULT, fixedESet |
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 |
XSDTotalDigitsFacetImpl()
|
Method Summary | |
protected void |
changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
|
XSDConcreteComponent |
cloneConcreteComponent(boolean deep,
boolean shareDOM)
Creates a clone of the component. |
org.w3c.dom.Element |
createElement()
|
static XSDTotalDigitsFacet |
createTotalDigitsFacet(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)
|
java.lang.Object |
getEffectiveValue()
Returns the value of the 'Effective Value' attribute. |
int |
getValue()
|
boolean |
isConstraintSatisfied(java.lang.Object value)
Returns whether the given value satisfies the constraint of this facet. |
void |
setValue(int newValue)
|
java.lang.String |
toString()
|
protected void |
validateRestriction(XSDFixedFacet xsdFixedFacet)
|
protected void |
validateValue()
|
Methods inherited from class org.eclipse.xsd.impl.XSDFixedFacetImpl |
createFixedFacet, isFixed, isSetFixed, reconcileAttributes, restrictionMatch, setFixed, unsetFixed, validate |
Methods inherited from class org.eclipse.xsd.impl.XSDConstrainingFacetImpl |
createConstrainingFacet |
Methods inherited from class org.eclipse.xsd.impl.XSDFacetImpl |
basicSetAnnotation, getAnnotation, getFacetName, getLexicalValue, getSimpleTypeDefinition, setAnnotation, setLexicalValue |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings |
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.XSDFixedFacet |
isFixed, isSetFixed, setFixed, unsetFixed |
Methods inherited from interface org.eclipse.xsd.XSDFacet |
getAnnotation, 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 int VALUE_EDEFAULT
Value
' attribute.
getValue()
protected int value
Value
' attribute.
getValue()
Constructor Detail |
protected XSDTotalDigitsFacetImpl()
Method Detail |
public static XSDTotalDigitsFacet createTotalDigitsFacet(org.w3c.dom.Node node)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class XSDFixedFacetImpl
public int getValue()
getValue
in interface XSDTotalDigitsFacet
org.eclipse.xsd.XSDTotalDigitsFacet
XSDTotalDigitsFacet.setValue(int)
,
XSDPackage.getXSDTotalDigitsFacet_Value()
public void setValue(int newValue)
setValue
in interface XSDTotalDigitsFacet
org.eclipse.xsd.XSDTotalDigitsFacet
value
- the new value of the 'Value' attribute.XSDTotalDigitsFacet.getValue()
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 XSDFixedFacetImpl
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
eGet
in class XSDFixedFacetImpl
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
eSet
in class XSDFixedFacetImpl
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset
in interface org.eclipse.emf.ecore.EObject
eUnset
in class XSDFixedFacetImpl
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
eIsSet
in class XSDFixedFacetImpl
public java.lang.String toString()
toString
in class XSDFixedFacetImpl
public org.w3c.dom.Element createElement()
createElement
in class XSDConcreteComponentImpl
protected void validateValue()
validateValue
in class XSDFixedFacetImpl
protected void validateRestriction(XSDFixedFacet xsdFixedFacet)
validateRestriction
in class XSDFixedFacetImpl
protected void changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
changeAttribute
in class XSDFixedFacetImpl
public boolean isConstraintSatisfied(java.lang.Object value)
XSDConstrainingFacet
isConstraintSatisfied
in interface XSDConstrainingFacet
isConstraintSatisfied
in class XSDConstrainingFacetImpl
org.eclipse.xsd.XSDConstrainingFacet
value
- an arbitrary value.public java.lang.Object getEffectiveValue()
XSDFacet
This represents a generic version of the value
infoset property of this facet.
getEffectiveValue
in interface XSDFacet
getEffectiveValue
in class XSDFacetImpl
org.eclipse.xsd.XSDFacet
XSDPackage.getXSDFacet_EffectiveValue()
public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
XSDConcreteComponent
cloneConcreteComponent
in interface XSDConcreteComponent
cloneConcreteComponent
in class XSDConcreteComponentImpl
org.eclipse.xsd.XSDConcreteComponent
deep
- whether the clone should be deep.shareDOM
- whether the clone should share the original DOM
|
Copyright 2001-2002 IBM Corporation and others. All Rights Reserved. |
||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |