org.csapi.jr.se.pam
Class PAMAUNotificationData

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

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

This is a Sequence of Data Elements to specify the data that is provided in the notifications for agent unassignment events.

See Also:
Serialized Form

Constructor Summary
PAMAUNotificationData()
          Creates a new PAMAUNotificationData instance.
PAMAUNotificationData(java.lang.String _identity, java.lang.String _agent)
          Creates a new PAMAUNotificationData instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getAgent()
          This method returns a agent.
 java.lang.String getIdentity()
          This method returns a identity.
 int hashCode()
          Returns a hashcode value for the object.
 void setAgent(java.lang.String agent)
          This method sets a agent.
 void setIdentity(java.lang.String identity)
          This method sets a identity.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMAUNotificationData

public PAMAUNotificationData()
Creates a new PAMAUNotificationData instance.


PAMAUNotificationData

public PAMAUNotificationData(java.lang.String _identity,
                             java.lang.String _agent)
Creates a new PAMAUNotificationData instance.

Parameters:
_identity - Contains the name of the identity from whom an agent has been unassigned.
_agent - Contains the name of the agent that has been unassigned.
Method Detail

getIdentity

public java.lang.String getIdentity()
This method returns a identity.

Returns:
a String value

getAgent

public java.lang.String getAgent()
This method returns a agent.

Returns:
a String value

setIdentity

public void setIdentity(java.lang.String identity)
This method sets a identity.


setAgent

public void setAgent(java.lang.String agent)
This method sets a agent.


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