|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
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 parameter sequence, which holds a sequence of User Information elements. |
static int |
PARAMETERTYPE_SET
Indicates a parameter set, which holds a set of User Information elements. |
static int |
PARAMETERTYPE_SINGLE
Indicates a parameter 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()
Deprecated. As of JAIN TCAP API v1.1. No replacement. The Parameter field is mandatory. |
boolean |
isParameterPresent()
Deprecated. As of JAIN TCAP API v1.1. No replacement. The Parameter field is mandatory. |
void |
setParameter(byte[] parameter)
Sets the 'Parameter values' field of the Component |
void |
setParameterIdentifier(int parameterIdentifier)
Sets the 'Parameter Identifier' parameter of the Component |
java.lang.String |
toString()
String representation of class Parameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, 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 Parameter Identifier supplied to the constructorparameter
- the paramater supplied to the constructorMethod Detail |
public void setParameterIdentifier(int parameterIdentifier)
parameterIdentifier
- one of the following:
public void setParameter(byte[] parameter)
parameter
- The new Parameter valuepublic boolean isParameterIdentifierPresent()
public int getParameterIdentifier() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic boolean isParameterPresent()
public byte[] getParameter() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is
thrown if this parameter has not been setpublic void clearAllParameters()
public java.lang.String toString()
toString
in class java.lang.Object
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |