com.ibm.etools.xsd.impl
Class XSDSimpleTypeDefinitionImpl

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.XSDNamedComponentImpl
                                      |
                                      +--com.ibm.etools.xsd.impl.XSDRedefinableComponentImpl
                                            |
                                            +--com.ibm.etools.xsd.impl.XSDTypeDefinitionImpl
                                                  |
                                                  +--com.ibm.etools.xsd.impl.XSDSimpleTypeDefinitionImpl
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, XSDComplexTypeContent, XSDComponent, XSDConcreteComponent, XSDNamedComponent, XSDRedefinableComponent, XSDRedefineContent, XSDSchemaContent, XSDSimpleTypeDefinition, XSDTypeDefinition

public class XSDSimpleTypeDefinitionImpl
extends XSDTypeDefinitionImpl
implements XSDSimpleTypeDefinition, XSDTypeDefinition, XSDComplexTypeContent


Inner Class Summary
static class XSDSimpleTypeDefinitionImpl.AssessmentImpl
          This is used to gather selectively the information determined when assessing a literal string with respect to a XSDSimpleTypeDefinition.
 
Inner classes inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
XSDNamedComponentImpl.Comparator
 
Inner classes inherited from class com.ibm.etools.xsd.XSDSimpleTypeDefinition
XSDSimpleTypeDefinition.Assessment
 
Field Summary
protected  XSDSimpleTypeDefinition baseTypeDefinition
          The cached value of the 'Base Type Definition' reference.
protected  XSDBoundedFacet boundedFacet
           
protected  XSDCardinalityFacet cardinalityFacet
           
protected  com.ibm.etools.emf.ref.EList contents
          The cached value of the 'Contents' reference list.
static java.lang.String copyright
           
protected  XSDEnumerationFacet effectiveEnumerationFacet
           
protected  XSDPatternFacet effectivePatternFacet
           
protected  XSDWhiteSpaceFacet effectiveWhiteSpaceFacet
           
protected  com.ibm.etools.emf.ref.EList facetContents
          The cached value of the 'Facet Contents' reference list.
protected  com.ibm.etools.emf.ref.EList facets
          The cached value of the 'Facets' reference list.
protected  com.ibm.etools.emf.ref.EList final_
          The cached value of the 'Final' attribute list.
protected  com.ibm.etools.emf.ref.EList fundamentalFacets
          The cached value of the 'Fundamental Facets' reference list.
protected  XSDSimpleTypeDefinition itemTypeDefinition
          The cached value of the 'Item Type Definition' reference.
protected  com.ibm.etools.emf.ref.EList lexicalFinal
          The cached value of the 'Lexical Final' attribute list.
protected  com.ibm.etools.emf.ref.EList memberTypeDefinitions
          The cached value of the 'Member Type Definitions' reference list.
protected  XSDNumericFacet numericFacet
           
protected  XSDOrderedFacet orderedFacet
           
protected  XSDSimpleTypeDefinition primitiveTypeDefinition
          The cached value of the 'Primitive Type Definition' reference.
protected  com.ibm.etools.emf.ref.EList validFacets
          The cached value of the 'Valid Facets' attribute list.
protected static com.ibm.etools.emf.ref.EList validFacetsForList
           
protected static com.ibm.etools.emf.ref.EList validFacetsForUnion
           
protected  com.ibm.etools.emf.ecore.EEnumLiteral variety
          The cached value of the 'Variety' attribute.
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDTypeDefinitionImpl
analysisState, annotation, annotations, derivationAnnotation
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
name, targetNamespace
 
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 XSDSimpleTypeDefinitionImpl()
           
 
Method Summary
protected  void adoptContent(com.ibm.etools.emf.ref.RefReference refReference, XSDConcreteComponent xsdConcreteComponent)
           
 XSDSimpleTypeDefinition.Assessment assess(Node node)
          Returns an assessment of the node.
 XSDSimpleTypeDefinition.Assessment assess(java.lang.String literal)
          Returns an assessment of the literal.
 XSDSimpleTypeDefinitionImpl.AssessmentImpl assess(XSDSimpleTypeDefinitionImpl.AssessmentImpl assessment)
           
protected  void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
           
protected  void changeReference(com.ibm.etools.emf.ref.RefReference refReference)
           
 XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
          Creates a clone of the component.
 int compareLiterals(java.lang.String literal1, java.lang.String literal2)
          Returns -1, 0, or 1, depending on the order of the value of each of the given literals.
 int compareValues(java.lang.Object value1, java.lang.Object value2)
          Returns -1, 0, or 1, depending on the order of the values.
protected  Element createChildElement()
           
 Element createElement()
           
protected  void createFundamentalFacets()
           
static XSDSimpleTypeDefinition createSimpleTypeDefinition(Node node)
           
 com.ibm.etools.emf.ecore.EClass eClassXSDComplexTypeContent()
          
 com.ibm.etools.emf.ecore.EClass eClassXSDSimpleTypeDefinition()
          
 XSDPackage ePackageXSD()
          
 boolean equalLiterals(java.lang.String literal1, java.lang.String literal2)
          Returns whether the value of each of the given literals are equal.
 boolean equalValues(java.lang.Object value1, java.lang.Object value2)
          Returns whether the values are equal.
protected  Node getAdoptionParentNode(com.ibm.etools.emf.ref.RefReference refReference)
           
 XSDTypeDefinition getBaseType()
          Returns the value of the 'Base Type' reference.
 XSDSimpleTypeDefinition getBaseTypeDefinition()
          
 XSDBoundedFacet getBoundedFacet()
          Returns the value of the 'Bounded Facet' reference.
 java.lang.String getCanonicalLiteral(java.lang.String literal)
          Returns the canonical literal of the literal with respect to this simple type definition.
 XSDCardinalityFacet getCardinalityFacet()
          Returns the value of the 'Cardinality Facet' reference.
 XSDParticle getComplexType()
          Returns the value of the 'Complex Type' reference.
protected  java.util.Collection getContentNodes(Element changedElement)
           
 com.ibm.etools.emf.ref.EList getContents()
          
 XSDEnumerationFacet getEffectiveEnumerationFacet()
          Returns the value of the 'Effective Enumeration Facet' reference.
 XSDFractionDigitsFacet getEffectiveFractionDigitsFacet()
          Returns the value of the 'Effective Fraction Digits Facet' reference.
 XSDLengthFacet getEffectiveLengthFacet()
          Returns the value of the 'Effective Length Facet' reference.
 XSDMaxFacet getEffectiveMaxFacet()
          Returns the value of the 'Effective Max Facet' reference.
 XSDMaxLengthFacet getEffectiveMaxLengthFacet()
          Returns the value of the 'Effective Max Length Facet' reference.
 XSDMinFacet getEffectiveMinFacet()
          Returns the value of the 'Effective Min Facet' reference.
 XSDMinLengthFacet getEffectiveMinLengthFacet()
          Returns the value of the 'Effective Min Length Facet' reference.
 XSDPatternFacet getEffectivePatternFacet()
          Returns the value of the 'Effective Pattern Facet' reference.
 XSDTotalDigitsFacet getEffectiveTotalDigitsFacet()
          Returns the value of the 'Effective Total Digits Facet' reference.
 XSDWhiteSpaceFacet getEffectiveWhiteSpaceFacet()
          Returns the value of the 'Effective White Space Facet' reference.
 com.ibm.etools.emf.ref.EList getEnumerationFacets()
          Returns the value of the 'Enumeration Facets' reference list.
 com.ibm.etools.emf.ref.EList getFacetContents()
          
 com.ibm.etools.emf.ref.EList getFacets()
          
 com.ibm.etools.emf.ref.EList getFinal()
          
 XSDFractionDigitsFacet getFractionDigitsFacet()
          Returns the value of the 'Fraction Digits Facet' reference.
 com.ibm.etools.emf.ref.EList getFundamentalFacets()
          
 XSDSimpleTypeDefinition getItemTypeDefinition()
          
 XSDLengthFacet getLengthFacet()
          Returns the value of the 'Length Facet' reference.
 com.ibm.etools.emf.ref.EList getLexicalFinal()
          
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralVariety()
          
 XSDMaxExclusiveFacet getMaxExclusiveFacet()
          Returns the value of the 'Max Exclusive Facet' reference.
 XSDMaxFacet getMaxFacet()
          Returns the value of the 'Max Facet' reference.
 XSDMaxInclusiveFacet getMaxInclusiveFacet()
          Returns the value of the 'Max Inclusive Facet' reference.
 XSDMaxLengthFacet getMaxLengthFacet()
          Returns the value of the 'Max Length Facet' reference.
 com.ibm.etools.emf.ref.EList getMemberTypeDefinitions()
          
 XSDMinExclusiveFacet getMinExclusiveFacet()
          Returns the value of the 'Min Exclusive Facet' reference.
 XSDMinFacet getMinFacet()
          Returns the value of the 'Min Facet' reference.
 XSDMinInclusiveFacet getMinInclusiveFacet()
          Returns the value of the 'Min Inclusive Facet' reference.
 XSDMinLengthFacet getMinLengthFacet()
          Returns the value of the 'Min Length Facet' reference.
 java.lang.String getNormalizedLiteral(java.lang.String literal)
          Returns the normalized value of the literal with respect to this simple type definition.
 XSDNumericFacet getNumericFacet()
          Returns the value of the 'Numeric Facet' reference.
 XSDOrderedFacet getOrderedFacet()
          Returns the value of the 'Ordered Facet' reference.
 com.ibm.etools.emf.ref.EList getPatternFacets()
          Returns the value of the 'Pattern Facets' reference list.
 XSDSimpleTypeDefinition getPrimitiveTypeDefinition()
          
protected  int getRequiredChildElementNodeType()
           
 XSDTypeDefinition getRootType()
          Returns the value of the 'Root Type' reference.
 XSDSimpleTypeDefinition getRootTypeDefinition()
          Returns the value of the 'Root Type Definition' reference.
 XSDSimpleTypeDefinition getSimpleType()
          Returns the value of the 'Simple Type' reference.
 java.lang.String getStringFinal()
          Returns the String value of the 'Final' attribute list.
 java.lang.String getStringLexicalFinal()
          Returns the String value of the 'Lexical Final' attribute list.
 java.lang.String getStringVariety()
          
 XSDTotalDigitsFacet getTotalDigitsFacet()
          Returns the value of the 'Total Digits Facet' reference.
 com.ibm.etools.emf.ref.EList getValidFacets()
          
 com.ibm.etools.emf.ref.EList getValidFacetsForList()
           
 com.ibm.etools.emf.ref.EList getValidFacetsForUnion()
           
 java.lang.Object getValue(java.lang.String literal)
          Returns the value of the literal in the value space of this simple type definition.
 int getValueVariety()
          Returns the primitive value of the 'Variety' attribute.
 java.lang.Integer getVariety()
          
 XSDWhiteSpaceFacet getWhiteSpaceFacet()
          Returns the value of the 'White Space Facet' reference.
protected  XSDComplexTypeContentImpl getXSDComplexTypeContentDelegate()
          
protected  void handleAnalysis()
           
protected  XSDSimpleTypeDefinition handleNewBaseTypeDefinition(XSDSimpleTypeDefinition newBaseTypeDefinition)
           
protected  void handleNewComplexBaseTypeDefinition(XSDTypeDefinition newComplexBaseTypeDefinition)
           
protected  void handleReconciliation(java.util.List newContents, java.util.List remainingContents)
           
protected  void handleUnreconciledElement(Element child, java.util.List newContents, java.util.List remainingContents)
           
 com.ibm.etools.emf.ref.RefObject initInstance()
          
 boolean isSetBaseTypeDefinition()
          
 boolean isSetItemTypeDefinition()
          
 boolean isSetPrimitiveTypeDefinition()
          
 boolean isSetVariety()
          
 boolean isValidLiteral(java.lang.String literal)
          Returns whether the literal is valid with respect to this simple type definition.
protected  java.util.List mergeFacets()
           
protected  void orphanContent(com.ibm.etools.emf.ref.RefReference refReference, XSDConcreteComponent xsdConcreteComponent)
           
protected  void patch()
           
protected  void reconcileAttributes(Element changedElement)
           
 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)
          
 void setBaseTypeDefinition(XSDSimpleTypeDefinition value)
          
 void setItemTypeDefinition(XSDSimpleTypeDefinition value)
          
 void setPrimitiveTypeDefinition(XSDSimpleTypeDefinition value)
          
 void setStringLexicalFinal(java.lang.String finalDefault)
          Sets the String value of the 'Lexical Final' attribute.
 void setVariety(com.ibm.etools.emf.ecore.EEnumLiteral value)
          
 void setVariety(int value)
          
 void setVariety(java.lang.Integer value)
          
 void setVariety(java.lang.String value)
          
 java.lang.String toString()
          
 void unsetBaseTypeDefinition()
          
 void unsetItemTypeDefinition()
          
 void unsetPrimitiveTypeDefinition()
          
 void unsetVariety()
          
 void validate()
          Validates whether this component conforms to the constraints defined in the XML Schema standard.
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDTypeDefinitionImpl
analyze, createTypeDefinition, eClassXSDTypeDefinition, getAnnotation, getAnnotations, getDerivationAnnotation, getLowestCommonAncestor, isCircular, isSetAnnotation, isSetDerivationAnnotation, setAnnotation, setDerivationAnnotation, unsetAnnotation, unsetDerivationAnnotation
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDRedefinableComponentImpl
eClassXSDRedefinableComponent, eClassXSDRedefineContent, eClassXSDSchemaContent, getCircular, getXSDRedefineContentDelegate, getXSDSchemaContentDelegate
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
addToSortedList, eClassXSDNamedComponent, getAliasName, getAliasURI, getName, getQName, getQName, getResolvedNamedComponent, getTargetNamespace, getURI, getURIReferenceLabel, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, isNamedComponentReference, isSetName, isSetTargetNamespace, mergeToSortedList, patchTargetNamespaceAttribute, reconcileNameAttribute, setName, setTargetNamespace, sortNamedComponents, unsetName, unsetTargetNamespace
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDComponentImpl
eClassXSDComponent
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
adoptBy, adoptDiagnostic, checkAttributes, checkBuiltInTypeConstraint, checkSimpleTypeConstraint, clearDiagnostics, cloneConcreteComponents, considerAllContainsForBestConcreteComponent, contains, createDiagnostic, createDiagnostic, createElement, createRequiredAttributeDiagnostic, createUnresolvedAttributeDeclaration, createUnresolvedAttributeGroupDefinition, createUnresolvedComplexTypeDefinition, createUnresolvedElementDeclaration, createUnresolvedIdentityConstraintDefinition, createUnresolvedModelGroupDefinition, createUnresolvedNotationDeclaration, createUnresolvedSimpleTypeDefinition, createUnresolvedTypeDefinition, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, forceEngulf, forceEngulf, forceNiceInsertBefore, forceNiceRemoveChild, forceReplace, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getOwner, getOwnerGen, getRootContainer, getRootOwner, getSchema, getURIReferencePath, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, internalNotify, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, isUpdatingDOM, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanDiagnostic, 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.XSDTypeDefinition
eClassXSDTypeDefinition, getAnnotation, getAnnotations, getDerivationAnnotation, isSetAnnotation, isSetDerivationAnnotation, setAnnotation, setDerivationAnnotation, unsetAnnotation, unsetDerivationAnnotation
 
Methods inherited from interface com.ibm.etools.xsd.XSDRedefinableComponent
eClassXSDRedefinableComponent, getCircular, isCircular
 
Methods inherited from interface com.ibm.etools.xsd.XSDNamedComponent
eClassXSDNamedComponent, getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, isSetName, isSetTargetNamespace, setName, setTargetNamespace, unsetName, unsetTargetNamespace
 
Methods inherited from interface com.ibm.etools.xsd.XSDComponent
eClassXSDComponent
 
Methods inherited from interface com.ibm.etools.xsd.XSDConcreteComponent
clearDiagnostics, 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.xsd.XSDRedefineContent
eClassXSDRedefineContent
 
Methods inherited from interface com.ibm.etools.xsd.XSDSchemaContent
eClassXSDSchemaContent
 
Methods inherited from interface com.ibm.etools.emf.ref.Internals
refBasicContainsExtent, refBasicSetContainer, refSetContainer, refSetContainer
 

Field Detail

copyright

public static final java.lang.String copyright

variety

protected com.ibm.etools.emf.ecore.EEnumLiteral variety
The cached value of the 'Variety' attribute.
See Also:
getLiteralVariety()

final_

protected com.ibm.etools.emf.ref.EList final_
The cached value of the 'Final' attribute list.
See Also:
getFinal()

lexicalFinal

protected com.ibm.etools.emf.ref.EList lexicalFinal
The cached value of the 'Lexical Final' attribute list.
See Also:
getLexicalFinal()

validFacets

protected com.ibm.etools.emf.ref.EList validFacets
The cached value of the 'Valid Facets' attribute list.
See Also:
getValidFacets()

contents

protected com.ibm.etools.emf.ref.EList contents
The cached value of the 'Contents' reference list.
See Also:
getContents()

facetContents

protected com.ibm.etools.emf.ref.EList facetContents
The cached value of the 'Facet Contents' reference list.
See Also:
getFacetContents()

facets

protected com.ibm.etools.emf.ref.EList facets
The cached value of the 'Facets' reference list.
See Also:
getFacets()

memberTypeDefinitions

protected com.ibm.etools.emf.ref.EList memberTypeDefinitions
The cached value of the 'Member Type Definitions' reference list.
See Also:
getMemberTypeDefinitions()

fundamentalFacets

protected com.ibm.etools.emf.ref.EList fundamentalFacets
The cached value of the 'Fundamental Facets' reference list.
See Also:
getFundamentalFacets()

baseTypeDefinition

protected XSDSimpleTypeDefinition baseTypeDefinition
The cached value of the 'Base Type Definition' reference.
See Also:
getBaseTypeDefinition()

primitiveTypeDefinition

protected XSDSimpleTypeDefinition primitiveTypeDefinition
The cached value of the 'Primitive Type Definition' reference.
See Also:
getPrimitiveTypeDefinition()

itemTypeDefinition

protected XSDSimpleTypeDefinition itemTypeDefinition
The cached value of the 'Item Type Definition' reference.
See Also:
getItemTypeDefinition()

effectiveWhiteSpaceFacet

protected XSDWhiteSpaceFacet effectiveWhiteSpaceFacet

boundedFacet

protected XSDBoundedFacet boundedFacet

cardinalityFacet

protected XSDCardinalityFacet cardinalityFacet

numericFacet

protected XSDNumericFacet numericFacet

orderedFacet

protected XSDOrderedFacet orderedFacet

validFacetsForList

protected static com.ibm.etools.emf.ref.EList validFacetsForList

validFacetsForUnion

protected static com.ibm.etools.emf.ref.EList validFacetsForUnion

effectiveEnumerationFacet

protected XSDEnumerationFacet effectiveEnumerationFacet

effectivePatternFacet

protected XSDPatternFacet effectivePatternFacet
Constructor Detail

XSDSimpleTypeDefinitionImpl

protected XSDSimpleTypeDefinitionImpl()
Method Detail

ePackageXSD

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

eClassXSDSimpleTypeDefinition

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

createSimpleTypeDefinition

public static XSDSimpleTypeDefinition createSimpleTypeDefinition(Node node)

initInstance

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

getLiteralVariety

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralVariety()
Specified by:
getLiteralVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Variety' attribute.
See Also:
XSDSimpleTypeDefinition.getValueVariety(), XSDSimpleTypeDefinition.getVariety(), XSDSimpleTypeDefinition.getStringVariety(), XSDVariety, XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.setVariety(EEnumLiteral), XSDPackage.getXSDSimpleTypeDefinition_Variety()

getValueVariety

public int getValueVariety()
Description copied from interface: XSDSimpleTypeDefinition
Returns the primitive value of the 'Variety' attribute.
Specified by:
getValueVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the primitive value of the 'Variety' attribute.
See Also:
XSDSimpleTypeDefinition.getLiteralVariety(), XSDSimpleTypeDefinition.getValueVariety(), XSDSimpleTypeDefinition.getStringVariety(), XSDVariety, XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.setVariety(int)

getStringVariety

public java.lang.String getStringVariety()
Specified by:
getStringVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the String value of the 'Variety' attribute.
See Also:
XSDSimpleTypeDefinition.getLiteralVariety(), XSDSimpleTypeDefinition.getVariety(), XSDSimpleTypeDefinition.getValueVariety(), XSDVariety, XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.setVariety(String)

getVariety

public java.lang.Integer getVariety()
Specified by:
getVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the Integer value of the 'Variety' attribute.
See Also:
XSDSimpleTypeDefinition.getLiteralVariety(), XSDSimpleTypeDefinition.getValueVariety(), XSDSimpleTypeDefinition.getStringVariety(), XSDVariety, XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.setVariety(Integer)

setVariety

public void setVariety(com.ibm.etools.emf.ecore.EEnumLiteral value)
                throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value - the new value of the 'Variety' attribute.
See Also:
XSDSimpleTypeDefinition.setVariety(int), XSDSimpleTypeDefinition.setVariety(Integer), XSDSimpleTypeDefinition.setVariety(String), XSDVariety, XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.getLiteralVariety()

setVariety

public void setVariety(int value)
                throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value - the int value of the new enumeration literal value of the 'Variety' attribute.
See Also:
XSDSimpleTypeDefinition.setVariety(EEnumLiteral), XSDSimpleTypeDefinition.setVariety(Integer), XSDSimpleTypeDefinition.setVariety(String), XSDVariety, XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.getValueVariety()

setVariety

public void setVariety(java.lang.String value)
                throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value - the String value of the new enumeration literal value of the 'Variety' attribute.
See Also:
XSDSimpleTypeDefinition.setVariety(EEnumLiteral), XSDSimpleTypeDefinition.setVariety(int), XSDSimpleTypeDefinition.setVariety(Integer), XSDVariety, XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.getStringVariety()

setVariety

public void setVariety(java.lang.Integer value)
                throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value - the Integer value of the new enumeration literal value of the 'Variety' attribute.
See Also:
XSDSimpleTypeDefinition.setVariety(EEnumLiteral), XSDSimpleTypeDefinition.setVariety(int), XSDSimpleTypeDefinition.setVariety(String), XSDVariety, XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.getValueVariety()

unsetVariety

public void unsetVariety()
Specified by:
unsetVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
See Also:
XSDSimpleTypeDefinition.isSetVariety(), XSDSimpleTypeDefinition.getLiteralVariety(), XSDSimpleTypeDefinition.setVariety(EEnumLiteral)

isSetVariety

public boolean isSetVariety()
Specified by:
isSetVariety in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
whether the value of the 'Variety' attribute is set.
See Also:
XSDSimpleTypeDefinition.unsetVariety(), XSDSimpleTypeDefinition.getLiteralVariety(), XSDSimpleTypeDefinition.setVariety(EEnumLiteral)

getFinal

public com.ibm.etools.emf.ref.EList getFinal()
Specified by:
getFinal in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Final' attribute list.
See Also:
XSDSimpleTypeDefinition.getStringFinal(), XSDPackage.getXSDSimpleTypeDefinition_Final()

getLexicalFinal

public com.ibm.etools.emf.ref.EList getLexicalFinal()
Specified by:
getLexicalFinal in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Lexical Final' attribute list.
See Also:
XSDSimpleTypeDefinition.getStringLexicalFinal(), XSDPackage.getXSDSimpleTypeDefinition_LexicalFinal()

getValidFacets

public com.ibm.etools.emf.ref.EList getValidFacets()
Specified by:
getValidFacets in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Valid Facets' attribute list.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_ValidFacets()

getContents

public com.ibm.etools.emf.ref.EList getContents()
Specified by:
getContents in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Contents' reference list.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_Contents()

getFacetContents

public com.ibm.etools.emf.ref.EList getFacetContents()
Specified by:
getFacetContents in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Facet Contents' reference list.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_FacetContents()

getFacets

public com.ibm.etools.emf.ref.EList getFacets()
Specified by:
getFacets in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Facets' reference list.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_Facets()

getMemberTypeDefinitions

public com.ibm.etools.emf.ref.EList getMemberTypeDefinitions()
Specified by:
getMemberTypeDefinitions in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Member Type Definitions' reference list.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MemberTypeDefinitions()

getFundamentalFacets

public com.ibm.etools.emf.ref.EList getFundamentalFacets()
Specified by:
getFundamentalFacets in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Fundamental Facets' reference list.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_FundamentalFacets()

getBaseTypeDefinition

public XSDSimpleTypeDefinition getBaseTypeDefinition()
Specified by:
getBaseTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Base Type Definition' reference.
See Also:
XSDSimpleTypeDefinition.isSetBaseTypeDefinition(), XSDSimpleTypeDefinition.unsetBaseTypeDefinition(), XSDSimpleTypeDefinition.setBaseTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDSimpleTypeDefinition_BaseTypeDefinition()

setBaseTypeDefinition

public void setBaseTypeDefinition(XSDSimpleTypeDefinition value)
Specified by:
setBaseTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value - the new value of the 'Base Type Definition' reference.
See Also:
XSDSimpleTypeDefinition.isSetBaseTypeDefinition(), XSDSimpleTypeDefinition.unsetBaseTypeDefinition(), XSDSimpleTypeDefinition.getBaseTypeDefinition()

unsetBaseTypeDefinition

public void unsetBaseTypeDefinition()
Specified by:
unsetBaseTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
See Also:
XSDSimpleTypeDefinition.isSetBaseTypeDefinition(), XSDSimpleTypeDefinition.getBaseTypeDefinition(), XSDSimpleTypeDefinition.setBaseTypeDefinition(XSDSimpleTypeDefinition)

isSetBaseTypeDefinition

public boolean isSetBaseTypeDefinition()
Specified by:
isSetBaseTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
whether the value of the 'Base Type Definition' reference is set.
See Also:
XSDSimpleTypeDefinition.unsetBaseTypeDefinition(), XSDSimpleTypeDefinition.getBaseTypeDefinition(), XSDSimpleTypeDefinition.setBaseTypeDefinition(XSDSimpleTypeDefinition)

getPrimitiveTypeDefinition

public XSDSimpleTypeDefinition getPrimitiveTypeDefinition()
Specified by:
getPrimitiveTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Primitive Type Definition' reference.
See Also:
XSDSimpleTypeDefinition.isSetPrimitiveTypeDefinition(), XSDSimpleTypeDefinition.unsetPrimitiveTypeDefinition(), XSDSimpleTypeDefinition.setPrimitiveTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDSimpleTypeDefinition_PrimitiveTypeDefinition()

setPrimitiveTypeDefinition

public void setPrimitiveTypeDefinition(XSDSimpleTypeDefinition value)
Specified by:
setPrimitiveTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value - the new value of the 'Primitive Type Definition' reference.
See Also:
XSDSimpleTypeDefinition.isSetPrimitiveTypeDefinition(), XSDSimpleTypeDefinition.unsetPrimitiveTypeDefinition(), XSDSimpleTypeDefinition.getPrimitiveTypeDefinition()

unsetPrimitiveTypeDefinition

public void unsetPrimitiveTypeDefinition()
Specified by:
unsetPrimitiveTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
See Also:
XSDSimpleTypeDefinition.isSetPrimitiveTypeDefinition(), XSDSimpleTypeDefinition.getPrimitiveTypeDefinition(), XSDSimpleTypeDefinition.setPrimitiveTypeDefinition(XSDSimpleTypeDefinition)

isSetPrimitiveTypeDefinition

public boolean isSetPrimitiveTypeDefinition()
Specified by:
isSetPrimitiveTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
whether the value of the 'Primitive Type Definition' reference is set.
See Also:
XSDSimpleTypeDefinition.unsetPrimitiveTypeDefinition(), XSDSimpleTypeDefinition.getPrimitiveTypeDefinition(), XSDSimpleTypeDefinition.setPrimitiveTypeDefinition(XSDSimpleTypeDefinition)

getItemTypeDefinition

public XSDSimpleTypeDefinition getItemTypeDefinition()
Specified by:
getItemTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Item Type Definition' reference.
See Also:
XSDSimpleTypeDefinition.isSetItemTypeDefinition(), XSDSimpleTypeDefinition.unsetItemTypeDefinition(), XSDSimpleTypeDefinition.setItemTypeDefinition(XSDSimpleTypeDefinition), XSDPackage.getXSDSimpleTypeDefinition_ItemTypeDefinition()

setItemTypeDefinition

public void setItemTypeDefinition(XSDSimpleTypeDefinition value)
Specified by:
setItemTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value - the new value of the 'Item Type Definition' reference.
See Also:
XSDSimpleTypeDefinition.isSetItemTypeDefinition(), XSDSimpleTypeDefinition.unsetItemTypeDefinition(), XSDSimpleTypeDefinition.getItemTypeDefinition()

unsetItemTypeDefinition

public void unsetItemTypeDefinition()
Specified by:
unsetItemTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
See Also:
XSDSimpleTypeDefinition.isSetItemTypeDefinition(), XSDSimpleTypeDefinition.getItemTypeDefinition(), XSDSimpleTypeDefinition.setItemTypeDefinition(XSDSimpleTypeDefinition)

isSetItemTypeDefinition

public boolean isSetItemTypeDefinition()
Specified by:
isSetItemTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
whether the value of the 'Item Type Definition' reference is set.
See Also:
XSDSimpleTypeDefinition.unsetItemTypeDefinition(), XSDSimpleTypeDefinition.getItemTypeDefinition(), XSDSimpleTypeDefinition.setItemTypeDefinition(XSDSimpleTypeDefinition)

createElement

public Element createElement()
Overrides:
createElement in class XSDConcreteComponentImpl

createChildElement

protected Element createChildElement()

getRequiredChildElementNodeType

protected int getRequiredChildElementNodeType()

patch

protected void patch()
Overrides:
patch in class XSDTypeDefinitionImpl

handleAnalysis

protected void handleAnalysis()
Overrides:
handleAnalysis in class XSDTypeDefinitionImpl

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

reconcileAttributes

protected void reconcileAttributes(Element changedElement)
Overrides:
reconcileAttributes in class XSDNamedComponentImpl

handleNewComplexBaseTypeDefinition

protected void handleNewComplexBaseTypeDefinition(XSDTypeDefinition newComplexBaseTypeDefinition)

handleNewBaseTypeDefinition

protected XSDSimpleTypeDefinition handleNewBaseTypeDefinition(XSDSimpleTypeDefinition newBaseTypeDefinition)

getAdoptionParentNode

protected Node getAdoptionParentNode(com.ibm.etools.emf.ref.RefReference refReference)
Overrides:
getAdoptionParentNode in class XSDConcreteComponentImpl

getContentNodes

protected java.util.Collection getContentNodes(Element changedElement)
Overrides:
getContentNodes in class XSDConcreteComponentImpl

handleUnreconciledElement

protected void handleUnreconciledElement(Element child,
                                         java.util.List newContents,
                                         java.util.List remainingContents)
Overrides:
handleUnreconciledElement in class XSDConcreteComponentImpl

handleReconciliation

protected void handleReconciliation(java.util.List newContents,
                                    java.util.List remainingContents)
Overrides:
handleReconciliation in class XSDConcreteComponentImpl

changeAttribute

protected void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
Overrides:
changeAttribute in class XSDNamedComponentImpl

changeReference

protected void changeReference(com.ibm.etools.emf.ref.RefReference refReference)
Overrides:
changeReference in class XSDConcreteComponentImpl

adoptContent

protected void adoptContent(com.ibm.etools.emf.ref.RefReference refReference,
                            XSDConcreteComponent xsdConcreteComponent)
Overrides:
adoptContent in class XSDConcreteComponentImpl

orphanContent

protected void orphanContent(com.ibm.etools.emf.ref.RefReference refReference,
                             XSDConcreteComponent xsdConcreteComponent)
Overrides:
orphanContent in class XSDConcreteComponentImpl

getTotalDigitsFacet

public XSDTotalDigitsFacet getTotalDigitsFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Total Digits Facet' reference.

This represents the XSDTotalDigitsFacet of the facet contents.

Specified by:
getTotalDigitsFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Total Digits Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_TotalDigitsFacet()

getEffectiveTotalDigitsFacet

public XSDTotalDigitsFacet getEffectiveTotalDigitsFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Total Digits Facet' reference.

This represents the XSDTotalDigitsFacet of the facets.

Specified by:
getEffectiveTotalDigitsFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Total Digits Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveTotalDigitsFacet()

getFractionDigitsFacet

public XSDFractionDigitsFacet getFractionDigitsFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Fraction Digits Facet' reference.

This represents the XSDFractionDigitsFacet of the facet contents.

Specified by:
getFractionDigitsFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Fraction Digits Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_FractionDigitsFacet()

getEffectiveFractionDigitsFacet

public XSDFractionDigitsFacet getEffectiveFractionDigitsFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Fraction Digits Facet' reference.

This represents the XSDFractionDigitsFacet of the facets.

Specified by:
getEffectiveFractionDigitsFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Fraction Digits Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveFractionDigitsFacet()

getLengthFacet

public XSDLengthFacet getLengthFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Length Facet' reference.

This represents the XSDLengthFacet of the facet contents.

Specified by:
getLengthFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Length Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_LengthFacet()

getEffectiveLengthFacet

public XSDLengthFacet getEffectiveLengthFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Length Facet' reference.

This represents the XSDLengthFacet of the facets.

Specified by:
getEffectiveLengthFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Length Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveLengthFacet()

getMaxLengthFacet

public XSDMaxLengthFacet getMaxLengthFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Max Length Facet' reference.

This represents the XSDMaxLengthFacet of the facet contents.

Specified by:
getMaxLengthFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Max Length Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MaxLengthFacet()

getEffectiveMaxLengthFacet

public XSDMaxLengthFacet getEffectiveMaxLengthFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Max Length Facet' reference.

This represents the XSDMaxLengthFacet of the facets.

Specified by:
getEffectiveMaxLengthFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Max Length Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveMaxLengthFacet()

getMinLengthFacet

public XSDMinLengthFacet getMinLengthFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Min Length Facet' reference.

This represents the XSDMinLengthFacet of the facet contents.

Specified by:
getMinLengthFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Min Length Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MinLengthFacet()

getEffectiveMinLengthFacet

public XSDMinLengthFacet getEffectiveMinLengthFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Min Length Facet' reference.

This represents the XSDMinLengthFacet of the facets.

Specified by:
getEffectiveMinLengthFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Min Length Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveMinLengthFacet()

getMaxExclusiveFacet

public XSDMaxExclusiveFacet getMaxExclusiveFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Max Exclusive Facet' reference.

This represents the XSDMaxExclusiveFacet of the facet contents.

Specified by:
getMaxExclusiveFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Max Exclusive Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MaxExclusiveFacet()

getMaxInclusiveFacet

public XSDMaxInclusiveFacet getMaxInclusiveFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Max Inclusive Facet' reference.

This represents the XSDMaxInclusiveFacet of the facet contents.

Specified by:
getMaxInclusiveFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Max Inclusive Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MaxInclusiveFacet()

getMaxFacet

public XSDMaxFacet getMaxFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Max Facet' reference.

This represents the XSDMaxFacet of the facet contents.

Specified by:
getMaxFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Max Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MaxFacet()

getEffectiveMaxFacet

public XSDMaxFacet getEffectiveMaxFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Max Facet' reference.

This represents the XSDMaxFacet of the facets.

Specified by:
getEffectiveMaxFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Max Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveMaxFacet()

getMinExclusiveFacet

public XSDMinExclusiveFacet getMinExclusiveFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Min Exclusive Facet' reference.

This represents the XSDMinExclusiveFacet of the facet contents.

Specified by:
getMinExclusiveFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Min Exclusive Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MinExclusiveFacet()

getMinInclusiveFacet

public XSDMinInclusiveFacet getMinInclusiveFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Min Inclusive Facet' reference.

This represents the XSDMinInclusiveFacet of the facet contents.

Specified by:
getMinInclusiveFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Min Inclusive Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MinInclusiveFacet()

getMinFacet

public XSDMinFacet getMinFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Min Facet' reference.

This represents the XSDMinFacet of the facet contents.

Specified by:
getMinFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Min Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_MinFacet()

getEffectiveMinFacet

public XSDMinFacet getEffectiveMinFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Min Facet' reference.

This represents the XSDMinLengthFacet of the facets.

Specified by:
getEffectiveMinFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Min Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveMinFacet()

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 XSDTypeDefinitionImpl

refBasicValue

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

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 XSDTypeDefinitionImpl

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 XSDTypeDefinitionImpl

refBasicSetValue

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

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 XSDTypeDefinitionImpl

refBasicUnsetValue

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

toString

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

getXSDComplexTypeContentDelegate

protected XSDComplexTypeContentImpl getXSDComplexTypeContentDelegate()

eClassXSDComplexTypeContent

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

getWhiteSpaceFacet

public XSDWhiteSpaceFacet getWhiteSpaceFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'White Space Facet' reference.

This represents the XSDWhiteSpaceFacet of the facet contents.

Specified by:
getWhiteSpaceFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'White Space Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_WhiteSpaceFacet()

getEffectiveWhiteSpaceFacet

public XSDWhiteSpaceFacet getEffectiveWhiteSpaceFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective White Space Facet' reference.

This represents the XSDWhiteSpaceFacet of the facets.

Specified by:
getEffectiveWhiteSpaceFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective White Space Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveWhiteSpaceFacet()

getEnumerationFacets

public com.ibm.etools.emf.ref.EList getEnumerationFacets()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Enumeration Facets' reference list. The list contents are of type XSDEnumerationFacet.

This represents the XSDEnumerationFacet of the facet contents.

Specified by:
getEnumerationFacets in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Enumeration Facets' reference list.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EnumerationFacets()

getEffectiveEnumerationFacet

public XSDEnumerationFacet getEffectiveEnumerationFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Enumeration Facet' reference.

This represents the XSDEnumerationFacet of the facets. To iterate through each enumerator which is a legal value of this type, use the list returned by getEffectiveEnumerationFacet().getValue().

Specified by:
getEffectiveEnumerationFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Enumeration Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectiveEnumerationFacet()

getPatternFacets

public com.ibm.etools.emf.ref.EList getPatternFacets()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Pattern Facets' reference list. The list contents are of type XSDPatternFacet.

This represents the XSDPatternFacet of the facet contents.

Specified by:
getPatternFacets in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Pattern Facets' reference list.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_PatternFacets()

getEffectivePatternFacet

public XSDPatternFacet getEffectivePatternFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Effective Pattern Facet' reference.

This represents the XSDPatternFacet of the facets. To iterate through each pattern that applies for this type, use the list returned by getEffectivePatternFacet().getValue().

Specified by:
getEffectivePatternFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Effective Pattern Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_EffectivePatternFacet()

getBoundedFacet

public XSDBoundedFacet getBoundedFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Bounded Facet' reference.

This represents the XSDBoundedFacet of the fundamental facets.

Specified by:
getBoundedFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Bounded Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_BoundedFacet()

getCardinalityFacet

public XSDCardinalityFacet getCardinalityFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Cardinality Facet' reference.

This represents the XSDCardinalityFacet of the fundamental facets.

Specified by:
getCardinalityFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Cardinality Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_CardinalityFacet()

getNumericFacet

public XSDNumericFacet getNumericFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Numeric Facet' reference.

This represents the XSDNumericFacet of the fundamental facets.

Specified by:
getNumericFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Numeric Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_NumericFacet()

getOrderedFacet

public XSDOrderedFacet getOrderedFacet()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Ordered Facet' reference.

This represents the XSDOrderedFacet of the fundamental facets.

Specified by:
getOrderedFacet in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Ordered Facet' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_OrderedFacet()

createFundamentalFacets

protected void createFundamentalFacets()

getValidFacetsForList

public com.ibm.etools.emf.ref.EList getValidFacetsForList()

getValidFacetsForUnion

public com.ibm.etools.emf.ref.EList getValidFacetsForUnion()

getBaseType

public XSDTypeDefinition getBaseType()
Description copied from interface: XSDTypeDefinition
Returns the value of the 'Base Type' reference.

This represents the same result as either the simple 'Base Type Definition' reference or the complex 'Base Type Definition' reference.

Specified by:
getBaseType in interface XSDTypeDefinition
Overrides:
getBaseType in class XSDTypeDefinitionImpl
Following copied from interface: com.ibm.etools.xsd.XSDTypeDefinition
Returns:
the value of the 'Base Type' reference.
See Also:
XSDPackage.getXSDTypeDefinition_BaseType()

getRootType

public XSDTypeDefinition getRootType()
Description copied from interface: XSDTypeDefinition
Returns the value of the 'Root Type' reference.

This walks the base types until it hits that one that has the ur-type definition as it's base type.

Specified by:
getRootType in interface XSDTypeDefinition
Overrides:
getRootType in class XSDTypeDefinitionImpl
Following copied from interface: com.ibm.etools.xsd.XSDTypeDefinition
Returns:
the value of the 'Root Type' reference.
See Also:
XSDPackage.getXSDTypeDefinition_RootType()

getRootTypeDefinition

public XSDSimpleTypeDefinition getRootTypeDefinition()
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the 'Root Type Definition' reference.

This walks the base type definitions until it hits that one that has the ur-type definition as it's base type definition.

Specified by:
getRootTypeDefinition in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the value of the 'Root Type Definition' reference.
See Also:
XSDPackage.getXSDSimpleTypeDefinition_RootTypeDefinition()

getSimpleType

public XSDSimpleTypeDefinition getSimpleType()
Description copied from interface: XSDTypeDefinition
Returns the value of the 'Simple Type' reference.

This represents either the 'Simple Type Definition' itself or the complex 'Content Type' reference, if it is simple.

Specified by:
getSimpleType in interface XSDTypeDefinition
Overrides:
getSimpleType in class XSDTypeDefinitionImpl
Following copied from interface: com.ibm.etools.xsd.XSDTypeDefinition
Returns:
the value of the 'Simple Type' reference.
See Also:
XSDPackage.getXSDTypeDefinition_SimpleType()

getComplexType

public XSDParticle getComplexType()
Description copied from interface: XSDTypeDefinition
Returns the value of the 'Complex Type' reference.

This represents the complex 'Content Type' reference, if it is complex, i.e., if it is a 'Particle'.

Specified by:
getComplexType in interface XSDTypeDefinition
Overrides:
getComplexType in class XSDTypeDefinitionImpl
Following copied from interface: com.ibm.etools.xsd.XSDTypeDefinition
Returns:
the value of the 'Complex Type' reference.
See Also:
XSDPackage.getXSDTypeDefinition_ComplexType()

mergeFacets

protected java.util.List mergeFacets()

getStringLexicalFinal

public java.lang.String getStringLexicalFinal()
Description copied from interface: XSDSimpleTypeDefinition
Returns the String value of the 'Lexical Final' attribute list.
Specified by:
getStringLexicalFinal in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the String value of the 'Lexical Final' attribute list.
See Also:
XSDSimpleTypeDefinition.getLexicalFinal(), XSDSimpleTypeDefinition.setStringLexicalFinal(java.lang.String)

setStringLexicalFinal

public void setStringLexicalFinal(java.lang.String finalDefault)
Description copied from interface: XSDSimpleTypeDefinition
Sets the String value of the 'Lexical Final' attribute.
Specified by:
setStringLexicalFinal in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value - the new value of the 'Lexical Final' attribute.
See Also:
XSDSimpleTypeDefinition.getLexicalFinal(), XSDSimpleTypeDefinition.getStringLexicalFinal()

getStringFinal

public java.lang.String getStringFinal()
Description copied from interface: XSDSimpleTypeDefinition
Returns the String value of the 'Final' attribute list.
Specified by:
getStringFinal in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
the String value of the 'Final' attribute list.
See Also:
XSDSimpleTypeDefinition.getFinal()

assess

public XSDSimpleTypeDefinition.Assessment assess(Node node)
Description copied from interface: XSDSimpleTypeDefinition
Returns an assessment of the node.
Specified by:
assess in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
an assessment of the node.
See Also:
XSDSimpleTypeDefinition.assess(java.lang.String)

assess

public XSDSimpleTypeDefinition.Assessment assess(java.lang.String literal)
Description copied from interface: XSDSimpleTypeDefinition
Returns an assessment of the literal.
Specified by:
assess in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Returns:
an assessment of the literal.
See Also:
XSDSimpleTypeDefinition.assess(org.w3c.dom.Node)

assess

public XSDSimpleTypeDefinitionImpl.AssessmentImpl assess(XSDSimpleTypeDefinitionImpl.AssessmentImpl assessment)

isValidLiteral

public boolean isValidLiteral(java.lang.String literal)
Description copied from interface: XSDSimpleTypeDefinition
Returns whether the literal is valid with respect to this simple type definition. This involves assessing that the literal has no diagnostics.
Specified by:
isValidLiteral in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
literal - a literal.
Returns:
whether the literal is valid.

getValue

public java.lang.Object getValue(java.lang.String literal)
Description copied from interface: XSDSimpleTypeDefinition
Returns the value of the literal in the value space of this simple type definition.
Specified by:
getValue in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
literal - a literal.
Returns:
the value of the literal.

getCanonicalLiteral

public java.lang.String getCanonicalLiteral(java.lang.String literal)
Description copied from interface: XSDSimpleTypeDefinition
Returns the canonical literal of the literal with respect to this simple type definition.
Specified by:
getCanonicalLiteral in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
literal - a literal.
Returns:
the canonical literal of the literal.

getNormalizedLiteral

public java.lang.String getNormalizedLiteral(java.lang.String literal)
Description copied from interface: XSDSimpleTypeDefinition
Returns the normalized value of the literal with respect to this simple type definition.
Specified by:
getNormalizedLiteral in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
literal - a literal.
Returns:
the normalized value of the literal.

equalValues

public boolean equalValues(java.lang.Object value1,
                           java.lang.Object value2)
Description copied from interface: XSDSimpleTypeDefinition
Returns whether the values are equal.
Specified by:
equalValues in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
literal1 - a literal.
literal2 - another literal.
Returns:
whether the values are equal.

equalLiterals

public boolean equalLiterals(java.lang.String literal1,
                             java.lang.String literal2)
Description copied from interface: XSDSimpleTypeDefinition
Returns whether the value of each of the given literals are equal.
Specified by:
equalLiterals in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
literal1 - a literal.
literal2 - another literal.
Returns:
whether the value of each of the given literals are equal.

compareValues

public int compareValues(java.lang.Object value1,
                         java.lang.Object value2)
Description copied from interface: XSDSimpleTypeDefinition
Returns -1, 0, or 1, depending on the order of the values.
Specified by:
compareValues in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
value1 - a value.
value2 - another value.
Returns:
-1, 0, or 1, depending on the order of the values.

compareLiterals

public int compareLiterals(java.lang.String literal1,
                           java.lang.String literal2)
Description copied from interface: XSDSimpleTypeDefinition
Returns -1, 0, or 1, depending on the order of the value of each of the given literals.
Specified by:
compareLiterals in interface XSDSimpleTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDSimpleTypeDefinition
Parameters:
literal1 - a literal.
literal2 - another literal.
Returns:
-1, 0, or 1, depending on the order of the value of each of the given literals.

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: com.ibm.etools.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.