com.ibm.etools.xsd.impl
Class XSDComplexTypeDefinitionImpl

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.XSDComplexTypeDefinitionImpl
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, XSDComplexTypeDefinition, XSDComponent, XSDConcreteComponent, XSDNamedComponent, XSDRedefinableComponent, XSDRedefineContent, XSDSchemaContent, XSDScope, XSDTypeDefinition

public class XSDComplexTypeDefinitionImpl
extends XSDTypeDefinitionImpl
implements XSDComplexTypeDefinition, XSDTypeDefinition, XSDScope


Inner classes inherited from class com.ibm.etools.xsd.impl.XSDNamedComponentImpl
XSDNamedComponentImpl.Comparator
 
Field Summary
protected  java.lang.Boolean abstract_
          The cached value of the 'Abstract' attribute.
protected  com.ibm.etools.emf.ref.EList attributeContents
          The cached value of the 'Attribute Contents' reference list.
protected  com.ibm.etools.emf.ref.EList attributeUses
          The cached value of the 'Attribute Uses' reference list.
protected  XSDWildcard attributeWildcard
          The cached value of the 'Attribute Wildcard' reference.
protected  XSDWildcard attributeWildcardContent
          The cached value of the 'Attribute Wildcard Content' reference.
protected  XSDTypeDefinition baseTypeDefinition
          The cached value of the 'Base Type Definition' reference.
protected  com.ibm.etools.emf.ref.EList block
          The cached value of the 'Block' attribute list.
protected  XSDComplexTypeContent content
          The cached value of the 'Content' reference.
protected  XSDAnnotation contentAnnotation
          The cached value of the 'Content Annotation' reference.
protected  XSDComplexTypeContent contentType
          The cached value of the 'Content Type' reference.
protected  com.ibm.etools.emf.ecore.EEnumLiteral contentTypeCategory
          The cached value of the 'Content Type Category' attribute.
static java.lang.String copyright
           
protected  com.ibm.etools.emf.ecore.EEnumLiteral derivationMethod
          The cached value of the 'Derivation Method' attribute.
protected  XSDWildcardImpl effectiveWildcard
           
protected  XSDParticle extensionParticle
           
protected  com.ibm.etools.emf.ref.EList final_
          The cached value of the 'Final' attribute list.
protected  com.ibm.etools.emf.ref.EList lexicalFinal
          The cached value of the 'Lexical Final' attribute list.
protected  java.lang.Boolean mixed
          The cached value of the 'Mixed' attribute.
protected  com.ibm.etools.emf.ref.EList prohibitedSubstitutions
          The cached value of the 'Prohibited Substitutions' attribute list.
 
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 XSDComplexTypeDefinitionImpl()
           
 
Method Summary
protected  boolean abbreviate()
           
protected  void adoptContent(com.ibm.etools.emf.ref.RefReference refReference, XSDConcreteComponent xsdConcreteComponent)
           
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.
protected  boolean considerAllContainsForBestConcreteComponent()
           
static XSDComplexTypeDefinition createComplexTypeDefinition(Node node)
           
protected  Element[] createContentElementPair()
           
protected  Element createDerivationElement()
           
 Element createElement()
           
 com.ibm.etools.emf.ecore.EClass eClassXSDComplexTypeDefinition()
          
 com.ibm.etools.emf.ecore.EClass eClassXSDScope()
          
 XSDPackage ePackageXSD()
          
protected  Element[] findOrCreateContentElementPair()
           
 java.lang.Boolean getAbstract()
          
protected  Node getAdoptionParentNode(com.ibm.etools.emf.ref.RefReference refReference)
           
 com.ibm.etools.emf.ref.EList getAttributeContents()
          
 com.ibm.etools.emf.ref.EList getAttributeUses()
          
 XSDWildcard getAttributeWildcard()
          
 XSDWildcard getAttributeWildcardContent()
          
 XSDTypeDefinition getBaseType()
          Returns the value of the 'Base Type' reference.
 XSDTypeDefinition getBaseTypeDefinition()
          
 com.ibm.etools.emf.ref.EList getBlock()
          
 XSDComplexTypeContent getContent()
          
 XSDAnnotation getContentAnnotation()
          
protected  Element[] getContentElementPair()
           
protected  java.util.Collection getContentNodes(Element changedElement)
           
 XSDComplexTypeContent getContentType()
          
 java.lang.Integer getContentTypeCategory()
          
 java.lang.Integer getDerivationMethod()
          
 com.ibm.etools.emf.ref.EList getFinal()
          
 com.ibm.etools.emf.ref.EList getLexicalFinal()
          
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralContentTypeCategory()
          
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralDerivationMethod()
          
 java.lang.Boolean getMixed()
          
 com.ibm.etools.emf.ref.EList getProhibitedSubstitutions()
          
 XSDTypeDefinition getRootType()
          Returns the value of the 'Root Type' reference.
 XSDTypeDefinition getRootTypeDefinition()
          Returns the value of the 'Root Type Definition' reference.
 XSDSimpleTypeDefinition getSimpleType()
          Returns the value of the 'Simple Type' reference.
 java.lang.String getStringBlock()
          Returns the String value of the 'Block' attribute list.
 java.lang.String getStringContentTypeCategory()
          
 java.lang.String getStringDerivationMethod()
          
 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 getStringProhibitedSubstitutions()
          Returns the String value of the 'Prohibited Substitutions' attribute list.
 int getValueContentTypeCategory()
          Returns the primitive value of the 'Content Type Category' attribute.
 int getValueDerivationMethod()
          Returns the primitive value of the 'Derivation Method' attribute.
protected  XSDScopeImpl getXSDScopeDelegate()
          
protected  void handleAnalysis()
           
protected  XSDTypeDefinition handleNewBaseTypeDefinition(XSDTypeDefinition newBaseTypeDefinition)
           
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 isAbstract()
          
protected  boolean isEmptyContent(XSDParticle xsdParticle)
           
 boolean isMixed()
          
 boolean isSetAbstract()
          
 boolean isSetAttributeWildcard()
          
 boolean isSetAttributeWildcardContent()
          
 boolean isSetBaseTypeDefinition()
          
 boolean isSetContent()
          
 boolean isSetContentAnnotation()
          
 boolean isSetContentType()
          
 boolean isSetContentTypeCategory()
          
 boolean isSetDerivationMethod()
          
 boolean isSetMixed()
          
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 setAbstract(boolean value)
          
 void setAbstract(java.lang.Boolean value)
          
 void setAttributeWildcard(XSDWildcard value)
          
 void setAttributeWildcardContent(XSDWildcard value)
          
 void setBaseTypeDefinition(XSDTypeDefinition value)
          
 void setContent(XSDComplexTypeContent value)
          
 void setContentAnnotation(XSDAnnotation value)
          
 void setContentType(XSDComplexTypeContent value)
          
 void setContentTypeCategory(com.ibm.etools.emf.ecore.EEnumLiteral value)
          
 void setContentTypeCategory(int value)
          
 void setContentTypeCategory(java.lang.Integer value)
          
 void setContentTypeCategory(java.lang.String value)
          
 void setDerivationMethod(com.ibm.etools.emf.ecore.EEnumLiteral value)
          
 void setDerivationMethod(int value)
          
 void setDerivationMethod(java.lang.Integer value)
          
 void setDerivationMethod(java.lang.String value)
          
 void setMixed(boolean value)
          
 void setMixed(java.lang.Boolean value)
          
 void setStringBlock(java.lang.String block)
          Sets the String value of the 'Block' attribute.
 void setStringLexicalFinal(java.lang.String finalDefault)
          Sets the String value of the 'Lexical Final' attribute.
 java.lang.String toString()
          
 void unsetAbstract()
          
 void unsetAttributeWildcard()
          
 void unsetAttributeWildcardContent()
          
 void unsetBaseTypeDefinition()
          
 void unsetContent()
          
 void unsetContentAnnotation()
          
 void unsetContentType()
          
 void unsetContentTypeCategory()
          
 void unsetDerivationMethod()
          
 void unsetMixed()
          
 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, getComplexType, 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, 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, getComplexType, 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

derivationMethod

protected com.ibm.etools.emf.ecore.EEnumLiteral derivationMethod
The cached value of the 'Derivation Method' attribute.
See Also:
getLiteralDerivationMethod()

final_

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

abstract_

protected java.lang.Boolean abstract_
The cached value of the 'Abstract' attribute.
See Also:
getAbstract()

contentTypeCategory

protected com.ibm.etools.emf.ecore.EEnumLiteral contentTypeCategory
The cached value of the 'Content Type Category' attribute.
See Also:
getLiteralContentTypeCategory()

prohibitedSubstitutions

protected com.ibm.etools.emf.ref.EList prohibitedSubstitutions
The cached value of the 'Prohibited Substitutions' attribute list.
See Also:
getProhibitedSubstitutions()

lexicalFinal

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

block

protected com.ibm.etools.emf.ref.EList block
The cached value of the 'Block' attribute list.
See Also:
getBlock()

mixed

protected java.lang.Boolean mixed
The cached value of the 'Mixed' attribute.
See Also:
getMixed()

contentAnnotation

protected XSDAnnotation contentAnnotation
The cached value of the 'Content Annotation' reference.
See Also:
getContentAnnotation()

baseTypeDefinition

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

content

protected XSDComplexTypeContent content
The cached value of the 'Content' reference.
See Also:
getContent()

contentType

protected XSDComplexTypeContent contentType
The cached value of the 'Content Type' reference.
See Also:
getContentType()

attributeUses

protected com.ibm.etools.emf.ref.EList attributeUses
The cached value of the 'Attribute Uses' reference list.
See Also:
getAttributeUses()

attributeContents

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

attributeWildcard

protected XSDWildcard attributeWildcard
The cached value of the 'Attribute Wildcard' reference.
See Also:
getAttributeWildcard()

attributeWildcardContent

protected XSDWildcard attributeWildcardContent
The cached value of the 'Attribute Wildcard Content' reference.
See Also:
getAttributeWildcardContent()

extensionParticle

protected XSDParticle extensionParticle

effectiveWildcard

protected XSDWildcardImpl effectiveWildcard
Constructor Detail

XSDComplexTypeDefinitionImpl

protected XSDComplexTypeDefinitionImpl()
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.

eClassXSDComplexTypeDefinition

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

createComplexTypeDefinition

public static XSDComplexTypeDefinition createComplexTypeDefinition(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

getLiteralDerivationMethod

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralDerivationMethod()
Specified by:
getLiteralDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Derivation Method' attribute.
See Also:
XSDComplexTypeDefinition.getValueDerivationMethod(), XSDComplexTypeDefinition.getDerivationMethod(), XSDComplexTypeDefinition.getStringDerivationMethod(), XSDDerivationMethod, XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.setDerivationMethod(EEnumLiteral), XSDPackage.getXSDComplexTypeDefinition_DerivationMethod()

getValueDerivationMethod

public int getValueDerivationMethod()
Description copied from interface: XSDComplexTypeDefinition
Returns the primitive value of the 'Derivation Method' attribute.
Specified by:
getValueDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the primitive value of the 'Derivation Method' attribute.
See Also:
XSDComplexTypeDefinition.getLiteralDerivationMethod(), XSDComplexTypeDefinition.getValueDerivationMethod(), XSDComplexTypeDefinition.getStringDerivationMethod(), XSDDerivationMethod, XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.setDerivationMethod(int)

getStringDerivationMethod

public java.lang.String getStringDerivationMethod()
Specified by:
getStringDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the String value of the 'Derivation Method' attribute.
See Also:
XSDComplexTypeDefinition.getLiteralDerivationMethod(), XSDComplexTypeDefinition.getDerivationMethod(), XSDComplexTypeDefinition.getValueDerivationMethod(), XSDDerivationMethod, XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.setDerivationMethod(String)

getDerivationMethod

public java.lang.Integer getDerivationMethod()
Specified by:
getDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the Integer value of the 'Derivation Method' attribute.
See Also:
XSDComplexTypeDefinition.getLiteralDerivationMethod(), XSDComplexTypeDefinition.getValueDerivationMethod(), XSDComplexTypeDefinition.getStringDerivationMethod(), XSDDerivationMethod, XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.setDerivationMethod(Integer)

setDerivationMethod

public void setDerivationMethod(com.ibm.etools.emf.ecore.EEnumLiteral value)
                         throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Derivation Method' attribute.
See Also:
XSDComplexTypeDefinition.setDerivationMethod(int), XSDComplexTypeDefinition.setDerivationMethod(Integer), XSDComplexTypeDefinition.setDerivationMethod(String), XSDDerivationMethod, XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.getLiteralDerivationMethod()

setDerivationMethod

public void setDerivationMethod(int value)
                         throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the int value of the new enumeration literal value of the 'Derivation Method' attribute.
See Also:
XSDComplexTypeDefinition.setDerivationMethod(EEnumLiteral), XSDComplexTypeDefinition.setDerivationMethod(Integer), XSDComplexTypeDefinition.setDerivationMethod(String), XSDDerivationMethod, XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.getValueDerivationMethod()

setDerivationMethod

public void setDerivationMethod(java.lang.String value)
                         throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the String value of the new enumeration literal value of the 'Derivation Method' attribute.
See Also:
XSDComplexTypeDefinition.setDerivationMethod(EEnumLiteral), XSDComplexTypeDefinition.setDerivationMethod(int), XSDComplexTypeDefinition.setDerivationMethod(Integer), XSDDerivationMethod, XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.getStringDerivationMethod()

setDerivationMethod

public void setDerivationMethod(java.lang.Integer value)
                         throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the Integer value of the new enumeration literal value of the 'Derivation Method' attribute.
See Also:
XSDComplexTypeDefinition.setDerivationMethod(EEnumLiteral), XSDComplexTypeDefinition.setDerivationMethod(int), XSDComplexTypeDefinition.setDerivationMethod(String), XSDDerivationMethod, XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.getValueDerivationMethod()

unsetDerivationMethod

public void unsetDerivationMethod()
Specified by:
unsetDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetDerivationMethod(), XSDComplexTypeDefinition.getLiteralDerivationMethod(), XSDComplexTypeDefinition.setDerivationMethod(EEnumLiteral)

isSetDerivationMethod

public boolean isSetDerivationMethod()
Specified by:
isSetDerivationMethod in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Derivation Method' attribute is set.
See Also:
XSDComplexTypeDefinition.unsetDerivationMethod(), XSDComplexTypeDefinition.getLiteralDerivationMethod(), XSDComplexTypeDefinition.setDerivationMethod(EEnumLiteral)

getFinal

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

getAbstract

public java.lang.Boolean getAbstract()
Specified by:
getAbstract in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Abstract' attribute.
See Also:
XSDComplexTypeDefinition.isAbstract(), XSDComplexTypeDefinition.isSetAbstract(), XSDComplexTypeDefinition.unsetAbstract(), XSDComplexTypeDefinition.setAbstract(Boolean), XSDPackage.getXSDComplexTypeDefinition_Abstract()

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the object is 'Abstract'.
See Also:
XSDComplexTypeDefinition.getAbstract(), XSDComplexTypeDefinition.isSetAbstract(), XSDComplexTypeDefinition.unsetAbstract(), XSDComplexTypeDefinition.setAbstract(boolean)

setAbstract

public void setAbstract(java.lang.Boolean value)
Specified by:
setAbstract in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Abstract' attribute.
See Also:
XSDComplexTypeDefinition.setAbstract(boolean), XSDComplexTypeDefinition.isSetAbstract(), XSDComplexTypeDefinition.unsetAbstract(), XSDComplexTypeDefinition.getAbstract()

setAbstract

public void setAbstract(boolean value)
Specified by:
setAbstract in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Abstract' attribute.
See Also:
XSDComplexTypeDefinition.setAbstract(Boolean), XSDComplexTypeDefinition.isSetAbstract(), XSDComplexTypeDefinition.unsetAbstract(), XSDComplexTypeDefinition.isAbstract()

unsetAbstract

public void unsetAbstract()
Specified by:
unsetAbstract in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetAbstract(), XSDComplexTypeDefinition.getAbstract(), XSDComplexTypeDefinition.setAbstract(Boolean)

isSetAbstract

public boolean isSetAbstract()
Specified by:
isSetAbstract in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Abstract' attribute is set.
See Also:
XSDComplexTypeDefinition.unsetAbstract(), XSDComplexTypeDefinition.getAbstract(), XSDComplexTypeDefinition.setAbstract(Boolean)

getLiteralContentTypeCategory

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralContentTypeCategory()
Specified by:
getLiteralContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Content Type Category' attribute.
See Also:
XSDComplexTypeDefinition.getValueContentTypeCategory(), XSDComplexTypeDefinition.getContentTypeCategory(), XSDComplexTypeDefinition.getStringContentTypeCategory(), XSDContentTypeCategory, XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.setContentTypeCategory(EEnumLiteral), XSDPackage.getXSDComplexTypeDefinition_ContentTypeCategory()

getValueContentTypeCategory

public int getValueContentTypeCategory()
Description copied from interface: XSDComplexTypeDefinition
Returns the primitive value of the 'Content Type Category' attribute.
Specified by:
getValueContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the primitive value of the 'Content Type Category' attribute.
See Also:
XSDComplexTypeDefinition.getLiteralContentTypeCategory(), XSDComplexTypeDefinition.getValueContentTypeCategory(), XSDComplexTypeDefinition.getStringContentTypeCategory(), XSDContentTypeCategory, XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.setContentTypeCategory(int)

getStringContentTypeCategory

public java.lang.String getStringContentTypeCategory()
Specified by:
getStringContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the String value of the 'Content Type Category' attribute.
See Also:
XSDComplexTypeDefinition.getLiteralContentTypeCategory(), XSDComplexTypeDefinition.getContentTypeCategory(), XSDComplexTypeDefinition.getValueContentTypeCategory(), XSDContentTypeCategory, XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.setContentTypeCategory(String)

getContentTypeCategory

public java.lang.Integer getContentTypeCategory()
Specified by:
getContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the Integer value of the 'Content Type Category' attribute.
See Also:
XSDComplexTypeDefinition.getLiteralContentTypeCategory(), XSDComplexTypeDefinition.getValueContentTypeCategory(), XSDComplexTypeDefinition.getStringContentTypeCategory(), XSDContentTypeCategory, XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.setContentTypeCategory(Integer)

setContentTypeCategory

public void setContentTypeCategory(com.ibm.etools.emf.ecore.EEnumLiteral value)
                            throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Content Type Category' attribute.
See Also:
XSDComplexTypeDefinition.setContentTypeCategory(int), XSDComplexTypeDefinition.setContentTypeCategory(Integer), XSDComplexTypeDefinition.setContentTypeCategory(String), XSDContentTypeCategory, XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.getLiteralContentTypeCategory()

setContentTypeCategory

public void setContentTypeCategory(int value)
                            throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the int value of the new enumeration literal value of the 'Content Type Category' attribute.
See Also:
XSDComplexTypeDefinition.setContentTypeCategory(EEnumLiteral), XSDComplexTypeDefinition.setContentTypeCategory(Integer), XSDComplexTypeDefinition.setContentTypeCategory(String), XSDContentTypeCategory, XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.getValueContentTypeCategory()

setContentTypeCategory

public void setContentTypeCategory(java.lang.String value)
                            throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the String value of the new enumeration literal value of the 'Content Type Category' attribute.
See Also:
XSDComplexTypeDefinition.setContentTypeCategory(EEnumLiteral), XSDComplexTypeDefinition.setContentTypeCategory(int), XSDComplexTypeDefinition.setContentTypeCategory(Integer), XSDContentTypeCategory, XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.getStringContentTypeCategory()

setContentTypeCategory

public void setContentTypeCategory(java.lang.Integer value)
                            throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the Integer value of the new enumeration literal value of the 'Content Type Category' attribute.
See Also:
XSDComplexTypeDefinition.setContentTypeCategory(EEnumLiteral), XSDComplexTypeDefinition.setContentTypeCategory(int), XSDComplexTypeDefinition.setContentTypeCategory(String), XSDContentTypeCategory, XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.getValueContentTypeCategory()

unsetContentTypeCategory

public void unsetContentTypeCategory()
Specified by:
unsetContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetContentTypeCategory(), XSDComplexTypeDefinition.getLiteralContentTypeCategory(), XSDComplexTypeDefinition.setContentTypeCategory(EEnumLiteral)

isSetContentTypeCategory

public boolean isSetContentTypeCategory()
Specified by:
isSetContentTypeCategory in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Content Type Category' attribute is set.
See Also:
XSDComplexTypeDefinition.unsetContentTypeCategory(), XSDComplexTypeDefinition.getLiteralContentTypeCategory(), XSDComplexTypeDefinition.setContentTypeCategory(EEnumLiteral)

getProhibitedSubstitutions

public com.ibm.etools.emf.ref.EList getProhibitedSubstitutions()
Specified by:
getProhibitedSubstitutions in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Prohibited Substitutions' attribute list.
See Also:
XSDComplexTypeDefinition.getStringProhibitedSubstitutions(), XSDPackage.getXSDComplexTypeDefinition_ProhibitedSubstitutions()

getLexicalFinal

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

getBlock

public com.ibm.etools.emf.ref.EList getBlock()
Specified by:
getBlock in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Block' attribute list.
See Also:
XSDComplexTypeDefinition.getStringBlock(), XSDComplexTypeDefinition.setStringBlock(java.lang.String), XSDPackage.getXSDComplexTypeDefinition_Block()

getMixed

public java.lang.Boolean getMixed()
Specified by:
getMixed in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Mixed' attribute.
See Also:
XSDComplexTypeDefinition.isMixed(), XSDComplexTypeDefinition.isSetMixed(), XSDComplexTypeDefinition.unsetMixed(), XSDComplexTypeDefinition.setMixed(Boolean), XSDPackage.getXSDComplexTypeDefinition_Mixed()

isMixed

public boolean isMixed()
Specified by:
isMixed in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the object is 'Mixed'.
See Also:
XSDComplexTypeDefinition.getMixed(), XSDComplexTypeDefinition.isSetMixed(), XSDComplexTypeDefinition.unsetMixed(), XSDComplexTypeDefinition.setMixed(boolean)

setMixed

public void setMixed(java.lang.Boolean value)
Specified by:
setMixed in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Mixed' attribute.
See Also:
XSDComplexTypeDefinition.setMixed(boolean), XSDComplexTypeDefinition.isSetMixed(), XSDComplexTypeDefinition.unsetMixed(), XSDComplexTypeDefinition.getMixed()

setMixed

public void setMixed(boolean value)
Specified by:
setMixed in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Mixed' attribute.
See Also:
XSDComplexTypeDefinition.setMixed(Boolean), XSDComplexTypeDefinition.isSetMixed(), XSDComplexTypeDefinition.unsetMixed(), XSDComplexTypeDefinition.isMixed()

unsetMixed

public void unsetMixed()
Specified by:
unsetMixed in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetMixed(), XSDComplexTypeDefinition.getMixed(), XSDComplexTypeDefinition.setMixed(Boolean)

isSetMixed

public boolean isSetMixed()
Specified by:
isSetMixed in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Mixed' attribute is set.
See Also:
XSDComplexTypeDefinition.unsetMixed(), XSDComplexTypeDefinition.getMixed(), XSDComplexTypeDefinition.setMixed(Boolean)

getContentAnnotation

public XSDAnnotation getContentAnnotation()
Specified by:
getContentAnnotation in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Content Annotation' reference.
See Also:
XSDComplexTypeDefinition.isSetContentAnnotation(), XSDComplexTypeDefinition.unsetContentAnnotation(), XSDComplexTypeDefinition.setContentAnnotation(XSDAnnotation), XSDPackage.getXSDComplexTypeDefinition_ContentAnnotation()

setContentAnnotation

public void setContentAnnotation(XSDAnnotation value)
Specified by:
setContentAnnotation in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Content Annotation' reference.
See Also:
XSDComplexTypeDefinition.isSetContentAnnotation(), XSDComplexTypeDefinition.unsetContentAnnotation(), XSDComplexTypeDefinition.getContentAnnotation()

unsetContentAnnotation

public void unsetContentAnnotation()
Specified by:
unsetContentAnnotation in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetContentAnnotation(), XSDComplexTypeDefinition.getContentAnnotation(), XSDComplexTypeDefinition.setContentAnnotation(XSDAnnotation)

isSetContentAnnotation

public boolean isSetContentAnnotation()
Specified by:
isSetContentAnnotation in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Content Annotation' reference is set.
See Also:
XSDComplexTypeDefinition.unsetContentAnnotation(), XSDComplexTypeDefinition.getContentAnnotation(), XSDComplexTypeDefinition.setContentAnnotation(XSDAnnotation)

getBaseTypeDefinition

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

setBaseTypeDefinition

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

unsetBaseTypeDefinition

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

isSetBaseTypeDefinition

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

getContent

public XSDComplexTypeContent getContent()
Specified by:
getContent in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Content' reference.
See Also:
XSDComplexTypeDefinition.isSetContent(), XSDComplexTypeDefinition.unsetContent(), XSDComplexTypeDefinition.setContent(XSDComplexTypeContent), XSDPackage.getXSDComplexTypeDefinition_Content()

setContent

public void setContent(XSDComplexTypeContent value)
Specified by:
setContent in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Content' reference.
See Also:
XSDComplexTypeDefinition.isSetContent(), XSDComplexTypeDefinition.unsetContent(), XSDComplexTypeDefinition.getContent()

unsetContent

public void unsetContent()
Specified by:
unsetContent in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetContent(), XSDComplexTypeDefinition.getContent(), XSDComplexTypeDefinition.setContent(XSDComplexTypeContent)

isSetContent

public boolean isSetContent()
Specified by:
isSetContent in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Content' reference is set.
See Also:
XSDComplexTypeDefinition.unsetContent(), XSDComplexTypeDefinition.getContent(), XSDComplexTypeDefinition.setContent(XSDComplexTypeContent)

getContentType

public XSDComplexTypeContent getContentType()
Specified by:
getContentType in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Content Type' reference.
See Also:
XSDComplexTypeDefinition.isSetContentType(), XSDComplexTypeDefinition.unsetContentType(), XSDComplexTypeDefinition.setContentType(XSDComplexTypeContent), XSDPackage.getXSDComplexTypeDefinition_ContentType()

setContentType

public void setContentType(XSDComplexTypeContent value)
Specified by:
setContentType in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Content Type' reference.
See Also:
XSDComplexTypeDefinition.isSetContentType(), XSDComplexTypeDefinition.unsetContentType(), XSDComplexTypeDefinition.getContentType()

unsetContentType

public void unsetContentType()
Specified by:
unsetContentType in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetContentType(), XSDComplexTypeDefinition.getContentType(), XSDComplexTypeDefinition.setContentType(XSDComplexTypeContent)

isSetContentType

public boolean isSetContentType()
Specified by:
isSetContentType in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Content Type' reference is set.
See Also:
XSDComplexTypeDefinition.unsetContentType(), XSDComplexTypeDefinition.getContentType(), XSDComplexTypeDefinition.setContentType(XSDComplexTypeContent)

getAttributeUses

public com.ibm.etools.emf.ref.EList getAttributeUses()
Specified by:
getAttributeUses in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Attribute Uses' reference list.
See Also:
XSDPackage.getXSDComplexTypeDefinition_AttributeUses()

getAttributeContents

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

getAttributeWildcard

public XSDWildcard getAttributeWildcard()
Specified by:
getAttributeWildcard in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Attribute Wildcard' reference.
See Also:
XSDComplexTypeDefinition.isSetAttributeWildcard(), XSDComplexTypeDefinition.unsetAttributeWildcard(), XSDComplexTypeDefinition.setAttributeWildcard(XSDWildcard), XSDPackage.getXSDComplexTypeDefinition_AttributeWildcard()

setAttributeWildcard

public void setAttributeWildcard(XSDWildcard value)
Specified by:
setAttributeWildcard in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Attribute Wildcard' reference.
See Also:
XSDComplexTypeDefinition.isSetAttributeWildcard(), XSDComplexTypeDefinition.unsetAttributeWildcard(), XSDComplexTypeDefinition.getAttributeWildcard()

unsetAttributeWildcard

public void unsetAttributeWildcard()
Specified by:
unsetAttributeWildcard in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetAttributeWildcard(), XSDComplexTypeDefinition.getAttributeWildcard(), XSDComplexTypeDefinition.setAttributeWildcard(XSDWildcard)

isSetAttributeWildcard

public boolean isSetAttributeWildcard()
Specified by:
isSetAttributeWildcard in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Attribute Wildcard' reference is set.
See Also:
XSDComplexTypeDefinition.unsetAttributeWildcard(), XSDComplexTypeDefinition.getAttributeWildcard(), XSDComplexTypeDefinition.setAttributeWildcard(XSDWildcard)

getAttributeWildcardContent

public XSDWildcard getAttributeWildcardContent()
Specified by:
getAttributeWildcardContent in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Attribute Wildcard Content' reference.
See Also:
XSDComplexTypeDefinition.isSetAttributeWildcardContent(), XSDComplexTypeDefinition.unsetAttributeWildcardContent(), XSDComplexTypeDefinition.setAttributeWildcardContent(XSDWildcard), XSDPackage.getXSDComplexTypeDefinition_AttributeWildcardContent()

setAttributeWildcardContent

public void setAttributeWildcardContent(XSDWildcard value)
Specified by:
setAttributeWildcardContent in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Attribute Wildcard Content' reference.
See Also:
XSDComplexTypeDefinition.isSetAttributeWildcardContent(), XSDComplexTypeDefinition.unsetAttributeWildcardContent(), XSDComplexTypeDefinition.getAttributeWildcardContent()

unsetAttributeWildcardContent

public void unsetAttributeWildcardContent()
Specified by:
unsetAttributeWildcardContent in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
See Also:
XSDComplexTypeDefinition.isSetAttributeWildcardContent(), XSDComplexTypeDefinition.getAttributeWildcardContent(), XSDComplexTypeDefinition.setAttributeWildcardContent(XSDWildcard)

isSetAttributeWildcardContent

public boolean isSetAttributeWildcardContent()
Specified by:
isSetAttributeWildcardContent in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
whether the value of the 'Attribute Wildcard Content' reference is set.
See Also:
XSDComplexTypeDefinition.unsetAttributeWildcardContent(), XSDComplexTypeDefinition.getAttributeWildcardContent(), XSDComplexTypeDefinition.setAttributeWildcardContent(XSDWildcard)

createElement

public Element createElement()
Overrides:
createElement in class XSDConcreteComponentImpl

createContentElementPair

protected Element[] createContentElementPair()

createDerivationElement

protected Element createDerivationElement()

considerAllContainsForBestConcreteComponent

protected boolean considerAllContainsForBestConcreteComponent()
Overrides:
considerAllContainsForBestConcreteComponent in class XSDConcreteComponentImpl

patch

protected void patch()
Overrides:
patch in class XSDTypeDefinitionImpl

handleAnalysis

protected void handleAnalysis()
Overrides:
handleAnalysis in class XSDTypeDefinitionImpl

isEmptyContent

protected boolean isEmptyContent(XSDParticle xsdParticle)

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

handleNewBaseTypeDefinition

protected XSDTypeDefinition handleNewBaseTypeDefinition(XSDTypeDefinition 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

abbreviate

protected boolean abbreviate()

findOrCreateContentElementPair

protected Element[] findOrCreateContentElementPair()

getContentElementPair

protected Element[] getContentElementPair()

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

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 XSDTypeDefinition getRootTypeDefinition()
Description copied from interface: XSDComplexTypeDefinition
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 XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the value of the 'Root Type Definition' reference.
See Also:
XSDPackage.getXSDComplexTypeDefinition_RootTypeDefinition()

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

getXSDScopeDelegate

protected XSDScopeImpl getXSDScopeDelegate()

eClassXSDScope

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

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()

getStringLexicalFinal

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

setStringLexicalFinal

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

getStringFinal

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

getStringBlock

public java.lang.String getStringBlock()
Description copied from interface: XSDComplexTypeDefinition
Returns the String value of the 'Block' attribute list.
Specified by:
getStringBlock in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the String value of the 'Block' attribute list.
See Also:
XSDComplexTypeDefinition.getBlock(), XSDComplexTypeDefinition.setStringBlock(java.lang.String)

setStringBlock

public void setStringBlock(java.lang.String block)
Description copied from interface: XSDComplexTypeDefinition
Sets the String value of the 'Block' attribute.
Specified by:
setStringBlock in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Parameters:
value - the new value of the 'Block' attribute.
See Also:
XSDComplexTypeDefinition.getBlock(), XSDComplexTypeDefinition.getStringBlock()

getStringProhibitedSubstitutions

public java.lang.String getStringProhibitedSubstitutions()
Description copied from interface: XSDComplexTypeDefinition
Returns the String value of the 'Prohibited Substitutions' attribute list.
Specified by:
getStringProhibitedSubstitutions in interface XSDComplexTypeDefinition
Following copied from interface: com.ibm.etools.xsd.XSDComplexTypeDefinition
Returns:
the String value of the 'Prohibited Substitutions' attribute list.
See Also:
XSDComplexTypeDefinition.getProhibitedSubstitutions()

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.