|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.packet.DiameterPacketValidationResults
public class DiameterPacketValidationResults
A data object containing the Results of validation operations of a Diameter Packet.
Constructor Summary | |
---|---|
DiameterPacketValidationResults()
Default (empty) constructor. |
|
DiameterPacketValidationResults(int error)
Constructor that receives an error code. |
|
DiameterPacketValidationResults(int error,
Avp problemAvp)
Constructor that receives an error code and the problem AVP. |
Method Summary | |
---|---|
int |
getError()
Returns the error value. |
java.lang.String |
getErrorMessage()
Returns the error message that would be used in the Error-Message AVP. |
Avp |
getProblemAvp()
Returns the AVP causing the problem. |
boolean |
isResultCodeValid()
Returns the boolean indicating if the result code is valid. |
void |
setError(int error)
Sets the error result code value. |
void |
setErrorMessage(java.lang.String errorMessage)
Sets the error message that should be sent in the Error-Message AVP. |
void |
setProblemAvp(Avp problemAvp)
Sets the AVP causing the problem. |
void |
setResultCodeValid(boolean isResultCodeValid)
Sets the ResultCodeValid boolean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiameterPacketValidationResults()
public DiameterPacketValidationResults(int error)
error
- An int containing the error result code.public DiameterPacketValidationResults(int error, Avp problemAvp)
error
- An int containing the error result codeproblemAvp
- The Avp that is identified as the one causing the problem.Method Detail |
---|
public int getError()
public void setError(int error)
error
- The error to set.public Avp getProblemAvp()
public void setProblemAvp(Avp problemAvp)
problemAvp
- The problemAvp to set.public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage
- The errorMessage to set.public boolean isResultCodeValid()
public void setResultCodeValid(boolean isResultCodeValid)
isResultCodeValid
- Boolean to indicate if the result code is a valid value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |