com.ibm.etools.xsd
Interface XSDIdentityConstraintDefinition

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, XSDNamedComponent
All Known Implementing Classes:
XSDIdentityConstraintDefinitionImpl

public interface XSDIdentityConstraintDefinition
extends XSDNamedComponent

A representation of the model object 'Identity Constraint Definition'.

The following features are supported:

See Also:
XSDPackage.getXSDIdentityConstraintDefinition()

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
 com.ibm.etools.emf.ecore.EClass eClassXSDIdentityConstraintDefinition()
          Returns the meta class of XSDIdentityConstraintDefinition.
 XSDAnnotation getAnnotation()
          Returns the value of the 'Annotation' reference.
 com.ibm.etools.emf.ref.EList getFields()
          Returns the value of the 'Fields' reference list.
 java.lang.Integer getIdentityConstraintCategory()
          Returns the Integer value of the 'Identity Constraint Category' attribute.
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralIdentityConstraintCategory()
          Returns the value of the 'Identity Constraint Category' attribute.
 XSDIdentityConstraintDefinition getReferencedKey()
          Returns the value of the 'Referenced Key' reference.
 XSDXPathDefinition getSelector()
          Returns the value of the 'Selector' reference.
 java.lang.String getStringIdentityConstraintCategory()
          Returns the String value of the 'Identity Constraint Category' attribute.
 int getValueIdentityConstraintCategory()
          Returns the primitive value of the 'Identity Constraint Category' attribute.
 boolean isSetAnnotation()
          Returns whether the value of the 'Annotation' reference is set.
 boolean isSetIdentityConstraintCategory()
          Returns whether the value of the 'Identity Constraint Category' attribute is set.
 boolean isSetReferencedKey()
          Returns whether the value of the 'Referenced Key' reference is set.
 boolean isSetSelector()
          Returns whether the value of the 'Selector' reference is set.
 void setAnnotation(XSDAnnotation value)
          Sets the value of the 'Annotation' reference.
 void setIdentityConstraintCategory(com.ibm.etools.emf.ecore.EEnumLiteral value)
          Sets the value of the 'Identity Constraint Category' attribute.
 void setIdentityConstraintCategory(int value)
          Sets the value of the 'Identity Constraint Category' attribute.
 void setIdentityConstraintCategory(java.lang.Integer value)
          Sets the value of the 'Identity Constraint Category' attribute.
 void setIdentityConstraintCategory(java.lang.String value)
          Sets the value of the 'Identity Constraint Category' attribute.
 void setReferencedKey(XSDIdentityConstraintDefinition value)
          Sets the value of the 'Referenced Key' reference.
 void setSelector(XSDXPathDefinition value)
          Sets the value of the 'Selector' reference.
 void unsetAnnotation()
          Unsets the value of the 'Annotation' reference.
 void unsetIdentityConstraintCategory()
          Unsets the value of the 'Identity Constraint Category' attribute.
 void unsetReferencedKey()
          Unsets the value of the 'Referenced Key' reference.
 void unsetSelector()
          Unsets the value of the 'Selector' reference.
 
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, 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
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

eClassXSDIdentityConstraintDefinition

public com.ibm.etools.emf.ecore.EClass eClassXSDIdentityConstraintDefinition()
Returns the meta class of XSDIdentityConstraintDefinition.
Returns:
the meta class.
See Also:
XSDPackage.getXSDIdentityConstraintDefinition(), XSDConcreteComponent.ePackageXSD()

getLiteralIdentityConstraintCategory

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralIdentityConstraintCategory()
Returns the value of the 'Identity Constraint Category' attribute. The literals are from the enumeration XSDIdentityConstraintCategory.

This represents the identity constraint category infoset property.

Returns:
the value of the 'Identity Constraint Category' attribute.
See Also:
getValueIdentityConstraintCategory(), getIdentityConstraintCategory(), getStringIdentityConstraintCategory(), XSDIdentityConstraintCategory, isSetIdentityConstraintCategory(), unsetIdentityConstraintCategory(), setIdentityConstraintCategory(EEnumLiteral), XSDPackage.getXSDIdentityConstraintDefinition_IdentityConstraintCategory()

getValueIdentityConstraintCategory

public int getValueIdentityConstraintCategory()
Returns the primitive value of the 'Identity Constraint Category' attribute.
Returns:
the primitive value of the 'Identity Constraint Category' attribute.
See Also:
getLiteralIdentityConstraintCategory(), getValueIdentityConstraintCategory(), getStringIdentityConstraintCategory(), XSDIdentityConstraintCategory, isSetIdentityConstraintCategory(), unsetIdentityConstraintCategory(), setIdentityConstraintCategory(int)

getStringIdentityConstraintCategory

public java.lang.String getStringIdentityConstraintCategory()
Returns the String value of the 'Identity Constraint Category' attribute.
Returns:
the String value of the 'Identity Constraint Category' attribute.
See Also:
getLiteralIdentityConstraintCategory(), getIdentityConstraintCategory(), getValueIdentityConstraintCategory(), XSDIdentityConstraintCategory, isSetIdentityConstraintCategory(), unsetIdentityConstraintCategory(), setIdentityConstraintCategory(String)

getIdentityConstraintCategory

public java.lang.Integer getIdentityConstraintCategory()
Returns the Integer value of the 'Identity Constraint Category' attribute.
Returns:
the Integer value of the 'Identity Constraint Category' attribute.
See Also:
getLiteralIdentityConstraintCategory(), getValueIdentityConstraintCategory(), getStringIdentityConstraintCategory(), XSDIdentityConstraintCategory, isSetIdentityConstraintCategory(), unsetIdentityConstraintCategory(), setIdentityConstraintCategory(Integer)

setIdentityConstraintCategory

public void setIdentityConstraintCategory(com.ibm.etools.emf.ecore.EEnumLiteral value)
                                   throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Identity Constraint Category' attribute.
Parameters:
value - the new value of the 'Identity Constraint Category' attribute.
See Also:
setIdentityConstraintCategory(int), setIdentityConstraintCategory(Integer), setIdentityConstraintCategory(String), XSDIdentityConstraintCategory, isSetIdentityConstraintCategory(), unsetIdentityConstraintCategory(), getLiteralIdentityConstraintCategory()

setIdentityConstraintCategory

public void setIdentityConstraintCategory(int value)
                                   throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Identity Constraint Category' attribute.
Parameters:
value - the int value of the new enumeration literal value of the 'Identity Constraint Category' attribute.
See Also:
setIdentityConstraintCategory(EEnumLiteral), setIdentityConstraintCategory(Integer), setIdentityConstraintCategory(String), XSDIdentityConstraintCategory, isSetIdentityConstraintCategory(), unsetIdentityConstraintCategory(), getValueIdentityConstraintCategory()

setIdentityConstraintCategory

public void setIdentityConstraintCategory(java.lang.String value)
                                   throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Identity Constraint Category' attribute.
Parameters:
value - the String value of the new enumeration literal value of the 'Identity Constraint Category' attribute.
See Also:
setIdentityConstraintCategory(EEnumLiteral), setIdentityConstraintCategory(int), setIdentityConstraintCategory(Integer), XSDIdentityConstraintCategory, isSetIdentityConstraintCategory(), unsetIdentityConstraintCategory(), getStringIdentityConstraintCategory()

setIdentityConstraintCategory

public void setIdentityConstraintCategory(java.lang.Integer value)
                                   throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Identity Constraint Category' attribute.
Parameters:
value - the Integer value of the new enumeration literal value of the 'Identity Constraint Category' attribute.
See Also:
setIdentityConstraintCategory(EEnumLiteral), setIdentityConstraintCategory(int), setIdentityConstraintCategory(String), XSDIdentityConstraintCategory, isSetIdentityConstraintCategory(), unsetIdentityConstraintCategory(), getValueIdentityConstraintCategory()

unsetIdentityConstraintCategory

public void unsetIdentityConstraintCategory()
Unsets the value of the 'Identity Constraint Category' attribute.
See Also:
isSetIdentityConstraintCategory(), getLiteralIdentityConstraintCategory(), setIdentityConstraintCategory(EEnumLiteral)

isSetIdentityConstraintCategory

public boolean isSetIdentityConstraintCategory()
Returns whether the value of the 'Identity Constraint Category' attribute is set.
Returns:
whether the value of the 'Identity Constraint Category' attribute is set.
See Also:
unsetIdentityConstraintCategory(), getLiteralIdentityConstraintCategory(), setIdentityConstraintCategory(EEnumLiteral)

getAnnotation

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

This represents the annotation infoset property.

Returns:
the value of the 'Annotation' reference.
See Also:
isSetAnnotation(), unsetAnnotation(), setAnnotation(XSDAnnotation), XSDPackage.getXSDIdentityConstraintDefinition_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)

getReferencedKey

public XSDIdentityConstraintDefinition getReferencedKey()
Returns the value of the 'Referenced Key' reference.

This represents the referenced key infoset property.

Returns:
the value of the 'Referenced Key' reference.
See Also:
isSetReferencedKey(), unsetReferencedKey(), setReferencedKey(XSDIdentityConstraintDefinition), XSDPackage.getXSDIdentityConstraintDefinition_ReferencedKey()

setReferencedKey

public void setReferencedKey(XSDIdentityConstraintDefinition value)
Sets the value of the 'Referenced Key' reference.
Parameters:
value - the new value of the 'Referenced Key' reference.
See Also:
isSetReferencedKey(), unsetReferencedKey(), getReferencedKey()

unsetReferencedKey

public void unsetReferencedKey()
Unsets the value of the 'Referenced Key' reference.
See Also:
isSetReferencedKey(), getReferencedKey(), setReferencedKey(XSDIdentityConstraintDefinition)

isSetReferencedKey

public boolean isSetReferencedKey()
Returns whether the value of the 'Referenced Key' reference is set.
Returns:
whether the value of the 'Referenced Key' reference is set.
See Also:
unsetReferencedKey(), getReferencedKey(), setReferencedKey(XSDIdentityConstraintDefinition)

getSelector

public XSDXPathDefinition getSelector()
Returns the value of the 'Selector' reference.

This represents the selector infoset property.

Returns:
the value of the 'Selector' reference.
See Also:
isSetSelector(), unsetSelector(), setSelector(XSDXPathDefinition), XSDPackage.getXSDIdentityConstraintDefinition_Selector()

setSelector

public void setSelector(XSDXPathDefinition value)
Sets the value of the 'Selector' reference.
Parameters:
value - the new value of the 'Selector' reference.
See Also:
isSetSelector(), unsetSelector(), getSelector()

unsetSelector

public void unsetSelector()
Unsets the value of the 'Selector' reference.
See Also:
isSetSelector(), getSelector(), setSelector(XSDXPathDefinition)

isSetSelector

public boolean isSetSelector()
Returns whether the value of the 'Selector' reference is set.
Returns:
whether the value of the 'Selector' reference is set.
See Also:
unsetSelector(), getSelector(), setSelector(XSDXPathDefinition)

getFields

public com.ibm.etools.emf.ref.EList getFields()
Returns the value of the 'Fields' reference list. The list contents are of type XSDXPathDefinition.

This represents the fields infoset property.

Returns:
the value of the 'Fields' reference list.
See Also:
XSDPackage.getXSDIdentityConstraintDefinition_Fields()