org.objectweb.medor.expression.api
Interface VariableOperand
- org.objectweb.medor.clone.api.Cloneable, Expression, Operand, Serializable
- CalculatedParameterOperand, ParameterOperand
- BasicParameterOperand, BasicVariableOperand
public interface VariableOperand
This Interface extends a simple operand. It offers methods to sets new value
to this object. The type of this operand does not change.
void | setType(PType type) - This method changes the type of the current operand object.
|
void | setValue(Date p) - It assigns the operand value
|
void | setValue(Object p) - It assigns the operand value
|
void | setValue(String p) - It assigns the operand value
|
void | setValue(boolean p) - It assigns the operand value as a boolean value
|
void | setValue(byte p) - It assigns the operand value
|
void | setValue(char p) - It assigns the operand value
|
void | setValue(double p) - It assigns the operand value
|
void | setValue(float p) - It assigns the operand value
|
void | setValue(int p) - It assigns the operand value
|
void | setValue(long p) - It assigns the operand value
|
void | setValue(short p) - It assigns the operand value
|
getBigDecimal , getBigInteger , getBoolean , getByte , getByteArray , getChar , getCharArray , getDate , getDouble , getFloat , getInt , getLong , getObject , getShort , getString , isDefined , setIsDefined |
setType
public void setType(PType type)
This method changes the type of the current operand object.
setValue
public void setValue(Date p)
throws TypingException
It assigns the operand value
p
- the new java.util.Date value.
setValue
public void setValue(Object p)
throws TypingException
It assigns the operand value
p
- the new Object value.
setValue
public void setValue(String p)
throws TypingException
It assigns the operand value
p
- the new String value.
setValue
public void setValue(boolean p)
throws TypingException
It assigns the operand value as a boolean value
p
- the new boolean value.
setValue
public void setValue(byte p)
throws TypingException
It assigns the operand value
p
- the new byte value.
setValue
public void setValue(char p)
throws TypingException
It assigns the operand value
p
- the new char value.
setValue
public void setValue(double p)
throws TypingException
It assigns the operand value
p
- the new double value.
setValue
public void setValue(float p)
throws TypingException
It assigns the operand value
p
- the new float value.
setValue
public void setValue(int p)
throws TypingException
It assigns the operand value
p
- the new integer value.
setValue
public void setValue(long p)
throws TypingException
It assigns the operand value
p
- the new long value.
setValue
public void setValue(short p)
throws TypingException
It assigns the operand value
p
- the new short value.