com.ibm.etools.xsd
Interface XSDWildcard

All Superinterfaces:
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
All Known Implementing Classes:
XSDWildcardImpl

public interface XSDWildcard
extends XSDTerm, XSDComponent

A representation of the model object 'Wildcards'.

The following features are supported:

See Also:
XSDPackage.getXSDWildcard()

Field Summary
static java.lang.String copyright
           
 
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
 
Method Summary
 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.
 com.ibm.etools.emf.ecore.EClass eClassXSDWildcard()
          Returns the meta class of XSDWildcard.
 XSDAnnotation getAnnotation()
          Returns the value of the 'Annotation' reference.
 com.ibm.etools.emf.ref.EList getAnnotations()
          Returns the value of the 'Annotations' reference list.
 com.ibm.etools.emf.ref.EList getLexicalNamespaceConstraint()
          Returns the value of the 'Lexical Namespace Constraint' attribute list.
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralNamespaceConstraintCategory()
          Returns the value of the 'Namespace Constraint Category' attribute.
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralProcessContents()
          Returns the value of the 'Process Contents' attribute.
 com.ibm.etools.emf.ref.EList getNamespaceConstraint()
          Returns the value of the 'Namespace Constraint' attribute list.
 java.lang.Integer getNamespaceConstraintCategory()
          Returns the Integer value of the 'Namespace Constraint Category' attribute.
 java.lang.Integer getProcessContents()
          Returns the Integer value of the 'Process Contents' attribute.
 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()
          Returns the String value of the 'Namespace Constraint Category' attribute.
 java.lang.String getStringProcessContents()
          Returns the String value of the 'Process Contents' attribute.
 int getValueNamespaceConstraintCategory()
          Returns the primitive value of the 'Namespace Constraint Category' attribute.
 int getValueProcessContents()
          Returns the primitive value of the 'Process Contents' attribute.
 boolean isSetAnnotation()
          Returns whether the value of the 'Annotation' reference is set.
 boolean isSetNamespaceConstraintCategory()
          Returns whether the value of the 'Namespace Constraint Category' attribute is set.
 boolean isSetProcessContents()
          Returns whether the value of the 'Process Contents' attribute is set.
 boolean isWildcardSubset(XSDWildcard superSetWildcard)
          Returns whether this wildcard is a subset of the given wildcard.
 void setAnnotation(XSDAnnotation value)
          Sets the value of the 'Annotation' reference.
 void setNamespaceConstraintCategory(com.ibm.etools.emf.ecore.EEnumLiteral value)
          Sets the value of the 'Namespace Constraint Category' attribute.
 void setNamespaceConstraintCategory(int value)
          Sets the value of the 'Namespace Constraint Category' attribute.
 void setNamespaceConstraintCategory(java.lang.Integer value)
          Sets the value of the 'Namespace Constraint Category' attribute.
 void setNamespaceConstraintCategory(java.lang.String value)
          Sets the value of the 'Namespace Constraint Category' attribute.
 void setProcessContents(com.ibm.etools.emf.ecore.EEnumLiteral value)
          Sets the value of the 'Process Contents' attribute.
 void setProcessContents(int value)
          Sets the value of the 'Process Contents' attribute.
 void setProcessContents(java.lang.Integer value)
          Sets the value of the 'Process Contents' attribute.
 void setProcessContents(java.lang.String value)
          Sets the value of the 'Process Contents' attribute.
 void setStringLexicalNamespaceConstraint(java.lang.String lexicalNamespaceConstraint)
          Sets the String value of the 'Lexical Namespace Constraint' attribute.
 void unsetAnnotation()
          Unsets the value of the 'Annotation' reference.
 void unsetNamespaceConstraintCategory()
          Unsets the value of the 'Namespace Constraint Category' attribute.
 void unsetProcessContents()
          Unsets the value of the 'Process Contents' attribute.
 
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, cloneConcreteComponent, contains, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, ePackageXSD, 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, validate
 
Methods inherited from interface com.ibm.etools.emf.ref.RefObject
initInstance, refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refIsSet, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner, refSetValue, refUnsetValue, refValue
 
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
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

eClassXSDWildcard

public com.ibm.etools.emf.ecore.EClass eClassXSDWildcard()
Returns the meta class of XSDWildcard.
Returns:
the meta class.
See Also:
XSDPackage.getXSDWildcard(), XSDConcreteComponent.ePackageXSD()

getLiteralNamespaceConstraintCategory

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralNamespaceConstraintCategory()
Returns the value of the 'Namespace Constraint Category' attribute. The literals are from the enumeration XSDNamespaceConstraintCategory.

This represents the category of the namespace constraint infoset property.

Returns:
the value of the 'Namespace Constraint Category' attribute.
See Also:
getValueNamespaceConstraintCategory(), getNamespaceConstraintCategory(), getStringNamespaceConstraintCategory(), XSDNamespaceConstraintCategory, isSetNamespaceConstraintCategory(), unsetNamespaceConstraintCategory(), setNamespaceConstraintCategory(EEnumLiteral), XSDPackage.getXSDWildcard_NamespaceConstraintCategory()

getValueNamespaceConstraintCategory

public int getValueNamespaceConstraintCategory()
Returns the primitive value of the 'Namespace Constraint Category' attribute.
Returns:
the primitive value of the 'Namespace Constraint Category' attribute.
See Also:
getLiteralNamespaceConstraintCategory(), getValueNamespaceConstraintCategory(), getStringNamespaceConstraintCategory(), XSDNamespaceConstraintCategory, isSetNamespaceConstraintCategory(), unsetNamespaceConstraintCategory(), setNamespaceConstraintCategory(int)

getStringNamespaceConstraintCategory

public java.lang.String getStringNamespaceConstraintCategory()
Returns the String value of the 'Namespace Constraint Category' attribute.
Returns:
the String value of the 'Namespace Constraint Category' attribute.
See Also:
getLiteralNamespaceConstraintCategory(), getNamespaceConstraintCategory(), getValueNamespaceConstraintCategory(), XSDNamespaceConstraintCategory, isSetNamespaceConstraintCategory(), unsetNamespaceConstraintCategory(), setNamespaceConstraintCategory(String)

getNamespaceConstraintCategory

public java.lang.Integer getNamespaceConstraintCategory()
Returns the Integer value of the 'Namespace Constraint Category' attribute.
Returns:
the Integer value of the 'Namespace Constraint Category' attribute.
See Also:
getLiteralNamespaceConstraintCategory(), getValueNamespaceConstraintCategory(), getStringNamespaceConstraintCategory(), XSDNamespaceConstraintCategory, isSetNamespaceConstraintCategory(), unsetNamespaceConstraintCategory(), setNamespaceConstraintCategory(Integer)

setNamespaceConstraintCategory

public void setNamespaceConstraintCategory(com.ibm.etools.emf.ecore.EEnumLiteral value)
                                    throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Namespace Constraint Category' attribute.
Parameters:
value - the new value of the 'Namespace Constraint Category' attribute.
See Also:
setNamespaceConstraintCategory(int), setNamespaceConstraintCategory(Integer), setNamespaceConstraintCategory(String), XSDNamespaceConstraintCategory, isSetNamespaceConstraintCategory(), unsetNamespaceConstraintCategory(), getLiteralNamespaceConstraintCategory()

setNamespaceConstraintCategory

public void setNamespaceConstraintCategory(int value)
                                    throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Namespace Constraint Category' attribute.
Parameters:
value - the int value of the new enumeration literal value of the 'Namespace Constraint Category' attribute.
See Also:
setNamespaceConstraintCategory(EEnumLiteral), setNamespaceConstraintCategory(Integer), setNamespaceConstraintCategory(String), XSDNamespaceConstraintCategory, isSetNamespaceConstraintCategory(), unsetNamespaceConstraintCategory(), getValueNamespaceConstraintCategory()

setNamespaceConstraintCategory

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

setNamespaceConstraintCategory

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

unsetNamespaceConstraintCategory

public void unsetNamespaceConstraintCategory()
Unsets the value of the 'Namespace Constraint Category' attribute.
See Also:
isSetNamespaceConstraintCategory(), getLiteralNamespaceConstraintCategory(), setNamespaceConstraintCategory(EEnumLiteral)

isSetNamespaceConstraintCategory

public boolean isSetNamespaceConstraintCategory()
Returns whether the value of the 'Namespace Constraint Category' attribute is set.
Returns:
whether the value of the 'Namespace Constraint Category' attribute is set.
See Also:
unsetNamespaceConstraintCategory(), getLiteralNamespaceConstraintCategory(), setNamespaceConstraintCategory(EEnumLiteral)

getNamespaceConstraint

public com.ibm.etools.emf.ref.EList getNamespaceConstraint()
Returns the value of the 'Namespace Constraint' attribute list. The list contents are of type String.

This represents the value of the namespace constraint infoset property. It is computed from the lexical namespace constraint and should typically not be modified directly.

Returns:
the value of the 'Namespace Constraint' attribute list.
See Also:
getStringNamespaceConstraint(), XSDPackage.getXSDWildcard_NamespaceConstraint()

getStringNamespaceConstraint

public java.lang.String getStringNamespaceConstraint()
Returns the String value of the 'Namespace Constraint' attribute list.
Returns:
the String value of the 'Namespace Constraint' attribute list.
See Also:
getNamespaceConstraint()

getLiteralProcessContents

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralProcessContents()
Returns the value of the 'Process Contents' attribute. The literals are from the enumeration XSDProcessContents.

This represents the process contents infoset property.

Returns:
the value of the 'Process Contents' attribute.
See Also:
getValueProcessContents(), getProcessContents(), getStringProcessContents(), XSDProcessContents, isSetProcessContents(), unsetProcessContents(), setProcessContents(EEnumLiteral), XSDPackage.getXSDWildcard_ProcessContents()

getValueProcessContents

public int getValueProcessContents()
Returns the primitive value of the 'Process Contents' attribute.
Returns:
the primitive value of the 'Process Contents' attribute.
See Also:
getLiteralProcessContents(), getValueProcessContents(), getStringProcessContents(), XSDProcessContents, isSetProcessContents(), unsetProcessContents(), setProcessContents(int)

getStringProcessContents

public java.lang.String getStringProcessContents()
Returns the String value of the 'Process Contents' attribute.
Returns:
the String value of the 'Process Contents' attribute.
See Also:
getLiteralProcessContents(), getProcessContents(), getValueProcessContents(), XSDProcessContents, isSetProcessContents(), unsetProcessContents(), setProcessContents(String)

getProcessContents

public java.lang.Integer getProcessContents()
Returns the Integer value of the 'Process Contents' attribute.
Returns:
the Integer value of the 'Process Contents' attribute.
See Also:
getLiteralProcessContents(), getValueProcessContents(), getStringProcessContents(), XSDProcessContents, isSetProcessContents(), unsetProcessContents(), setProcessContents(Integer)

setProcessContents

public void setProcessContents(com.ibm.etools.emf.ecore.EEnumLiteral value)
                        throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Process Contents' attribute.
Parameters:
value - the new value of the 'Process Contents' attribute.
See Also:
setProcessContents(int), setProcessContents(Integer), setProcessContents(String), XSDProcessContents, isSetProcessContents(), unsetProcessContents(), getLiteralProcessContents()

setProcessContents

public void setProcessContents(int value)
                        throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Process Contents' attribute.
Parameters:
value - the int value of the new enumeration literal value of the 'Process Contents' attribute.
See Also:
setProcessContents(EEnumLiteral), setProcessContents(Integer), setProcessContents(String), XSDProcessContents, isSetProcessContents(), unsetProcessContents(), getValueProcessContents()

setProcessContents

public void setProcessContents(java.lang.String value)
                        throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Process Contents' attribute.
Parameters:
value - the String value of the new enumeration literal value of the 'Process Contents' attribute.
See Also:
setProcessContents(EEnumLiteral), setProcessContents(int), setProcessContents(Integer), XSDProcessContents, isSetProcessContents(), unsetProcessContents(), getStringProcessContents()

setProcessContents

public void setProcessContents(java.lang.Integer value)
                        throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Process Contents' attribute.
Parameters:
value - the Integer value of the new enumeration literal value of the 'Process Contents' attribute.
See Also:
setProcessContents(EEnumLiteral), setProcessContents(int), setProcessContents(String), XSDProcessContents, isSetProcessContents(), unsetProcessContents(), getValueProcessContents()

unsetProcessContents

public void unsetProcessContents()
Unsets the value of the 'Process Contents' attribute.
See Also:
isSetProcessContents(), getLiteralProcessContents(), setProcessContents(EEnumLiteral)

isSetProcessContents

public boolean isSetProcessContents()
Returns whether the value of the 'Process Contents' attribute is set.
Returns:
whether the value of the 'Process Contents' attribute is set.
See Also:
unsetProcessContents(), getLiteralProcessContents(), setProcessContents(EEnumLiteral)

getLexicalNamespaceConstraint

public com.ibm.etools.emf.ref.EList getLexicalNamespaceConstraint()
Returns the value of the 'Lexical Namespace Constraint' attribute list. The list contents are of type String.

This concrete attribute represents the value of the any namespace or anyAttribute namespace attribute.

Returns:
the value of the 'Lexical Namespace Constraint' attribute list.
See Also:
XSDPackage.getXSDWildcard_LexicalNamespaceConstraint()

getStringLexicalNamespaceConstraint

public java.lang.String getStringLexicalNamespaceConstraint()
Returns the String value of the 'Lexical Namespace Constraint' attribute list.
Returns:
the String value of the 'Lexical Namespace Constraint' attribute list.
See Also:
getLexicalNamespaceConstraint(), setStringLexicalNamespaceConstraint(java.lang.String)

setStringLexicalNamespaceConstraint

public void setStringLexicalNamespaceConstraint(java.lang.String lexicalNamespaceConstraint)
Sets the String value of the 'Lexical Namespace Constraint' attribute.
Parameters:
lexicalNamespaceConstraint - the new value of the 'Lexical Namespace Constraint' attribute.
See Also:
getLexicalNamespaceConstraint(), getStringLexicalNamespaceConstraint()

getAnnotation

public XSDAnnotation getAnnotation()
Returns the value of the 'Annotation' reference.

This concrete reference represents the annotation content of an any or anyAttribute element.

Returns:
the value of the 'Annotation' reference.
See Also:
isSetAnnotation(), unsetAnnotation(), setAnnotation(XSDAnnotation), XSDPackage.getXSDWildcard_Annotation()

setAnnotation

public void setAnnotation(XSDAnnotation value)
Sets the value of the 'Annotation' reference.
Parameters:
value - the new value of the 'Annotation' reference.
See Also:
isSetAnnotation(), unsetAnnotation(), getAnnotation()

unsetAnnotation

public void unsetAnnotation()
Unsets the value of the 'Annotation' reference.
See Also:
isSetAnnotation(), getAnnotation(), setAnnotation(XSDAnnotation)

isSetAnnotation

public boolean isSetAnnotation()
Returns whether the value of the 'Annotation' reference is set.
Returns:
whether the value of the 'Annotation' reference is set.
See Also:
unsetAnnotation(), getAnnotation(), setAnnotation(XSDAnnotation)

getAnnotations

public com.ibm.etools.emf.ref.EList getAnnotations()
Returns the value of the 'Annotations' reference list. The list contents are of type XSDAnnotation.

This represents the annotation infoset property. It is computed from the annotation and should typically not modified directly.

Returns:
the value of the 'Annotations' reference list.
See Also:
XSDPackage.getXSDWildcard_Annotations()

isWildcardSubset

public boolean isWildcardSubset(XSDWildcard superSetWildcard)
Returns whether this wildcard is a subset of the given wildcard.
Parameters:
superSetWildcard - the other wildcard.
Returns:
whether this wildcard is a subset.
See Also:
attributeWildcardUnion(com.ibm.etools.xsd.XSDWildcard), attributeWildcardIntersection(com.ibm.etools.xsd.XSDWildcard)

attributeWildcardUnion

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

attributeWildcardIntersection

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