|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for Constraint data.
This interface can be implemented differently depending on how the
constrains(and the rest for the knowledge model shall be stored.
Known implementations:
LocalConstraintData
Method Summary | |
ConstraintObject |
getConstraintObject()
Returns the constraint object |
java.lang.String |
getDescription()
Returns the description of the constraint |
java.lang.Integer |
getID()
returns the ID of the constraint |
Constraint |
newConstraintInstance()
returns an instance of the constraint |
void |
setConstraintObject(ConstraintObject constraintObject)
Sets the constraint object of the constraint |
void |
setDescription(java.lang.String description)
Sets the description of the constraint |
java.lang.String |
toString()
|
Method Detail |
public void setConstraintObject(ConstraintObject constraintObject)
constraintObject
- the constraint object to set for the constraint datapublic ConstraintObject getConstraintObject()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the descriptionpublic java.lang.Integer getID()
public java.lang.String toString()
public Constraint newConstraintInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |