org.csapi.jr.se.pam
Class PAMErrorInfo

java.lang.Object
  |
  +--org.csapi.jr.se.pam.PAMErrorInfo
All Implemented Interfaces:
java.io.Serializable

public final class PAMErrorInfo
extends java.lang.Object
implements java.io.Serializable

This is a Sequence of Data Elements to specify the error notification data.

See Also:
Serialized Form

Constructor Summary
PAMErrorInfo()
          Creates a new PAMErrorInfo instance.
PAMErrorInfo(org.csapi.jr.se.pam.PAMErrorCause _cause, org.csapi.jr.se.pam.PAMNotificationInfo _errorData)
          Creates a new PAMErrorInfo instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.pam.PAMErrorCause getCause()
          This method returns a cause.
 org.csapi.jr.se.pam.PAMNotificationInfo getErrorData()
          This method returns a errorData.
 int hashCode()
          Returns a hashcode value for the object.
 void setCause(org.csapi.jr.se.pam.PAMErrorCause cause)
          This method sets a cause.
 void setErrorData(org.csapi.jr.se.pam.PAMNotificationInfo errorData)
          This method sets a errorData.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMErrorInfo

public PAMErrorInfo()
Creates a new PAMErrorInfo instance.


PAMErrorInfo

public PAMErrorInfo(org.csapi.jr.se.pam.PAMErrorCause _cause,
                    org.csapi.jr.se.pam.PAMNotificationInfo _errorData)
Creates a new PAMErrorInfo instance.

Parameters:
_cause - Contains information about the reason for the error.
_errorData - Contains information relevant to each error such as the identity for which the error exists and/or the attributes for which the error exists.
Method Detail

getCause

public org.csapi.jr.se.pam.PAMErrorCause getCause()
This method returns a cause.

Returns:
a org.csapi.jr.se.pam.PAMErrorCause value

getErrorData

public org.csapi.jr.se.pam.PAMNotificationInfo getErrorData()
This method returns a errorData.

Returns:
a org.csapi.jr.se.pam.PAMNotificationInfo value

setCause

public void setCause(org.csapi.jr.se.pam.PAMErrorCause cause)
This method sets a cause.


setErrorData

public void setErrorData(org.csapi.jr.se.pam.PAMNotificationInfo errorData)
This method sets a errorData.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object