org.objectweb.medor.filter.jorm.lib
Class EncodePName
java.lang.Object
|
+--org.objectweb.medor.filter.lib.BasicOperand
|
+--org.objectweb.medor.filter.lib.BasicVariableOperand
|
+--org.objectweb.medor.filter.lib.BasicParameterOperand
|
+--org.objectweb.medor.filter.jorm.lib.EncodePName
- All Implemented Interfaces:
- CalculatedParameterOperand, Cloneable, java.lang.Cloneable, Expression, Operand, ParameterOperand, VariableOperand
- public class EncodePName
- extends BasicParameterOperand
- implements CalculatedParameterOperand
This implementation of the CalculatedParameterOperand interface encode a
a PName. This PName must be given in parameter among the ParameterOperand
of the evaluate method.
There are two constructor weither the PName structure
- Author:
- S.Chassande-Barrioz
Constructor Summary |
EncodePName(PType type,
java.lang.String parameterName)
|
EncodePName(PType type,
java.lang.String parameterName,
java.lang.String fieldName)
|
Methods inherited from class org.objectweb.medor.filter.lib.BasicVariableOperand |
clone, setType, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue |
Methods inherited from class org.objectweb.medor.filter.lib.BasicOperand |
compileExpression, getBigDecimal, getBoolean, getByte, getByteArray, getChar, getCharArray, getDate, getDouble, getFloat, getInt, getLong, getObject, getResult, getShort, getString, getTime, getTimestamp, getTuple, getTupleCollection, getType, getValueAsString, isCompiled, isDefined, setIsDefined, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.medor.filter.api.VariableOperand |
setType, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue |
Methods inherited from interface org.objectweb.medor.filter.api.Operand |
getBigDecimal, getBoolean, getByte, getByteArray, getChar, getCharArray, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getTime, getTimestamp, getTuple, getTupleCollection, isDefined, setIsDefined |
Methods inherited from interface org.objectweb.medor.api.Cloneable |
clone |
EncodePName
public EncodePName(PType type,
java.lang.String parameterName)
EncodePName
public EncodePName(PType type,
java.lang.String parameterName,
java.lang.String fieldName)
evaluate
public void evaluate(ParameterOperand[] pos)
throws MedorException
- Specified by:
evaluate
in interface CalculatedParameterOperand
MedorException
assignEncodedValue
public static final void assignEncodedValue(PName pn,
VariableOperand op,
java.lang.String fieldname)
throws PException,
MedorException
PException
MedorException