org.objectweb.medor.expression.lib

Class BasicVariableOperand

Implemented Interfaces:
org.objectweb.medor.clone.api.Cloneable, Expression, Operand, Serializable, Operand, VariableOperand
Known Direct Subclasses:
BasicParameterOperand

public class BasicVariableOperand
extends BasicOperand
implements VariableOperand

MEDOR: Middleware Enabling Distributed Object Requests Copyright (C) 2001-2003 France Telecom R&D Contact: alexandre.lefebvre@rd.francetelecom.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Initial developers: M. Alia, A. Lefebvre

Field Summary

Fields inherited from class org.objectweb.medor.expression.lib.BasicOperand

doubleValue, isDefined, longValue, objectValue

Fields inherited from class org.objectweb.medor.expression.lib.BasicExpression

logger, type

Constructor Summary

BasicVariableOperand()
BasicVariableOperand(Date p)
BasicVariableOperand(PType p)
BasicVariableOperand(String p)
BasicVariableOperand(boolean b)
BasicVariableOperand(byte p)
BasicVariableOperand(char p)
BasicVariableOperand(double p)
BasicVariableOperand(float p)
BasicVariableOperand(int p)
BasicVariableOperand(long p)
BasicVariableOperand(BasicOperand p)
BasicVariableOperand(short p)

Method Summary

void
setType(PType type)
void
setValue(Date p)
void
setValue(Object p)
void
setValue(String p)
void
setValue(boolean p)
void
setValue(byte p)
void
setValue(char p)
void
setValue(double p)
void
setValue(float p)
void
setValue(int p)
void
setValue(long p)
void
setValue(short p)

Methods inherited from class org.objectweb.medor.expression.lib.BasicOperand

clone, compileExpression, evaluate, getBigDecimal, getBigInteger, getBoolean, getByte, getByteArray, getChar, getCharArray, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getType, getValueAsString, isDefined, setIsDefined, toString

Methods inherited from class org.objectweb.medor.expression.lib.BasicExpression

clone, getType

Methods inherited from class org.objectweb.medor.clone.lib.BasicCloneable

clone, clone, clone, getClone

Constructor Details

BasicVariableOperand

public BasicVariableOperand()


BasicVariableOperand

public BasicVariableOperand(Date p)


BasicVariableOperand

public BasicVariableOperand(PType p)


BasicVariableOperand

public BasicVariableOperand(String p)


BasicVariableOperand

public BasicVariableOperand(boolean b)


BasicVariableOperand

public BasicVariableOperand(byte p)


BasicVariableOperand

public BasicVariableOperand(char p)


BasicVariableOperand

public BasicVariableOperand(double p)


BasicVariableOperand

public BasicVariableOperand(float p)


BasicVariableOperand

public BasicVariableOperand(int p)


BasicVariableOperand

public BasicVariableOperand(long p)


BasicVariableOperand

public BasicVariableOperand(BasicOperand p)


BasicVariableOperand

public BasicVariableOperand(short p)

Method Details

setType

public void setType(PType type)
Specified by:
setType in interface VariableOperand


setValue

public void setValue(Date p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(Object p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(String p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(boolean p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(byte p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(char p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(double p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(float p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(int p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(long p)
            throws TypingException
Specified by:
setValue in interface VariableOperand


setValue

public void setValue(short p)
            throws TypingException
Specified by:
setValue in interface VariableOperand