|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.cli.messageset.CmdParams
This class contains the Command Parameters for a particular command or object within a command.
| Field Summary | |
static byte |
CHAR
Constant for Character Option type. |
static byte |
FLOAT
Constant for Float Option type. |
static byte |
INTEGER
Constant for Integer Option type. |
static byte |
STRING
Constant for String Option type. |
| Constructor Summary | |
CmdParams()
Default constructor to create a new instance of CmdParams. |
|
| Method Summary | |
java.lang.String |
getParamDescription()
Gets the description of this parameter. |
java.lang.String |
getParamName()
Gets the parameter name. |
java.lang.String |
getParamValue()
Gets the parameter value. |
byte |
getParamValueType()
Gets the parameter value type. |
boolean |
isOptional()
Indicates whether sending the parameter is optional or mandatory. |
boolean |
isSendParam()
Indicates whether the parameter name should be sent in the command. |
void |
setOptionalFlag(boolean optFlag)
Sets the optional flag. |
void |
setParamDescription(java.lang.String description)
Sets the description of this parameter. |
void |
setParamName(java.lang.String paramName)
Sets the parameter name. |
void |
setParamValue(java.lang.String paramValue)
Sets the parameter value. |
void |
setParamValueType(byte type)
Sets the parameter value type. |
void |
setSendParam(boolean sendParam)
Sets the sendParam value. |
java.lang.String |
toString()
Method to get the String representation of this object. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final byte INTEGER
public static final byte CHAR
public static final byte FLOAT
public static final byte STRING
| Constructor Detail |
public CmdParams()
CmdParams.| Method Detail |
public void setParamName(java.lang.String paramName)
paramName - the parameter name.public java.lang.String getParamName()
public void setParamValueType(byte type)
type - the parameter vale type as a byte value.public byte getParamValueType()
public void setParamValue(java.lang.String paramValue)
paramValue - the parameter value.public java.lang.String getParamValue()
public void setSendParam(boolean sendParam)
sendParam - boolean to enable/disable the sending of parameter
name.public boolean isSendParam()
public void setOptionalFlag(boolean optFlag)
optFlag - boolean to indicate if the parameter is optional or mandatory.public boolean isOptional()
public java.lang.String getParamDescription()
public void setParamDescription(java.lang.String description)
description - the description as a String.public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||