|
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 | +--java.util.EventObject | +--jain.protocol.ss7.tcap.ComponentReqEvent | +--jain.protocol.ss7.tcap.component.RejectReqEvent
An event representing a TCAP Reject request component primitive. The mandatory parameters of this primitive are supplied to the constructor. Optional parameters may then be set using the set methods.
ComponentReqEvent
, Serialized FormFields inherited from class jain.protocol.ss7.tcap.ComponentReqEvent |
m_dialogueId, m_dialogueIdPresent, m_invokeId, m_invokeIdPresent |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
RejectReqEvent(java.lang.Object source,
int dialogueId,
int problemType,
int problem)
Constructs a new Reject request Event, with only the Event Source and the JAIN TCAP Mandatory parameters being supplied to the constructor. |
Method Summary | |
void |
clearAllParameters()
Clears all previously set parameters . |
int |
getLinkId()
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
Parameters |
getParameters()
Gets the Parameters' parameter of the Reject request Component. |
int |
getPrimitiveType()
This method returns the type of this primitive. |
int |
getProblem()
Returns the problem details of this Reject request Component. |
int |
getProblemType()
Returns the problem type of this Reject request Component. |
int |
getRejectType()
Deprecated. As of JAIN TCAP v1.1, only one type of Reject Request for each variant. |
boolean |
isInvokeIdPresent()
Indicates if the Invoke Id is present in this Event. |
boolean |
isLinkIdPresent()
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
boolean |
isParametersPresent()
Indicates if the 'Parameters' field is present in this Event. |
boolean |
isRejectTypePresent()
Deprecated. As of JAIN TCAP v1.1, only one type of Reject Request for each variant. |
void |
setLinkId(int value)
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
void |
setParameters(Parameters params)
Sets the Parameters' parameter of the Reject Request Component. |
void |
setProblem(int problem)
Sets the problem details of this Reject request Component. |
void |
setProblemType(int problemType)
Sets the problem type of this Reject request Component. |
void |
setRejectType(int rejectType)
Deprecated. As of JAIN TCAP v1.1, only one type of Reject Request for each variant. |
java.lang.String |
toString()
String representation of class RejectReqEvent |
Methods inherited from class jain.protocol.ss7.tcap.ComponentReqEvent |
getDialogueId, getInvokeId, setDialogueId, setInvokeId, setSource |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RejectReqEvent(java.lang.Object source, int dialogueId, int problemType, int problem)
source
- the Event Source supplied to the construcutordialogueId
- the Dialogue Identifier supplied to the construcutorproblemType
- the Problem Type supplied to the construcutorproblem
- the Problem supplied to the construcutorMethod Detail |
public void setRejectType(int rejectType)
public void setParameters(Parameters params)
params
- The new Parameters valuepublic void setProblemType(int problemType)
problemType
- The new Problem Type value, one of the
following:-
public void setProblem(int problem)
problem
- One of the following problem codes,
grouped by Problem type:
ComponentConstants
public void setLinkId(int value)
public boolean isInvokeIdPresent()
public boolean isRejectTypePresent()
public int getRejectType() throws ParameterNotSetException
public boolean isParametersPresent()
public Parameters getParameters() throws ParameterNotSetException
Parameters
contains any parameters that accompany an operation or
that are provided in reply to an operation.ParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic int getProblemType() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not yet been setpublic int getProblem() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
Mandatory parameter has not been setpublic boolean isLinkIdPresent()
public int getLinkId() throws ParameterNotSetException
public int getPrimitiveType()
getPrimitiveType
in class ComponentReqEvent
public void clearAllParameters()
public java.lang.String toString()
toString
in class ComponentReqEvent
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |