org.objectweb.medor.filter.jorm.lib

Class EncodePName

Implemented Interfaces:
CalculatedParameterOperand

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, String parameterName)
EncodePName(PType type, String parameterName, String fieldName)

Method Summary

static void
assignEncodedValue(PName pn, VariableOperand op, String fieldname)
Object
clone(Object clone, Map obj2clone)
void
evaluate(ParameterOperand[] pos)

Constructor Details

EncodePName

public EncodePName(PType type,
                   String parameterName)


EncodePName

public EncodePName(PType type,
                   String parameterName,
                   String fieldName)

Method Details

assignEncodedValue

public static final void assignEncodedValue(PName pn,
                                            VariableOperand op,
                                            String fieldname)
            throws PException,
                   MedorException,
                   TypingException


clone

public Object clone(Object clone,
                    Map obj2clone)
            throws CloneNotSupportedException


evaluate

public void evaluate(ParameterOperand[] pos)
            throws ExpressionException