|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jain.protocol.ss7.tcap.component.Parameters
Parameters is a parameter of a component. It is used to hold any parameters that accompany an operation or are provided in reply to an operation.
| Field Summary | |
static int |
PARAMETERTYPE_SEQUENCE
Indicates a paramater sequence, which holds a sequence of User Information elements. |
static int |
PARAMETERTYPE_SET
Indicates a paramater set, which holds a set of User Information elements. |
static int |
PARAMETERTYPE_SINGLE
Indicates a paramater single, which holds only one User Information element. |
| Constructor Summary | |
Parameters(int parameterIdentifier,
byte[] parameter)
Constructs a new Parameters. |
|
| Method Summary | |
void |
clearAllParameters()
Clears all previously set parameters. |
byte[] |
getParameter()
Returns the supplied parameter values. |
int |
getParameterIdentifier()
Returns the parameter Identifier of this Parameter. |
boolean |
isParameterIdentifierPresent()
Indicates if the Parameter Identifier field is present. |
boolean |
isParameterPresent()
Indicates if the 'Parameter values' field is present. |
void |
setParameter(byte[] parameter)
Sets the 'Parameter values' field of the PARAMETERS Class |
void |
setParameterIdentifier(int parameterIdentifier)
Sets the 'Parameter Identifier' parameter of the PARAMETERS Component to one of the following: PARMETERTYPE_SINGLE PARMETERTYPE_SEQUENCE PARMETERTYPE_SET |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int PARAMETERTYPE_SINGLE
public static final int PARAMETERTYPE_SEQUENCE
public static final int PARAMETERTYPE_SET
| Constructor Detail |
public Parameters(int parameterIdentifier,
byte[] parameter)
parameterIdentifier - the type of parameter, this may be either
PARAMETERTYPE_SEQUENCE or PARAMETERTYPE_SETparameter - the parameter data.| Method Detail |
public boolean isParameterIdentifierPresent()
public int getParameterIdentifier()
throws ParameterNotSetException
PARMETERTYPE_SINGLE, PARAMETERTYPE_SEQUENCE or PARAMETERTYPE_SETpublic void setParameterIdentifier(int parameterIdentifier)
parameterIdentifier - the Parameter Type in bytes.public boolean isParameterPresent()
public byte[] getParameter()
throws ParameterNotSetException
public void setParameter(byte[] parameter)
para - the parameters in a byte array.public void clearAllParameters()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||