com.ibm.etools.xsd.impl
Class XSDWildcardImpl

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.XSDTermImpl
                                      |
                                      +--com.ibm.etools.xsd.impl.XSDWildcardImpl
All Implemented Interfaces:
com.ibm.etools.emf.notify.InternalNotifier, com.ibm.etools.emf.ref.InternalProxy, com.ibm.etools.emf.ref.InternalResolved, com.ibm.etools.emf.ref.Internals, com.ibm.etools.emf.notify.Notifier, com.ibm.etools.emf.ref.RefBaseObject, com.ibm.etools.emf.ref.RefObject, com.ibm.etools.emf.resource.ResourceSetReference, XSDComponent, XSDConcreteComponent, XSDParticleContent, XSDTerm, XSDWildcard

public class XSDWildcardImpl
extends XSDTermImpl
implements XSDWildcard, XSDTerm, XSDComponent


Field Summary
protected  XSDAnnotation annotation
          The cached value of the 'Annotation' reference.
protected  com.ibm.etools.emf.ref.EList annotations
          The cached value of the 'Annotations' reference list.
static java.lang.String copyright
           
protected  com.ibm.etools.emf.ref.EList lexicalNamespaceConstraint
          The cached value of the 'Lexical Namespace Constraint' attribute list.
protected  com.ibm.etools.emf.ref.EList namespaceConstraint
          The cached value of the 'Namespace Constraint' attribute list.
protected  com.ibm.etools.emf.ecore.EEnumLiteral namespaceConstraintCategory
          The cached value of the 'Namespace Constraint Category' attribute.
protected  XSDConcreteComponent owner
           
protected  com.ibm.etools.emf.ecore.EEnumLiteral processContents
          The cached value of the 'Process Contents' attribute.
 
Fields inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
ANALYZED, ANALYZING, CIRCULAR, diagnostics, element, ERROR, FATAL, INFORMATION, isReconciling, 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 XSDWildcardImpl()
           
 
Method Summary
protected  boolean analyze()
           
 XSDWildcard attributeWildcardIntersection(XSDWildcard otherWildcard)
          Returns a wildcard that is the attribute wildcard interection of this wildcard and the given wildcard.
 XSDWildcard attributeWildcardUnion(XSDWildcard otherWildcard)
          Returns a wildcard that is the attribute wildcard union of this wildcard and the given wildcard.
protected  void changeAttribute(com.ibm.etools.emf.ref.RefAttribute refAttribute)
           
 XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
          Creates a clone of the component.
 Element createElement()
           
static XSDWildcard createWildcard(Node node)
           
 com.ibm.etools.emf.ecore.EClass eClassXSDWildcard()
          
 XSDPackage ePackageXSD()
          
 XSDAnnotation getAnnotation()
          
 com.ibm.etools.emf.ref.EList getAnnotations()
          
 com.ibm.etools.emf.ref.EList getLexicalNamespaceConstraint()
          
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralNamespaceConstraintCategory()
          
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralProcessContents()
          
 com.ibm.etools.emf.ref.EList getNamespaceConstraint()
          
 java.lang.Integer getNamespaceConstraintCategory()
          
 XSDConcreteComponent getOwner()
          Returns the value of the 'Owner' reference.
 java.lang.Integer getProcessContents()
          
 java.lang.String getStringLexicalNamespaceConstraint()
          Returns the String value of the 'Lexical Namespace Constraint' attribute list.
 java.lang.String getStringNamespaceConstraint()
          Returns the String value of the 'Namespace Constraint' attribute list.
 java.lang.String getStringNamespaceConstraintCategory()
          
 java.lang.String getStringProcessContents()
          
 int getValueNamespaceConstraintCategory()
          Returns the primitive value of the 'Namespace Constraint Category' attribute.
 int getValueProcessContents()
          Returns the primitive value of the 'Process Contents' attribute.
 com.ibm.etools.emf.ref.RefObject initInstance()
          
 boolean isSetAnnotation()
          
 boolean isSetNamespaceConstraintCategory()
          
 boolean isSetProcessContents()
          
protected  boolean isUpdatingDOM()
           
 boolean isWildcardSubset(XSDWildcard superSetWildcard)
          Returns whether this wildcard is a subset of the given wildcard.
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 setAnnotation(XSDAnnotation value)
          
 void setLike(XSDWildcard xsdWildcard)
           
 void setNamespaceConstraintCategory(com.ibm.etools.emf.ecore.EEnumLiteral value)
          
 void setNamespaceConstraintCategory(int value)
          
 void setNamespaceConstraintCategory(java.lang.Integer value)
          
 void setNamespaceConstraintCategory(java.lang.String value)
          
 void setOwner(XSDConcreteComponent owner)
          Sets the value of the 'Owner' reference.
 void setProcessContents(com.ibm.etools.emf.ecore.EEnumLiteral value)
          
 void setProcessContents(int value)
          
 void setProcessContents(java.lang.Integer value)
          
 void setProcessContents(java.lang.String value)
          
 void setStringLexicalNamespaceConstraint(java.lang.String lexicalNamespaceConstraint)
          Sets the String value of the 'Lexical Namespace Constraint' attribute.
 java.lang.String toString()
          
 void unsetAnnotation()
          
 void unsetNamespaceConstraintCategory()
          
 void unsetProcessContents()
          
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDTermImpl
eClassXSDParticleContent, eClassXSDTerm, getXSDParticleContentDelegate
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDComponentImpl
eClassXSDComponent
 
Methods inherited from class com.ibm.etools.xsd.impl.XSDConcreteComponentImpl
adoptBy, adoptContent, adoptDiagnostic, changeReference, 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, getAdoptionParentNode, getBestConcreteComponent, getComponentsWithApplicationInformation, getComponentsWithInformation, getComponentsWithUserInformation, getContainer, getContentNodes, getDiagnostics, getElement, getOwnerGen, getRootContainer, getRootOwner, getSchema, getURIReferenceLabel, getURIReferencePath, getXSDFactory, getXSDPackage, handleAnnotationReconciliation, handleElementForAdopt, handleReconciliation, handleUnreconciledElement, internalNotify, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, moveContent, niceCreateNamespaceAttribute, niceInsertBefore, niceRemoveChild, niceSetAttribute, niceSetAttributeURIValue, orphanBy, orphanContent, orphanDiagnostic, patch, reconcile, reconcileContents, reportConstraintViolation, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setElementGen, setListContentAndOrder, setRootOwner, setSchema, traverseToRootForAnalysis, traverseToRootForPatching, unsetElement, unsetElementGen, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement, validate
 
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.XSDTerm
eClassXSDTerm
 
Methods inherited from interface com.ibm.etools.xsd.XSDParticleContent
eClassXSDParticleContent
 
Methods inherited from interface com.ibm.etools.xsd.XSDConcreteComponent
clearDiagnostics, contains, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, 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, setRootOwner, setSchema, unsetElement, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement, validate
 
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.XSDComponent
eClassXSDComponent
 
Methods inherited from interface com.ibm.etools.emf.ref.Internals
refBasicContainsExtent, refBasicSetContainer, refSetContainer, refSetContainer
 

Field Detail

copyright

public static final java.lang.String copyright

namespaceConstraintCategory

protected com.ibm.etools.emf.ecore.EEnumLiteral namespaceConstraintCategory
The cached value of the 'Namespace Constraint Category' attribute.
See Also:
getLiteralNamespaceConstraintCategory()

namespaceConstraint

protected com.ibm.etools.emf.ref.EList namespaceConstraint
The cached value of the 'Namespace Constraint' attribute list.
See Also:
getNamespaceConstraint()

processContents

protected com.ibm.etools.emf.ecore.EEnumLiteral processContents
The cached value of the 'Process Contents' attribute.
See Also:
getLiteralProcessContents()

lexicalNamespaceConstraint

protected com.ibm.etools.emf.ref.EList lexicalNamespaceConstraint
The cached value of the 'Lexical Namespace Constraint' attribute list.
See Also:
getLexicalNamespaceConstraint()

annotation

protected XSDAnnotation annotation
The cached value of the 'Annotation' reference.
See Also:
getAnnotation()

annotations

protected com.ibm.etools.emf.ref.EList annotations
The cached value of the 'Annotations' reference list.
See Also:
getAnnotations()

owner

protected XSDConcreteComponent owner
Constructor Detail

XSDWildcardImpl

protected XSDWildcardImpl()
Method Detail

ePackageXSD

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

eClassXSDWildcard

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

createWildcard

public static XSDWildcard createWildcard(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 XSDTermImpl

getLiteralNamespaceConstraintCategory

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralNamespaceConstraintCategory()
Specified by:
getLiteralNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the value of the 'Namespace Constraint Category' attribute.
See Also:
XSDWildcard.getValueNamespaceConstraintCategory(), XSDWildcard.getNamespaceConstraintCategory(), XSDWildcard.getStringNamespaceConstraintCategory(), XSDNamespaceConstraintCategory, XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.setNamespaceConstraintCategory(EEnumLiteral), XSDPackage.getXSDWildcard_NamespaceConstraintCategory()

getValueNamespaceConstraintCategory

public int getValueNamespaceConstraintCategory()
Description copied from interface: XSDWildcard
Returns the primitive value of the 'Namespace Constraint Category' attribute.
Specified by:
getValueNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the primitive value of the 'Namespace Constraint Category' attribute.
See Also:
XSDWildcard.getLiteralNamespaceConstraintCategory(), XSDWildcard.getValueNamespaceConstraintCategory(), XSDWildcard.getStringNamespaceConstraintCategory(), XSDNamespaceConstraintCategory, XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.setNamespaceConstraintCategory(int)

getStringNamespaceConstraintCategory

public java.lang.String getStringNamespaceConstraintCategory()
Specified by:
getStringNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the String value of the 'Namespace Constraint Category' attribute.
See Also:
XSDWildcard.getLiteralNamespaceConstraintCategory(), XSDWildcard.getNamespaceConstraintCategory(), XSDWildcard.getValueNamespaceConstraintCategory(), XSDNamespaceConstraintCategory, XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.setNamespaceConstraintCategory(String)

getNamespaceConstraintCategory

public java.lang.Integer getNamespaceConstraintCategory()
Specified by:
getNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the Integer value of the 'Namespace Constraint Category' attribute.
See Also:
XSDWildcard.getLiteralNamespaceConstraintCategory(), XSDWildcard.getValueNamespaceConstraintCategory(), XSDWildcard.getStringNamespaceConstraintCategory(), XSDNamespaceConstraintCategory, XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.setNamespaceConstraintCategory(Integer)

setNamespaceConstraintCategory

public void setNamespaceConstraintCategory(com.ibm.etools.emf.ecore.EEnumLiteral value)
                                    throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the new value of the 'Namespace Constraint Category' attribute.
See Also:
XSDWildcard.setNamespaceConstraintCategory(int), XSDWildcard.setNamespaceConstraintCategory(Integer), XSDWildcard.setNamespaceConstraintCategory(String), XSDNamespaceConstraintCategory, XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.getLiteralNamespaceConstraintCategory()

setNamespaceConstraintCategory

public void setNamespaceConstraintCategory(int value)
                                    throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the int value of the new enumeration literal value of the 'Namespace Constraint Category' attribute.
See Also:
XSDWildcard.setNamespaceConstraintCategory(EEnumLiteral), XSDWildcard.setNamespaceConstraintCategory(Integer), XSDWildcard.setNamespaceConstraintCategory(String), XSDNamespaceConstraintCategory, XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.getValueNamespaceConstraintCategory()

setNamespaceConstraintCategory

public void setNamespaceConstraintCategory(java.lang.String value)
                                    throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the String value of the new enumeration literal value of the 'Namespace Constraint Category' attribute.
See Also:
XSDWildcard.setNamespaceConstraintCategory(EEnumLiteral), XSDWildcard.setNamespaceConstraintCategory(int), XSDWildcard.setNamespaceConstraintCategory(Integer), XSDNamespaceConstraintCategory, XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.getStringNamespaceConstraintCategory()

setNamespaceConstraintCategory

public void setNamespaceConstraintCategory(java.lang.Integer value)
                                    throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the Integer value of the new enumeration literal value of the 'Namespace Constraint Category' attribute.
See Also:
XSDWildcard.setNamespaceConstraintCategory(EEnumLiteral), XSDWildcard.setNamespaceConstraintCategory(int), XSDWildcard.setNamespaceConstraintCategory(String), XSDNamespaceConstraintCategory, XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.getValueNamespaceConstraintCategory()

unsetNamespaceConstraintCategory

public void unsetNamespaceConstraintCategory()
Specified by:
unsetNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
See Also:
XSDWildcard.isSetNamespaceConstraintCategory(), XSDWildcard.getLiteralNamespaceConstraintCategory(), XSDWildcard.setNamespaceConstraintCategory(EEnumLiteral)

isSetNamespaceConstraintCategory

public boolean isSetNamespaceConstraintCategory()
Specified by:
isSetNamespaceConstraintCategory in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
whether the value of the 'Namespace Constraint Category' attribute is set.
See Also:
XSDWildcard.unsetNamespaceConstraintCategory(), XSDWildcard.getLiteralNamespaceConstraintCategory(), XSDWildcard.setNamespaceConstraintCategory(EEnumLiteral)

getNamespaceConstraint

public com.ibm.etools.emf.ref.EList getNamespaceConstraint()
Specified by:
getNamespaceConstraint in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the value of the 'Namespace Constraint' attribute list.
See Also:
XSDWildcard.getStringNamespaceConstraint(), XSDPackage.getXSDWildcard_NamespaceConstraint()

getLiteralProcessContents

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralProcessContents()
Specified by:
getLiteralProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the value of the 'Process Contents' attribute.
See Also:
XSDWildcard.getValueProcessContents(), XSDWildcard.getProcessContents(), XSDWildcard.getStringProcessContents(), XSDProcessContents, XSDWildcard.isSetProcessContents(), XSDWildcard.unsetProcessContents(), XSDWildcard.setProcessContents(EEnumLiteral), XSDPackage.getXSDWildcard_ProcessContents()

getValueProcessContents

public int getValueProcessContents()
Description copied from interface: XSDWildcard
Returns the primitive value of the 'Process Contents' attribute.
Specified by:
getValueProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the primitive value of the 'Process Contents' attribute.
See Also:
XSDWildcard.getLiteralProcessContents(), XSDWildcard.getValueProcessContents(), XSDWildcard.getStringProcessContents(), XSDProcessContents, XSDWildcard.isSetProcessContents(), XSDWildcard.unsetProcessContents(), XSDWildcard.setProcessContents(int)

getStringProcessContents

public java.lang.String getStringProcessContents()
Specified by:
getStringProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the String value of the 'Process Contents' attribute.
See Also:
XSDWildcard.getLiteralProcessContents(), XSDWildcard.getProcessContents(), XSDWildcard.getValueProcessContents(), XSDProcessContents, XSDWildcard.isSetProcessContents(), XSDWildcard.unsetProcessContents(), XSDWildcard.setProcessContents(String)

getProcessContents

public java.lang.Integer getProcessContents()
Specified by:
getProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the Integer value of the 'Process Contents' attribute.
See Also:
XSDWildcard.getLiteralProcessContents(), XSDWildcard.getValueProcessContents(), XSDWildcard.getStringProcessContents(), XSDProcessContents, XSDWildcard.isSetProcessContents(), XSDWildcard.unsetProcessContents(), XSDWildcard.setProcessContents(Integer)

setProcessContents

public void setProcessContents(com.ibm.etools.emf.ecore.EEnumLiteral value)
                        throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the new value of the 'Process Contents' attribute.
See Also:
XSDWildcard.setProcessContents(int), XSDWildcard.setProcessContents(Integer), XSDWildcard.setProcessContents(String), XSDProcessContents, XSDWildcard.isSetProcessContents(), XSDWildcard.unsetProcessContents(), XSDWildcard.getLiteralProcessContents()

setProcessContents

public void setProcessContents(int value)
                        throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the int value of the new enumeration literal value of the 'Process Contents' attribute.
See Also:
XSDWildcard.setProcessContents(EEnumLiteral), XSDWildcard.setProcessContents(Integer), XSDWildcard.setProcessContents(String), XSDProcessContents, XSDWildcard.isSetProcessContents(), XSDWildcard.unsetProcessContents(), XSDWildcard.getValueProcessContents()

setProcessContents

public void setProcessContents(java.lang.String value)
                        throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the String value of the new enumeration literal value of the 'Process Contents' attribute.
See Also:
XSDWildcard.setProcessContents(EEnumLiteral), XSDWildcard.setProcessContents(int), XSDWildcard.setProcessContents(Integer), XSDProcessContents, XSDWildcard.isSetProcessContents(), XSDWildcard.unsetProcessContents(), XSDWildcard.getStringProcessContents()

setProcessContents

public void setProcessContents(java.lang.Integer value)
                        throws com.ibm.etools.emf.ref.EnumerationException
Specified by:
setProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the Integer value of the new enumeration literal value of the 'Process Contents' attribute.
See Also:
XSDWildcard.setProcessContents(EEnumLiteral), XSDWildcard.setProcessContents(int), XSDWildcard.setProcessContents(String), XSDProcessContents, XSDWildcard.isSetProcessContents(), XSDWildcard.unsetProcessContents(), XSDWildcard.getValueProcessContents()

unsetProcessContents

public void unsetProcessContents()
Specified by:
unsetProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
See Also:
XSDWildcard.isSetProcessContents(), XSDWildcard.getLiteralProcessContents(), XSDWildcard.setProcessContents(EEnumLiteral)

isSetProcessContents

public boolean isSetProcessContents()
Specified by:
isSetProcessContents in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
whether the value of the 'Process Contents' attribute is set.
See Also:
XSDWildcard.unsetProcessContents(), XSDWildcard.getLiteralProcessContents(), XSDWildcard.setProcessContents(EEnumLiteral)

getLexicalNamespaceConstraint

public com.ibm.etools.emf.ref.EList getLexicalNamespaceConstraint()
Specified by:
getLexicalNamespaceConstraint in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the value of the 'Lexical Namespace Constraint' attribute list.
See Also:
XSDPackage.getXSDWildcard_LexicalNamespaceConstraint()

getAnnotation

public XSDAnnotation getAnnotation()
Specified by:
getAnnotation in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the value of the 'Annotation' reference.
See Also:
XSDWildcard.isSetAnnotation(), XSDWildcard.unsetAnnotation(), XSDWildcard.setAnnotation(XSDAnnotation), XSDPackage.getXSDWildcard_Annotation()

setAnnotation

public void setAnnotation(XSDAnnotation value)
Specified by:
setAnnotation in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
value - the new value of the 'Annotation' reference.
See Also:
XSDWildcard.isSetAnnotation(), XSDWildcard.unsetAnnotation(), XSDWildcard.getAnnotation()

unsetAnnotation

public void unsetAnnotation()
Specified by:
unsetAnnotation in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
See Also:
XSDWildcard.isSetAnnotation(), XSDWildcard.getAnnotation(), XSDWildcard.setAnnotation(XSDAnnotation)

isSetAnnotation

public boolean isSetAnnotation()
Specified by:
isSetAnnotation in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
whether the value of the 'Annotation' reference is set.
See Also:
XSDWildcard.unsetAnnotation(), XSDWildcard.getAnnotation(), XSDWildcard.setAnnotation(XSDAnnotation)

getAnnotations

public com.ibm.etools.emf.ref.EList getAnnotations()
Specified by:
getAnnotations in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the value of the 'Annotations' reference list.
See Also:
XSDPackage.getXSDWildcard_Annotations()

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 XSDTermImpl

refBasicValue

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

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 XSDTermImpl

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 XSDTermImpl

refBasicSetValue

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

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 XSDTermImpl

refBasicUnsetValue

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

toString

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

createElement

public Element createElement()
Overrides:
createElement in class XSDConcreteComponentImpl

analyze

protected boolean analyze()
Overrides:
analyze in class XSDConcreteComponentImpl

isUpdatingDOM

protected boolean isUpdatingDOM()
Overrides:
isUpdatingDOM in class XSDConcreteComponentImpl

reconcileAttributes

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

changeAttribute

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

getStringNamespaceConstraint

public java.lang.String getStringNamespaceConstraint()
Description copied from interface: XSDWildcard
Returns the String value of the 'Namespace Constraint' attribute list.
Specified by:
getStringNamespaceConstraint in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the String value of the 'Namespace Constraint' attribute list.
See Also:
XSDWildcard.getNamespaceConstraint()

getStringLexicalNamespaceConstraint

public java.lang.String getStringLexicalNamespaceConstraint()
Description copied from interface: XSDWildcard
Returns the String value of the 'Lexical Namespace Constraint' attribute list.
Specified by:
getStringLexicalNamespaceConstraint in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Returns:
the String value of the 'Lexical Namespace Constraint' attribute list.
See Also:
XSDWildcard.getLexicalNamespaceConstraint(), XSDWildcard.setStringLexicalNamespaceConstraint(java.lang.String)

setStringLexicalNamespaceConstraint

public void setStringLexicalNamespaceConstraint(java.lang.String lexicalNamespaceConstraint)
Description copied from interface: XSDWildcard
Sets the String value of the 'Lexical Namespace Constraint' attribute.
Specified by:
setStringLexicalNamespaceConstraint in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
lexicalNamespaceConstraint - the new value of the 'Lexical Namespace Constraint' attribute.
See Also:
XSDWildcard.getLexicalNamespaceConstraint(), XSDWildcard.getStringLexicalNamespaceConstraint()

isWildcardSubset

public boolean isWildcardSubset(XSDWildcard superSetWildcard)
Description copied from interface: XSDWildcard
Returns whether this wildcard is a subset of the given wildcard.
Specified by:
isWildcardSubset in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
superSetWildcard - the other wildcard.
Returns:
whether this wildcard is a subset.
See Also:
XSDWildcard.attributeWildcardUnion(com.ibm.etools.xsd.XSDWildcard), XSDWildcard.attributeWildcardIntersection(com.ibm.etools.xsd.XSDWildcard)

attributeWildcardUnion

public XSDWildcard attributeWildcardUnion(XSDWildcard otherWildcard)
Description copied from interface: XSDWildcard
Returns a wildcard that is the attribute wildcard union of this wildcard and the given wildcard.
Specified by:
attributeWildcardUnion in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
otherWildcard - another wildcard.
Returns:
a wildcard that is the attribute wildcard union of this wildcard and the given wildcard.
See Also:
XSDWildcard.isWildcardSubset(com.ibm.etools.xsd.XSDWildcard), XSDWildcard.attributeWildcardIntersection(com.ibm.etools.xsd.XSDWildcard)

attributeWildcardIntersection

public XSDWildcard attributeWildcardIntersection(XSDWildcard otherWildcard)
Description copied from interface: XSDWildcard
Returns a wildcard that is the attribute wildcard interection of this wildcard and the given wildcard.
Specified by:
attributeWildcardIntersection in interface XSDWildcard
Following copied from interface: com.ibm.etools.xsd.XSDWildcard
Parameters:
otherWildcard - another wildcard.
Returns:
a wildcard that is the attribute wildcard interection of this wildcard and the given wildcard.
See Also:
XSDWildcard.isWildcardSubset(com.ibm.etools.xsd.XSDWildcard), XSDWildcard.attributeWildcardUnion(com.ibm.etools.xsd.XSDWildcard)

getOwner

public XSDConcreteComponent getOwner()
Description copied from interface: XSDConcreteComponent
Returns the value of the 'Owner' reference.

This provides the infoset equivalent of the container. If there is a container, that is it's value, i.e., the inverse of the black diamond relations in the UML model. Otherwise, if the component is synthesized by the infoset model, the logical container is it's value, i.e., the inverse of a white diamond relation in the URL model.

Specified by:
getOwner in interface XSDConcreteComponent
Overrides:
getOwner in class XSDConcreteComponentImpl
Following copied from interface: com.ibm.etools.xsd.XSDConcreteComponent
Returns:
the value of the 'Owner' reference.
See Also:
XSDConcreteComponent.isSetOwner(), XSDConcreteComponent.unsetOwner(), XSDConcreteComponent.setOwner(XSDConcreteComponent), XSDPackage.getXSDConcreteComponent_Owner()

setOwner

public void setOwner(XSDConcreteComponent owner)
Description copied from interface: XSDConcreteComponent
Sets the value of the 'Owner' reference.
Specified by:
setOwner in interface XSDConcreteComponent
Overrides:
setOwner in class XSDConcreteComponentImpl
Following copied from interface: com.ibm.etools.xsd.XSDConcreteComponent
Parameters:
value - the new value of the 'Owner' reference.
See Also:
XSDConcreteComponent.isSetOwner(), XSDConcreteComponent.unsetOwner(), XSDConcreteComponent.getOwner()

setLike

public void setLike(XSDWildcard xsdWildcard)

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.