public class ObjectParameter extends java.lang.Object implements IParameter
Constructor and Description |
---|
ObjectParameter(java.lang.Object pValue)
Creates an
ObjectParameter object with the specified parameter as value. |
ObjectParameter(java.lang.Object pValue,
java.lang.Class pClass)
Creates an
ObjectParameter object with the specified parameter as value. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValue()
Returns the value that is represented by this
ObjectParameter object. |
boolean |
setValue(java.lang.Object pValue)
Sets the value that should be represented by this
ObjectParameter object. |
boolean |
setValue(java.lang.String pValue)
Not implemented.
|
public ObjectParameter(java.lang.Object pValue)
ObjectParameter
object with the specified parameter as value.pValue
- The value object that should be represented by this ObjectParameter
object.public ObjectParameter(java.lang.Object pValue, java.lang.Class pClass)
ObjectParameter
object with the specified parameter as value.pValue
- The value object that should be represented by this ObjectParameter
object.pClass
- The type of the object. This can be null.public boolean setValue(java.lang.Object pValue)
ObjectParameter
object.
The object that is specified must be of the correct type with which this ObjectParameter
has been initiated.pValue
- The value that should be represented by this ObjectParameter
object.public boolean setValue(java.lang.String pValue)
setValue
in interface IParameter
pValue
- The value that should be represented by this ObjectParameter
object.public java.lang.Object getValue()
ObjectParameter
object.ObjectParameter
object.