ncsa.tools.ogrescript.types.evaluatable.conditions
Class Case
java.lang.Object
ncsa.tools.ogrescript.OgreScriptElement
ncsa.tools.ogrescript.types.evaluatable.Condition
ncsa.tools.ogrescript.types.evaluatable.conditions.Case
- All Implemented Interfaces:
- IConditional, UserFacing
- public class Case
- extends Condition
Creates an equality predicate based on the value passed in.
When called, its subject should be set; this will be tested against the
constructed predicate.
- Author:
- arossi
|
Constructor Summary |
Case()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_SELF
public static final java.lang.String TAG_SELF
- See Also:
- Constant Field Values
TAG_DEFAULT
public static final java.lang.String TAG_DEFAULT
- See Also:
- Constant Field Values
Case
public Case()
evaluate
public boolean evaluate()
throws EvaluationException
- Throws:
EvaluationException
setSubject
public void setSubject(java.lang.Object subject)
setBoolean
public void setBoolean(boolean b)
setByte
public void setByte(byte b)
setChar
public void setChar(char c)
setDouble
public void setDouble(double d)
setFloat
public void setFloat(float f)
setInt
public void setInt(int i)
setLong
public void setLong(long l)
setShort
public void setShort(short s)
setString
public void setString(java.lang.String s)
setObject
public void setObject(java.lang.Object o)