|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbind.xml.schema.constraint.AttributesConstraint
| Constructor Summary | |
AttributesConstraint(IAttributesModel anAttributesModel)
|
|
| Method Summary | |
ConstraintType |
getConstraintType()
|
ILocation |
getLocation()
|
void |
globalCheck(IDataContext aContext,
IAnyTypeData aData,
IAnyTypeData anEnclosingData,
IConstraintViolations aViolations)
Checks if the specified data satisfies the constraint globally. |
boolean |
isFinal()
Indicates if the constraint must not be further restricted. |
boolean |
isRestriction(IConstraint aConstraint)
Checks if this constraint is a restriction of the specified constraint. |
void |
localCheck(ICheckContext aCheckContext,
IAnyTypeData aData,
IConstraintViolations aViolations)
Checks if the specified data satisfies the constraint locally. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributesConstraint(IAttributesModel anAttributesModel)
| Method Detail |
public ConstraintType getConstraintType()
getConstraintType in interface IConstraintpublic ILocation getLocation()
getLocation in interface IHasLocation
public void globalCheck(IDataContext aContext,
IAnyTypeData aData,
IAnyTypeData anEnclosingData,
IConstraintViolations aViolations)
IConstraint
globalCheck in interface IConstraintaContext - (required).aData - (required).aViolations - (required).
public void localCheck(ICheckContext aCheckContext,
IAnyTypeData aData,
IConstraintViolations aViolations)
IConstraint
localCheck in interface IConstraintaData - (required).aViolations - (required).public boolean isFinal()
IConstraint
isFinal in interface IConstrainttrue iff the constraint can not be restricted.public boolean isRestriction(IConstraint aConstraint)
IConstraint
isRestriction in interface IConstraintaConstraint - (required).
true iff this constraint is a restriction of
the specified constraint.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||