org.jbind.xml.core.constraint
Interface IIdentityConstraint

All Superinterfaces:
IConstraint, IHasLocation
All Known Subinterfaces:
IElementIdentityConstraint, IElementInstanceConstraint, IElementKeyConstraint, IElementKeyRefConstraint, IElementUniqueConstraint, IIdentityConstraintComponent, IIdRefOrIdRefsConstraint, IInstanceConstraint, IReferenceConstraint, ITypeIdentityConstraint, ITypeInstanceConstraint, ITypeKeyConstraint, ITypeKeyRefConstraint, ITypeUniqueConstraint
All Known Implementing Classes:
ElementIdentityConstraint, ElementKeyConstraint, ElementKeyRefConstraint, ElementUniqueConstraint, IdentityConstraint, IdentityConstraintComponent, IdRefOrIdRefsConstraint, TypeInstanceConstraint, TypeKeyConstraint, TypeKeyRefConstraint, TypeUniqueConstraint

public interface IIdentityConstraint
extends IConstraint


Method Summary
 IAnyType getDataType()
          Gets the type of the data that is constrained.
 void setDataType(IAnyType aType)
          Sets the type of the data that is constrained.
 
Methods inherited from interface org.jbind.xml.core.constraint.IConstraint
getConstraintType, globalCheck, isFinal, isRestriction, localCheck
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 

Method Detail

getDataType

public IAnyType getDataType()
Gets the type of the data that is constrained. For reference constraints it is the type of the referenced data. For instance constraints it is the type of the instances.

Returns:
(required).

setDataType

public void setDataType(IAnyType aType)
Sets the type of the data that is constrained.

Parameters:
aType - (optional).