|
WebNMS TL1 API Release 4 Specification | ||||||||
| 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 TL1Param object. |
|
TL1Param(byte type,
java.lang.String name,
java.lang.String value)
Constructor that creates an instance of TL1Param object and initializes the parameter type, name and value. |
|
TL1Param(java.lang.String paramString)
|
|
| Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(TL1Param param)
Compares the specified TL1Param object with this TL1Param object for equality. |
java.lang.String |
getParamName()
Gets the name for this parameter object. |
java.lang.String |
getParamValue()
Gets the parameter value for this parameter object. |
byte |
getType()
Gets the type of this parameter object. |
void |
setParameter(java.lang.String paramString)
Sets the TL1Param object as a paramname, paramvale using the given string. |
void |
setParamName(java.lang.String name)
Sets the name with the given value for this parameter object. |
void |
setParamValue(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 |
toExpandedString()
Returns the string form of this TL1Param of the form name = value, where name is set by TCSMetadata. |
java.lang.String |
toString()
Returns the string form of this TL1Param object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final byte NAME_DEFINED
public static final byte POSITION_DEFINED
| Constructor Detail |
public TL1Param()
public TL1Param(java.lang.String paramString)
public TL1Param(byte type,
java.lang.String name,
java.lang.String value)
type - byte representing parameter type. It can be either
NAME_DEFINED or POSITION_DEFINED.name - String representing the parameter name. In case of
position defined type, this parameter name can be ignored.value - String representing the parameter value.| Method Detail |
public void setParameter(java.lang.String paramString)
paramString - String of TL1Param.public void setParamName(java.lang.String name)
name - String representing this parameter name.public java.lang.String getParamName()
public void setType(byte type)
type - byte representing parameter type. It can be either
NAME_DEFINED or POSITION_DEFINED.public byte getType()
public java.lang.String getParamValue()
public void setParamValue(java.lang.String paramValue)
paramValue - String representing the paramvalue.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toExpandedString()
public boolean equals(TL1Param param)
param - TL1Param object to compare.
true if this TL1Param object is the same as
the TL1Param argument. Otherwise returns false.public java.lang.Object clone()
|
WebNMS TL1 API Release 4 Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||