org.csapi.jr.se.pam
Class PAMAANotificationData

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

public final class PAMAANotificationData
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 assignment events.

See Also:
Serialized Form

Constructor Summary
PAMAANotificationData()
          Creates a new PAMAANotificationData instance.
PAMAANotificationData(java.lang.String _identity, java.lang.String _agent)
          Creates a new PAMAANotificationData 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

PAMAANotificationData

public PAMAANotificationData()
Creates a new PAMAANotificationData instance.


PAMAANotificationData

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

Parameters:
_identity - Contains the name of the identity to whom an agent has been assigned.
_agent - Contains the name of the agent that has been assigned.
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