|
|||||||||
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.XSDMinLengthFacetImpl
An implementation of the model object 'Min Length 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 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 |
XSDMinLengthFacetImpl()
|
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 XSDMinLengthFacet |
createMinLengthFacet(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()
|
void |
validate()
Validates whether this component conforms to the constraints defined in the XML Schema standard. |
protected void |
validateRestriction(XSDFixedFacet xsdFixedFacet)
|
Methods inherited from class org.eclipse.xsd.impl.XSDFixedFacetImpl |
createFixedFacet, isFixed, isSetFixed, reconcileAttributes, restrictionMatch, setFixed, unsetFixed, validateValue |
Methods inherited from class org.eclipse.xsd.impl.XSDConstrainingFacetImpl |
createConstrainingFacet |
Methods inherited from class org.eclipse.xsd.impl.XSDFacetImpl |
basicSetAnnotation, getAnnotation, 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.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 XSDMinLengthFacetImpl()
Method Detail |
public static XSDMinLengthFacet createMinLengthFacet(org.w3c.dom.Node node)
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class XSDFixedFacetImpl
public int getValue()
getValue
in interface XSDMinLengthFacet
org.eclipse.xsd.XSDMinLengthFacet
XSDMinLengthFacet.setValue(int)
,
XSDPackage.getXSDMinLengthFacet_Value()
public void setValue(int newValue)
setValue
in interface XSDMinLengthFacet
org.eclipse.xsd.XSDMinLengthFacet
value
- the new value of the 'Value' attribute.XSDMinLengthFacet.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
public void validate()
XSDConcreteComponent
Diagnostics
are produced to report any problems.validate
in interface XSDConcreteComponent
validate
in class XSDFixedFacetImpl
org.eclipse.xsd.XSDConcreteComponent
XSDConcreteComponent.getDiagnostics()
,
XSDConcreteComponent.clearDiagnostics()
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-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 |