Package org.openl.rules.testmethod
Class ParameterWithValueDeclaration
- java.lang.Object
-
- org.openl.types.impl.ParameterDeclaration
-
- org.openl.rules.testmethod.ParameterWithValueDeclaration
-
- All Implemented Interfaces:
INamedThing,IParameterWithValueDeclaration,IParameterDeclaration
public class ParameterWithValueDeclaration extends ParameterDeclaration implements IParameterWithValueDeclaration
-
-
Field Summary
Fields Modifier and Type Field Description static ParameterWithValueDeclaration[]EMPTY_ARRAY-
Fields inherited from interface org.openl.base.INamedThing
LONG, REGULAR, SHORT
-
Fields inherited from interface org.openl.types.IParameterDeclaration
EMPTY
-
-
Constructor Summary
Constructors Constructor Description ParameterWithValueDeclaration(String paramName, Object value)ParameterWithValueDeclaration(String paramName, Object value, IOpenClass parameterType)ParameterWithValueDeclaration(String paramName, Object value, IOpenClass parameterType, IOpenField keyField)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetError()IOpenFieldgetKeyField()static IOpenClassgetParamType(Object value)ObjectgetValue()voidsetError(String error)voidsetValue(Object value)-
Methods inherited from class org.openl.types.impl.ParameterDeclaration
equals, getContextProperty, getDisplayName, getModule, getName, getType, hashCode, removeDebugInformation, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openl.base.INamedThing
getDisplayName, getName
-
Methods inherited from interface org.openl.types.IParameterDeclaration
getContextProperty, getModule, getType, removeDebugInformation
-
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final ParameterWithValueDeclaration[] EMPTY_ARRAY
-
-
Constructor Detail
-
ParameterWithValueDeclaration
public ParameterWithValueDeclaration(String paramName, Object value, IOpenClass parameterType, IOpenField keyField)
-
ParameterWithValueDeclaration
public ParameterWithValueDeclaration(String paramName, Object value, IOpenClass parameterType)
-
-
Method Detail
-
getParamType
public static IOpenClass getParamType(Object value)
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceIParameterWithValueDeclaration
-
setValue
public void setValue(Object value)
-
setError
public void setError(String error)
-
getError
public String getError()
-
getKeyField
public IOpenField getKeyField()
-
-