|
SienaXML (v.2.0.0) API documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsiena.xml.rules.EqualityCondition
public class EqualityCondition
This condition represents one that checks for an equality.
Constructor Summary | |
---|---|
EqualityCondition(double value,
boolean shouldBeEqual)
Constructor |
|
EqualityCondition(int value,
boolean shouldBeEqual)
Constructor |
|
EqualityCondition(java.lang.String condition,
boolean shouldBeEqual)
public constructor. |
Method Summary | |
---|---|
boolean |
meetCondition(java.lang.Object whatToEvaluate)
This method determins if the object passed in is equal to the condition represented by this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EqualityCondition(java.lang.String condition, boolean shouldBeEqual)
shouldBeEqual
- Sets if the condition should check for equality or non-equality.condition
- The string that contains the condition which to test forpublic EqualityCondition(int value, boolean shouldBeEqual)
value
- Value to check equality forshouldBeEqual
- Sets if the condition should check for equality or non-equality.public EqualityCondition(double value, boolean shouldBeEqual)
value
- Value to check equality forshouldBeEqual
- Sets if the condition should check for equality or non-equality.Method Detail |
---|
public boolean meetCondition(java.lang.Object whatToEvaluate)
whatToEvaluate
- Object to test to see if it meets the condition
|
SienaXML (v.2.0.0) API documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |