|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a byte, char, int,...or an object value.
When of primitive type, widing conversions allowed by the Java programming language are used to get the value in different types.
Each getXXX() method returns the operand value of the XXX type.
Method Summary | |
java.math.BigDecimal |
getBigDecimal()
evalute the expression result and return a BigDecimal value |
java.math.BigInteger |
getBigInteger()
evalute the expression result and return a BigInteger value |
boolean |
getBoolean()
get the operand result as a boolean value |
byte |
getByte()
get the operand result as a byte value |
byte[] |
getByteArray()
get the operand result as a byte[] value |
char |
getChar()
get the operand result as a char value |
char[] |
getCharArray()
get the operand result as a char[] value |
java.util.Date |
getDate()
get the operand result a java.util.Date value |
double |
getDouble()
get the operand result as a double value |
float |
getFloat()
get the operand result as a float value |
int |
getInt()
get the operand result as a byte value |
long |
getLong()
get the operand result as a long value |
java.lang.Object |
getObject()
get the operand result as a java.lang.Object value |
short |
getShort()
get the operand result as a short value |
java.lang.String |
getString()
evalute the expression result and return a string value |
boolean |
isDefined()
Indicates if the operand has been defined, ie is the value returned if pertinent |
void |
setIsDefined(boolean isdefined)
|
Methods inherited from interface org.objectweb.medor.expression.api.Expression |
compileExpression, evaluate, getType |
Methods inherited from interface org.objectweb.medor.clone.api.Cloneable |
clone |
Method Detail |
public boolean getBoolean() throws TypingException
TypingException
- if it is impossible to return a boolean valuepublic int getInt() throws TypingException
TypingException
- if it is impossible to return an int valuepublic byte getByte() throws TypingException
TypingException
- if it is impossible to return an int valuepublic byte[] getByteArray() throws TypingException
TypingException
- if it is impossible to return an int valuepublic short getShort() throws TypingException
TypingException
- if it is impossible to return a short valuepublic long getLong() throws TypingException
TypingException
- if it is impossible to return a long valuepublic float getFloat() throws TypingException
TypingException
- if it is impossible to return a float value;public double getDouble() throws TypingException
TypingException
- if it is impossible to return a double valuepublic char getChar() throws TypingException
TypingException
- if it is impossible to return a char value;public char[] getCharArray() throws TypingException
TypingException
- if it is impossible to return a char value;public java.lang.String getString() throws TypingException
TypingException
- if it is impossible to return a string valuepublic java.math.BigDecimal getBigDecimal() throws TypingException
TypingException
- if it is impossible to return a string valuepublic java.math.BigInteger getBigInteger() throws TypingException
TypingException
- if it is impossible to return a string valuepublic java.util.Date getDate() throws TypingException
TypingException
- if it is impossible to return java.util.Datepublic java.lang.Object getObject()
public boolean isDefined()
public void setIsDefined(boolean isdefined)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |