com.ibm.etools.xsd.impl
Class XSDMaxFacetImpl

java.lang.Object
  |
  +--com.ibm.etools.emf.notify.impl.NotifierImpl
        |
        +--com.ibm.etools.emf.ref.impl.RefBaseObjectImpl
              |
              +--com.ibm.etools.emf.ref.impl.RefObjectImpl
                    |
                    +--com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
                          |
                          +--com.ibm.etools.xsd.impl.XSDComponentImpl
                                |
                                +--com.ibm.etools.xsd.impl.XSDFacetImpl
                                      |
                                      +--com.ibm.etools.xsd.impl.XSDConstrainingFacetImpl
                                            |
                                            +--com.ibm.etools.xsd.impl.XSDFixedFacetImpl
                                                  |
                                                  +--com.ibm.etools.xsd.impl.XSDMaxFacetImpl
All Implemented Interfaces:
com.ibm.etools.emf.notify.InternalNotifier, com.ibm.etools.emf.ref.InternalProxy, com.ibm.etools.emf.ref.InternalResolved, com.ibm.etools.emf.ref.Internals, com.ibm.etools.emf.notify.Notifier, com.ibm.etools.emf.ref.RefBaseObject, com.ibm.etools.emf.ref.RefObject, com.ibm.etools.emf.resource.ResourceSetReference, XSDComponent, XSDConcreteComponent, XSDConstrainingFacet, XSDFacet, XSDFixedFacet, XSDMaxFacet
Direct Known Subclasses:
XSDMaxExclusiveFacetImpl, XSDMaxInclusiveFacetImpl

public class XSDMaxFacetImpl
extends XSDFixedFacetImpl
implements XSDMaxFacet, XSDFixedFacet


Field Summary
static java.lang.String copyright
           
protected  java.lang.Object value
          The cached value of the 'Value' attribute.
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDFixedFacetImpl
fixed
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDFacetImpl
annotation, lexicalValue
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ERROR, FATAL, INFORMATION, isReconciling, owner, rootOwner, schema, UNANALYZED, updatingDOM, WARNING
 
Fields inherited from class com.ibm.etools.emf.ref.impl.RefObjectImpl
refDelegateOwner
 
Fields inherited from class com.ibm.etools.emf.ref.impl.RefBaseObjectImpl
helper
 
Fields inherited from class com.ibm.etools.emf.notify.impl.NotifierImpl
debug, isOn, isOnAll
 
Fields inherited from interface com.ibm.etools.emf.notify.Notifier
ADD, ADD_MANY, CREATE, MOVE, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, SET, TOUCH, UNSET
 
Constructor Summary
protected XSDMaxFacetImpl()
           
 
Method Summary
 com.ibm.etools.emf.ecore.EClass eClassXSDMaxFacet()
          
 XSDPackage ePackageXSD()
          
 java.lang.Boolean getExclusive()
          
 java.lang.Boolean getInclusive()
          
 java.lang.Object getValue()
          
 com.ibm.etools.emf.ref.RefObject initInstance()
          
 boolean isExclusive()
          Returns whether the object is 'Exclusive'.
 boolean isInclusive()
          Returns whether the object is 'Inclusive'.
 boolean isSetValue()
          
 com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature, java.lang.Object newValue)
          
 com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 boolean refIsSet(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 void refSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature, java.lang.Object newValue)
          
 void refUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
 java.lang.Object refValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
          
protected  boolean restrictionMatch(XSDFixedFacet xsdFixedFacet)
           
 void setValue(java.lang.Object value)
          
 java.lang.String toString()
          
 void unsetValue()
          
 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 com.ibm.etools.xsd.impl.XSDFixedFacetImpl
changeAttribute, createFixedFacet, eClassXSDFixedFacet, getFixed, isFixed, isSetFixed, reconcileAttributes, setFixed, setFixed, unsetFixed
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDConstrainingFacetImpl
createConstrainingFacet, eClassXSDConstrainingFacet, isConstraintSatisfied
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDFacetImpl
eClassXSDFacet, getAnnotation, getEffectiveValue, getFacetName, getLexicalValue, getSimpleTypeDefinition, isSetAnnotation, isSetLexicalValue, setAnnotation, setLexicalValue, unsetAnnotation, unsetLexicalValue
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDComponentImpl
eClassXSDComponent
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
adoptBy, adoptContent, adoptDiagnostic, analyze, changeReference, checkAttributes, checkBuiltInTypeConstraint, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponent, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createElement, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getElement, getOwner, getOwnerGen, getRootContainer, getRootOwner, getSchema, getURIReferenceLabel, getURIReferencePath, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, handleReconciliation, handleUnreconciledElement, internalNotify, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, orphanDiagnostic, patch, 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, setOwner, setRootOwner, setSchema, traverseToRootForAnalysis, traverseToRootForPatching, unsetElement, unsetElementGen, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement
 
Methods inherited from class com.ibm.etools.emf.ref.impl.RefObjectImpl
getAdapter, initInstanceDelegates, newCollection, newCollection, newCollection, notify, notify, refAddValue, refAddValueAt, refAddValueBefore, refBasicContains, refBasicRemoveContent, refBasicRemoveValue, refBasicValues, refContainer, refContains, refCurrentValues, refDelegateOwner, refDelete, refGetDefaultValues, refIsDelegate, refModifyValue, refModifyValueAt, refRemoveContent, refRemoveValue, refRemoveValueAt, refResource, refSetDelegateOwner, refSetValueForContainMVReference, refSetValueForContainSVReference, refSetValueForEnumAttribute, refSetValueForMVReference, refSetValueForRefObjectSF, refSetValueForSimpleSF, refSetValueForSVReference, refUnsetValueForContainReference, refUnsetValueForMVReference, refUnsetValueForRefObjectSF, refUnsetValueForSimpleSF, refUnsetValueForSVReference
 
Methods inherited from class com.ibm.etools.emf.ref.impl.RefBaseObjectImpl
getImplementationHelper, getRegisteredAdapterFactory, getResourceSet, initDelegates, metaObject, refAttributes, refBasicContainsExtent, refBasicSetContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContainsExtent, refContainsNested, refCreateProxy, refDefiningPackage, refExtent, refFindUnloadedObjectsContains, refGetProxyURI, refHref, refID, refImmediatePackage, refIsContainer, refIsDeleted, refIsProxy, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refSetContainer, refSetContainer, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetProxyURI, refSetUUID, refSetUUID, refSetUUID, resolve, resolve, resolved, resolveDelete
 
Methods inherited from class com.ibm.etools.emf.notify.impl.NotifierImpl
addAdapter, ensureAdapterSpace, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.xsd.XSDFixedFacet
eClassXSDFixedFacet, getFixed, isFixed, isSetFixed, setFixed, setFixed, unsetFixed
 
Methods inherited from interface com.ibm.etools.xsd.XSDConstrainingFacet
eClassXSDConstrainingFacet, isConstraintSatisfied
 
Methods inherited from interface com.ibm.etools.xsd.XSDFacet
eClassXSDFacet, getAnnotation, getEffectiveValue, getFacetName, getLexicalValue, getSimpleTypeDefinition, isSetAnnotation, isSetLexicalValue, setAnnotation, setLexicalValue, unsetAnnotation, unsetLexicalValue
 
Methods inherited from interface com.ibm.etools.xsd.XSDComponent
eClassXSDComponent
 
Methods inherited from interface com.ibm.etools.xsd.XSDConcreteComponent
clearDiagnostics, cloneConcreteComponent, contains, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getOwner, getRootContainer, getRootOwner, getSchema, getURIReferencePath, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, 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, setOwner, setRootOwner, setSchema, unsetElement, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement
 
Methods inherited from interface com.ibm.etools.emf.ref.RefObject
refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner
 
Methods inherited from interface com.ibm.etools.emf.ref.RefBaseObject
metaObject, refAttributes, refContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContains, refContainsExtent, refContainsNested, refDelete, refExtent, refID, refImmediatePackage, refIsContainer, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refRemoveContent, refResource, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetUUID, refSetUUID, refSetUUID
 
Methods inherited from interface com.ibm.etools.emf.notify.Notifier
addAdapter, getAdapter, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, notify, notify, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll
 
Methods inherited from interface com.ibm.etools.emf.resource.ResourceSetReference
getResourceSet
 
Methods inherited from interface com.ibm.etools.emf.ref.Internals
refBasicContainsExtent, refBasicSetContainer, refSetContainer, refSetContainer
 

Field Detail

copyright

public static final java.lang.String copyright

value

protected java.lang.Object value
The cached value of the 'Value' attribute.
See Also:
getValue()
Constructor Detail

XSDMaxFacetImpl

protected XSDMaxFacetImpl()
Method Detail

ePackageXSD

public XSDPackage ePackageXSD()
Specified by:
ePackageXSD in interface XSDConcreteComponent
Overrides:
ePackageXSD in class XSDFixedFacetImpl
Following copied from interface: com.ibm.etools.xsd.XSDConcreteComponent
Returns:
the meta package of XSDConcreteComponent.

eClassXSDMaxFacet

public com.ibm.etools.emf.ecore.EClass eClassXSDMaxFacet()
Specified by:
eClassXSDMaxFacet in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
Returns:
the meta class.
See Also:
XSDPackage.getXSDMaxFacet(), XSDConcreteComponent.ePackageXSD()

initInstance

public com.ibm.etools.emf.ref.RefObject initInstance()
Specified by:
initInstance in interface com.ibm.etools.emf.ref.RefObject
Overrides:
initInstance in class XSDFixedFacetImpl

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
Returns:
the value of the 'Value' attribute.
See Also:
XSDMaxFacet.isSetValue(), XSDMaxFacet.unsetValue(), XSDMaxFacet.setValue(java.lang.Object), XSDPackage.getXSDMaxFacet_Value()

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
Parameters:
value - the new value of the 'Value' attribute.
See Also:
XSDMaxFacet.isSetValue(), XSDMaxFacet.unsetValue(), XSDMaxFacet.getValue()

unsetValue

public void unsetValue()
Specified by:
unsetValue in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
See Also:
XSDMaxFacet.isSetValue(), XSDMaxFacet.getValue(), XSDMaxFacet.setValue(java.lang.Object)

isSetValue

public boolean isSetValue()
Specified by:
isSetValue in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
Returns:
whether the value of the 'Value' attribute is set.
See Also:
XSDMaxFacet.unsetValue(), XSDMaxFacet.getValue(), XSDMaxFacet.setValue(java.lang.Object)

getInclusive

public java.lang.Boolean getInclusive()
Specified by:
getInclusive in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
Returns:
the value of the 'Inclusive' attribute.
See Also:
XSDMaxFacet.isInclusive(), XSDPackage.getXSDMaxFacet_Inclusive()

isInclusive

public boolean isInclusive()
Description copied from interface: XSDMaxFacet
Returns whether the object is 'Inclusive'.
Specified by:
isInclusive in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
Returns:
whether the object is 'Inclusive'.
See Also:
XSDMaxFacet.getInclusive()

getExclusive

public java.lang.Boolean getExclusive()
Specified by:
getExclusive in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
Returns:
the value of the 'Exclusive' attribute.
See Also:
XSDMaxFacet.isExclusive(), XSDPackage.getXSDMaxFacet_Exclusive()

isExclusive

public boolean isExclusive()
Description copied from interface: XSDMaxFacet
Returns whether the object is 'Exclusive'.
Specified by:
isExclusive in interface XSDMaxFacet
Following copied from interface: com.ibm.etools.xsd.XSDMaxFacet
Returns:
whether the object is 'Exclusive'.
See Also:
XSDMaxFacet.getExclusive()

refValue

public java.lang.Object refValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Specified by:
refValue in interface com.ibm.etools.emf.ref.RefObject
Overrides:
refValue in class XSDFixedFacetImpl

refBasicValue

public java.lang.Object refBasicValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Overrides:
refBasicValue in class XSDFixedFacetImpl

refIsSet

public boolean refIsSet(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Specified by:
refIsSet in interface com.ibm.etools.emf.ref.RefObject
Overrides:
refIsSet in class XSDFixedFacetImpl

refSetValue

public void refSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
                        java.lang.Object newValue)
Specified by:
refSetValue in interface com.ibm.etools.emf.ref.RefObject
Overrides:
refSetValue in class XSDFixedFacetImpl

refBasicSetValue

public com.ibm.etools.emf.notify.Notification refBasicSetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature,
                                                               java.lang.Object newValue)
Overrides:
refBasicSetValue in class XSDFixedFacetImpl

refUnsetValue

public void refUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Specified by:
refUnsetValue in interface com.ibm.etools.emf.ref.RefObject
Overrides:
refUnsetValue in class XSDFixedFacetImpl

refBasicUnsetValue

public com.ibm.etools.emf.notify.Notification refBasicUnsetValue(com.ibm.etools.emf.ref.RefStructuralFeature feature)
Overrides:
refBasicUnsetValue in class XSDFixedFacetImpl

toString

public java.lang.String toString()
Overrides:
toString in class XSDFixedFacetImpl

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 XSDFixedFacetImpl
Following copied from interface: com.ibm.etools.xsd.XSDConcreteComponent
See Also:
XSDConcreteComponent.getDiagnostics(), XSDConcreteComponent.clearDiagnostics()

validateValue

protected void validateValue()
Overrides:
validateValue in class XSDFixedFacetImpl

restrictionMatch

protected boolean restrictionMatch(XSDFixedFacet xsdFixedFacet)
Overrides:
restrictionMatch in class XSDFixedFacetImpl

validateRestriction

protected void validateRestriction(XSDFixedFacet xsdFixedFacet)
Overrides:
validateRestriction in class XSDFixedFacetImpl