|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Represents a parameter. A parameter is a name-value pair, whereat the value
is typed. Additionally, a Param contains recommendations on the
representation of its value and type-specific access methods to its assigned
value.
| Method Summary | |
java.lang.String |
getDisplayName()
Returns the display name of the parameter. |
java.lang.String |
getName()
Returns the name of the parameter. |
ParamType |
getType()
Returns the type of the parameter. |
boolean |
getValueBoolean()
Returns the value of Param objects with type
ParamTypes.BOOLEAN. |
byte |
getValueByte()
Returns the value of Param objects with type
ParamTypes.BYTE. |
double |
getValueDouble()
Returns the value of Param objects with type
ParamTypes.DOUBLE. |
float |
getValueFloat()
Returns the value of Param objects with type
ParamTypes.FLOAT. |
int |
getValueInt()
Returns the value of Param objects with type
ParamTypes.INT. |
long |
getValueLong()
Returns the value of Param objects with type
ParamTypes.LONG. |
java.lang.Object |
getValueObject()
Returns the value of this Param as Object. |
short |
getValueShort()
Returns the value of Param objects with type
ParamTypes.SHORT. |
java.lang.String |
getValueString()
Returns the value of Param objects with type
ParamTypes.STRING. |
boolean |
isValueSet()
Indicates whether this Param contains a value different
from null. |
void |
setValue(java.lang.Object paramValue)
Sets the value of this Param as an Object. |
boolean |
valueShallBeHidden()
Indicates whether to represent the value of this Param
in clear text or not when exporting this Param to some
external interface. |
| Method Detail |
public java.lang.String getName()
throws RemoteException
String containing the name of the parameter
public java.lang.String getDisplayName()
throws RemoteException
String description of the name of the parameter
public ParamType getType()
throws RemoteException
ParamType, representing the type of the parameterParamType
public java.lang.Object getValueObject()
throws RemoteException
Param as Object.Object representation of the value of this
Param; may be null
public void setValue(java.lang.Object paramValue)
throws RemoteException
Param as an Object.paramValue - the value to be set as an Object, whereat
null is an admitted value
public boolean isValueSet()
throws RemoteException
Param contains a value different
from null. For parameters of certain types, it is mandatory
to check whether their value is different from null
before invoking their type-specific value access methods.true if this Param contains a value
different from null; false otherwise
public boolean valueShallBeHidden()
throws RemoteException
Param
in clear text or not when exporting this Param to some
external interface.true if the value must not be represented in clear
text; false otherwise
public java.lang.String getValueString()
throws RemoteException
Param objects with type
ParamTypes.STRING.String value of this Param, which
may be nullIllegalStateException - if the type of this Param is
different from ParamTypes.STRINGParamTypes.STRING
public boolean getValueBoolean()
throws RemoteException
Param objects with type
ParamTypes.BOOLEAN.boolean value of this ParamIllegalStateException - if the type of this Param is
different from ParamTypes.BOOLEAN, or if its value
is nullParamTypes.BOOLEAN
public byte getValueByte()
throws RemoteException
Param objects with type
ParamTypes.BYTE.byte value of this ParamIllegalStateException - if the type of this Param is
different from ParamTypes.BYTE, or if its value
is nullParamTypes.BYTE
public short getValueShort()
throws RemoteException
Param objects with type
ParamTypes.SHORT.short value of this ParamIllegalStateException - if the type of this Param is
different from ParamTypes.SHORT, or if its value
is nullParamTypes.SHORT
public int getValueInt()
throws RemoteException
Param objects with type
ParamTypes.INT.int value of this ParamIllegalStateException - if the type of this Param is
different from ParamTypes.INT, or if its value
is nullParamTypes.INT
public long getValueLong()
throws RemoteException
Param objects with type
ParamTypes.LONG.long value of this ParamIllegalStateException - if the type of this Param is
different from ParamTypes.LONG, or if its value
is nullParamTypes.LONG
public float getValueFloat()
throws RemoteException
Param objects with type
ParamTypes.FLOAT.float value of this ParamIllegalStateException - if the type of this Param is
different from ParamTypes.FLOAT, or if its value
is nullParamTypes.FLOAT
public double getValueDouble()
throws RemoteException
Param objects with type
ParamTypes.DOUBLE.double value of this ParamIllegalStateException - if the type of this Param is
different from ParamTypes.DOUBLE, or if its value
is nullParamTypes.DOUBLE
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||