|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.tl1.message.TL1Param
This class represents a TL1 parameter object. The two parameter types are
| Field Summary | |
static byte |
NAME_DEFINED
Constant that represents a name defined parameter type |
static byte |
POSITION_DEFINED
Constant that represents a position defined parameter type |
| Constructor Summary | |
TL1Param()
Default constructor that creates an instance of this Parameter object. |
|
TL1Param(byte type,
java.lang.String name,
java.lang.String value)
Constructor that creates an instance of this Parameter object and initializes the parameter type, parameter name and parameter value. |
|
TL1Param(java.lang.String name)
Deprecated. Since AdventNetTL1 API 2.0. Use Constructor with arguments type,parameter name and parameter value. |
|
| Method Summary | |
java.lang.String |
getName()
Deprecated. Since AdventNetTL1 API 2.0. Use getParamName() |
java.lang.String |
getParamName()
Gets the name for this parameter object. |
TL1ParamValue |
getParamValue()
Deprecated. Since AdventNetTL1 API 2.0. Use getParamValueString(). |
java.lang.String |
getParamValueString()
Gets the value for this parmeter object. |
byte |
getType()
Gets the type of this parameter object. |
void |
setName(java.lang.String name)
Deprecated. Since AdventNetTL1 API 2.0. Use setParamName (java.lang.String name) |
void |
setParamName(java.lang.String name)
Sets the name with the given value for this parameter object. |
void |
setParamValue(TL1ParamValue paramValue)
Deprecated. Since AdventNetTL1 API 2.0. Use setParamValueString(java.lang.String value). |
void |
setParamValueString(java.lang.String paramValue)
Sets the value of this parameter object with the given value. |
void |
setType(byte type)
Sets the type of this parameter object. |
java.lang.String |
toString()
Returns the string format of this TL1Param object. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final byte NAME_DEFINED
public static final byte POSITION_DEFINED
| Constructor Detail |
public TL1Param()
public TL1Param(java.lang.String name)
name - String representing the parameter name.TL1Param(byte type, String name, String value)
public TL1Param(byte type,
java.lang.String name,
java.lang.String value)
type - byte representing parameter type, can be either
NAME_DEFINED or POSITION_DEFINED.name - String representing the parameter name. In case of
position defined this parameter name is ignored.value - String representing the parameter value.| Method Detail |
public void setParamName(java.lang.String name)
name - String representing this parameter name.public java.lang.String getParamName()
public void setName(java.lang.String name)
name - String representing the parameter name.setParamName(java.lang.String)public java.lang.String getName()
getParamName()public void setType(byte type)
type - byte representing parameter type can be either
NAME_DEFINED or POSITION_DEFINED.public byte getType()
public TL1ParamValue getParamValue()
getParamValueString()public java.lang.String getParamValueString()
public void setParamValue(TL1ParamValue paramValue)
paramValue - TL1ParamValue object to set.setParamValueString(java.lang.String)public void setParamValueString(java.lang.String paramValue)
paramValue - TL1ParamValue object to set.TL1ParamValuepublic java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||