org.eclipse.xsd.impl
Class XSDMinExclusiveFacetImpl

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.XSDMinFacetImpl
                                                  |
                                                  +--org.eclipse.xsd.impl.XSDMinExclusiveFacetImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, XSDComponent, XSDConcreteComponent, XSDConstrainingFacet, XSDFacet, XSDFixedFacet, XSDMinExclusiveFacet, XSDMinFacet

public class XSDMinExclusiveFacetImpl
extends XSDMinFacetImpl
implements XSDMinExclusiveFacet

An implementation of the model object 'Min Exclusive Facet'.


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
 
Fields inherited from class org.eclipse.xsd.impl.XSDMinFacetImpl
value, VALUE_EDEFAULT
 
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 XSDMinExclusiveFacetImpl()
           
 
Method Summary
protected  boolean analyze()
           
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 XSDMinExclusiveFacet createMinExclusiveFacet(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.
 boolean isConstraintSatisfied(java.lang.Object value)
          Returns whether the given value satisfies the constraint of this facet.
 boolean isExclusive()
          Returns the value of the 'Exclusive' attribute.
 
Methods inherited from class org.eclipse.xsd.impl.XSDMinFacetImpl
getExclusive, getInclusive, getValue, isInclusive, restrictionMatch, setValue, toString, validate, validateRestriction, validateValue
 
Methods inherited from class org.eclipse.xsd.impl.XSDFixedFacetImpl
createFixedFacet, isFixed, isSetFixed, reconcileAttributes, setFixed, unsetFixed
 
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.xsd.impl.XSDConcreteComponentImpl
adoptBy, adoptContent, adoptDiagnostic, changeReference, checkAttributes, checkAttributeTypeConstraint, checkAttributeTypeConstraint, checkBuiltInTypeConstraint, checkComplexContent, checkComplexContent, checkElementComplexContent, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createDiagnostic, createDiagnostic, 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, handleReconciliation, handleUnreconciledElement, 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
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.XSDMinFacet
getValue, isInclusive, setValue
 
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.xsd.XSDConcreteComponent
clearDiagnostics, 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
 

Constructor Detail

XSDMinExclusiveFacetImpl

protected XSDMinExclusiveFacetImpl()
Method Detail

createMinExclusiveFacet

public static XSDMinExclusiveFacet createMinExclusiveFacet(org.w3c.dom.Node node)

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()
Overrides:
eStaticClass in class XSDMinFacetImpl

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 XSDMinFacetImpl

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 XSDMinFacetImpl

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 XSDMinFacetImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class XSDMinFacetImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class XSDMinFacetImpl

createElement

public org.w3c.dom.Element createElement()
Overrides:
createElement in class XSDConcreteComponentImpl

analyze

protected boolean analyze()
Overrides:
analyze in class XSDConcreteComponentImpl

changeAttribute

protected void changeAttribute(org.eclipse.emf.ecore.EAttribute eAttribute)
Overrides:
changeAttribute in class XSDFixedFacetImpl

isConstraintSatisfied

public boolean isConstraintSatisfied(java.lang.Object value)
Description copied from interface: XSDConstrainingFacet
Returns whether the given value satisfies the constraint of this facet.
Specified by:
isConstraintSatisfied in interface XSDConstrainingFacet
Overrides:
isConstraintSatisfied in class XSDConstrainingFacetImpl
Following copied from interface: org.eclipse.xsd.XSDConstrainingFacet
Parameters:
value - an arbitrary value.
Returns:
whether the value satisfies the constraint of this facet.

getEffectiveValue

public java.lang.Object getEffectiveValue()
Description copied from interface: XSDFacet
Returns the value of the 'Effective Value' attribute.

This represents a generic version of the value infoset property of this facet.

Specified by:
getEffectiveValue in interface XSDFacet
Overrides:
getEffectiveValue in class XSDFacetImpl
Following copied from interface: org.eclipse.xsd.XSDFacet
Returns:
the value of the 'Effective Value' attribute.
See Also:
XSDPackage.getXSDFacet_EffectiveValue()

isExclusive

public boolean isExclusive()
Description copied from interface: XSDMinFacet
Returns the value of the 'Exclusive' attribute.

Specified by:
isExclusive in interface XSDMinFacet
Overrides:
isExclusive in class XSDMinFacetImpl
Following copied from interface: org.eclipse.xsd.XSDMinFacet
Returns:
the value of the 'Exclusive' attribute.
See Also:
XSDPackage.getXSDMinFacet_Exclusive()

cloneConcreteComponent

public XSDConcreteComponent cloneConcreteComponent(boolean deep,
                                                   boolean shareDOM)
Description copied from interface: XSDConcreteComponent
Creates a clone of the component. The clone may be deep and may share the DOM of this component.
Specified by:
cloneConcreteComponent in interface XSDConcreteComponent
Overrides:
cloneConcreteComponent in class XSDConcreteComponentImpl
Following copied from interface: org.eclipse.xsd.XSDConcreteComponent
Parameters:
deep - whether the clone should be deep.
shareDOM - whether the clone should share the original DOM
Returns:
a clone of the component.

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.