org.eclipse.xsd.impl
Class XSDFixedFacetImpl
java.lang.Object
org.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.XSDFacetImpl
org.eclipse.xsd.impl.XSDConstrainingFacetImpl
org.eclipse.xsd.impl.XSDFixedFacetImpl
- All Implemented Interfaces:
- EObject, InternalEObject, Notifier, XSDComponent, XSDConcreteComponent, XSDConstrainingFacet, XSDFacet, XSDFixedFacet
- Direct Known Subclasses:
- XSDFractionDigitsFacetImpl, XSDLengthFacetImpl, XSDMaxFacetImpl, XSDMaxLengthFacetImpl, XSDMinFacetImpl, XSDMinLengthFacetImpl, XSDTotalDigitsFacetImpl, XSDWhiteSpaceFacetImpl
- public abstract class XSDFixedFacetImpl
- extends XSDConstrainingFacetImpl
- implements XSDFixedFacet
An implementation of the model object 'Fixed Facet'.
The following features are implemented:
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.XSDConcreteComponentImpl |
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ELEMENT_EDEFAULT, ERROR, FATAL, INFORMATION, isReconciling, UNANALYZED, updatingDOM, WARNING, xsdContents |
Methods inherited from class org.eclipse.xsd.impl.XSDConcreteComponentImpl |
adoptBy, adoptContent, adoptDiagnostic, analyze, 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, getURIReferenceLabel, getXSDContents, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, orphanDiagnostic, patch, 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 |
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore |
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 |
FIXED_EDEFAULT
protected static final boolean FIXED_EDEFAULT
- The default value of the '
Fixed
' attribute.
- See Also:
isFixed()
,
Constant Field Values
fixed
protected boolean fixed
- The cached value of the '
Fixed
' attribute.
- See Also:
isFixed()
fixedESet
protected boolean fixedESet
- This is true if the Fixed attribute has been set.
XSDFixedFacetImpl
protected XSDFixedFacetImpl()
createFixedFacet
public static XSDFixedFacet createFixedFacet(Node node)
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class XSDConstrainingFacetImpl
isFixed
public boolean isFixed()
-
- Specified by:
isFixed
in interface XSDFixedFacet
- Returns:
- the value of the 'Fixed' attribute.
- See Also:
XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.setFixed(boolean)
,
XSDPackage.getXSDFixedFacet_Fixed()
setFixed
public void setFixed(boolean newFixed)
-
- Specified by:
setFixed
in interface XSDFixedFacet
- Parameters:
newFixed
- the new value of the 'Fixed' attribute.- See Also:
XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.isFixed()
unsetFixed
public void unsetFixed()
-
- Specified by:
unsetFixed
in interface XSDFixedFacet
- See Also:
XSDFixedFacet.isSetFixed()
,
XSDFixedFacet.isFixed()
,
XSDFixedFacet.setFixed(boolean)
isSetFixed
public boolean isSetFixed()
-
- Specified by:
isSetFixed
in interface XSDFixedFacet
- Returns:
- whether the value of the 'Fixed' attribute is set.
- See Also:
XSDFixedFacet.unsetFixed()
,
XSDFixedFacet.isFixed()
,
XSDFixedFacet.setFixed(boolean)
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
-
- Specified by:
eInverseRemove
in interface InternalEObject
- Overrides:
eInverseRemove
in class XSDConstrainingFacetImpl
eGet
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet
in interface EObject
- Overrides:
eGet
in class XSDConstrainingFacetImpl
eSet
public void eSet(EStructuralFeature eFeature,
Object newValue)
-
- Specified by:
eSet
in interface EObject
- Overrides:
eSet
in class XSDConstrainingFacetImpl
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset
in interface EObject
- Overrides:
eUnset
in class XSDConstrainingFacetImpl
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet
in interface EObject
- Overrides:
eIsSet
in class XSDConstrainingFacetImpl
toString
public String toString()
-
- Overrides:
toString
in class XSDFacetImpl
validate
public void validate()
- Description copied from interface:
XSDConcreteComponent
- Validates whether this component conforms to the constraints defined in the XML Schema standard.
Diagnostics
are produced to report any problems.
- Specified by:
validate
in interface XSDConcreteComponent
- Overrides:
validate
in class XSDConstrainingFacetImpl
validateValue
protected void validateValue()
- Overrides:
validateValue
in class XSDFacetImpl
restrictionMatch
protected boolean restrictionMatch(XSDFixedFacet xsdFixedFacet)
validateRestriction
protected void validateRestriction(XSDFixedFacet xsdFixedFacet)
reconcileAttributes
protected void reconcileAttributes(Element changedElement)
- Overrides:
reconcileAttributes
in class XSDFacetImpl
changeAttribute
protected void changeAttribute(EAttribute eAttribute)
- Overrides:
changeAttribute
in class XSDFacetImpl