|
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.ComponentIndEvent | +--jain.protocol.ss7.tcap.component.RejectIndEvent
An event representing a TCAP Reject indication component primitive. The mandatory parameters of this primitive are supplied to the constructor. Optional parameters may then be set using the set methods.
ComponentIndEvent
, Serialized FormFields inherited from class jain.protocol.ss7.tcap.ComponentIndEvent |
m_dialogueId, m_dialogueIdPresent, m_invokeId, m_invokeIdPresent, m_lastComponent, m_lastComponentPresent |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
RejectIndEvent(java.lang.Object source,
int dialogueId,
int problemType,
int problem,
boolean lastComponent)
Constructs a new Reject indication 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 |
getDialogueId()
Gets the Dialogue Id parameter of this Reject Indication, which is a reference identifier which identifies a specific dialogue or transaction and all associated components within that dialogue or transaction. |
int |
getInvokeId()
Gets the Invoke Id parameter of this Reject indication. |
int |
getLinkId()
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
Parameters |
getParameters()
Gets the Parameters' parameter of the Reject indication Component. |
int |
getPrimitiveType()
This method returns the type of this primitive. |
int |
getProblem()
Returns the problem details of this Reject indication Component. |
int |
getProblemType()
Returns the problem type of this Reject request Component. |
int |
getRejectType()
Indicates the type of this Reject 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()
Indicates if the Reject Type flag is present in this Event. |
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 indication Component. |
void |
setProblem(int problem)
Sets the problem details of this Reject indication Component. |
void |
setProblemType(int problemType)
Sets the problem type of this Reject request Component. |
void |
setRejectType(int rejectType)
Sets the type of this Reject as a Local, Remote or User Reject. |
java.lang.String |
toString()
String representation of class RejectIndEvent |
Methods inherited from class jain.protocol.ss7.tcap.ComponentIndEvent |
isInvokeIdPresent, isLastComponent, setDialogueId, setInvokeId, setLastComponent, 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 RejectIndEvent(java.lang.Object source, int dialogueId, int problemType, int problem, boolean lastComponent)
source
- the Event Source supplied to the constructordialogueId
- the Dialogue Identifier supplied to the constructorproblemType
- the Problem Type supplied to the constructorproblem
- the Problem supplied to the constructorlastComponent
- the Last Component flag supplied to the constructorMethod Detail |
public void setRejectType(int rejectType)
rejectType
- one of the following:
ComponentConstants
public void setParameters(Parameters params)
params
- The new Parameters valuepublic void setProblemType(int problemType)
problemType
- The new ProblemType value, one of the following:
ComponentConstants
public void setProblem(int problem)
problem
- One of the following problem codes,
grouped by Problem type:
ComponentConstants
public void setLinkId(int value)
public int getDialogueId() throws MandatoryParameterNotSetException
getDialogueId
in class ComponentIndEvent
MandatoryParameterNotSetException
- if this JAIN Mandatory
parameter has not been set.public int getInvokeId() throws ParameterNotSetException
getInvokeId
in class ComponentIndEvent
ParameterNotSetException
- this exception is thrown if this is a
JAIN Optional parameter has not been setpublic boolean isRejectTypePresent()
public int getRejectType() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this is a
JAIN Optional parameter has not been set.ComponentConstants
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 yet been setpublic int getProblemType() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setComponentConstants
public int getProblem() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setComponentConstants
public boolean isLinkIdPresent()
public int getLinkId() throws ParameterNotSetException
public int getPrimitiveType()
getPrimitiveType
in class ComponentIndEvent
public void clearAllParameters()
public java.lang.String toString()
toString
in class ComponentIndEvent
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |