org.csapi.jr.se.pam
Class PAMAAEventData

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

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

This is a Sequence of Data Elements to specify the input data for subscribing to agent assignments from an identity. The event is registered for changes in any of the named agents. If no agents are named, then the event is registered for any agent.

See Also:
Serialized Form

Constructor Summary
PAMAAEventData()
          Creates a new PAMAAEventData instance.
PAMAAEventData(java.lang.String[] _identityName, java.lang.String[] _identityType, java.lang.String[] _agentName, java.lang.String[] _agentType)
          Creates a new PAMAAEventData instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String[] getAgentName()
          This method returns a agentName.
 java.lang.String[] getAgentType()
          This method returns a agentType.
 java.lang.String[] getIdentityName()
          This method returns a identityName.
 java.lang.String[] getIdentityType()
          This method returns a identityType.
 int hashCode()
          Returns a hashcode value for the object.
 void setAgentName(java.lang.String[] agentName)
          This method sets a agentName.
 void setAgentType(java.lang.String[] agentType)
          This method sets a agentType.
 void setIdentityName(java.lang.String[] identityName)
          This method sets a identityName.
 void setIdentityType(java.lang.String[] identityType)
          This method sets a identityType.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMAAEventData

public PAMAAEventData()
Creates a new PAMAAEventData instance.


PAMAAEventData

public PAMAAEventData(java.lang.String[] _identityName,
                      java.lang.String[] _identityType,
                      java.lang.String[] _agentName,
                      java.lang.String[] _agentType)
Creates a new PAMAAEventData instance.

Parameters:
_identityName - Specifies the name of the identity for which the assignment is to be notified. Can be an empty array if notification is required for any identity instance.
_identityType - Specifies the type of the identity for which this notification is requested if the identityName is specified as an empty array. Can be an empty array if notification required for identities of any type.
_agentName - Specifies the name of the agent whose assignment is to be notified. Can be an empty array.
_agentType - Specifies the type of the agent for which this notification is requested if agentName is an empty array. Can be an empty array if notification required for agents of any type.
Method Detail

getIdentityName

public java.lang.String[] getIdentityName()
This method returns a identityName.

Returns:
a String[] value

getIdentityType

public java.lang.String[] getIdentityType()
This method returns a identityType.

Returns:
a String[] value

getAgentName

public java.lang.String[] getAgentName()
This method returns a agentName.

Returns:
a String[] value

getAgentType

public java.lang.String[] getAgentType()
This method returns a agentType.

Returns:
a String[] value

setIdentityName

public void setIdentityName(java.lang.String[] identityName)
This method sets a identityName.


setIdentityType

public void setIdentityType(java.lang.String[] identityType)
This method sets a identityType.


setAgentName

public void setAgentName(java.lang.String[] agentName)
This method sets a agentName.


setAgentType

public void setAgentType(java.lang.String[] agentType)
This method sets a agentType.


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