|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.zos.jdl.Constraint
public class Constraint
Constraint is the base class for all constraint classes.
Method Summary | |
---|---|
java.lang.String |
getFact()
Retrieve the fact id of the left side of the operation. |
java.lang.String |
getFactValue()
Retrieve the fact name whose value is used right side of the operation if set with setFactValue() otherwise this will return None. |
java.lang.String |
getReason()
Retrieve reason string that contains human readable explanation that can be displayed as an error when a constraint evaluates to false. |
org.python.core.PyObject |
getValue()
Retrieve the value of the right side of the operation if set as a value or else it returns null. |
void |
setFact(java.lang.String fact)
Sets the fact id for the left side of the operation. |
void |
setFactValue(java.lang.String factvalue)
Sets the fact name whose value is used in the right side of the operation and in doing so negates any previous setValue() call. |
void |
setReason(java.lang.String reason)
Sets the reason string that contains human readable explanation that can be displayed as an error when a constraint evaluates to false. |
void |
setValue(org.python.core.PyObject value)
Sets the value of the right side of the operation and in doing so negates any previous setFactValue() call. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getFact()
public void setFact(java.lang.String fact)
fact
- the fact idpublic void setFactValue(java.lang.String factvalue)
factvalue
- the fact name whose value to retrievepublic java.lang.String getFactValue()
public void setValue(org.python.core.PyObject value)
value
- the right side value of the operationpublic org.python.core.PyObject getValue()
public void setReason(java.lang.String reason)
reason
- containing reason to displaypublic java.lang.String getReason()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |