org.csapi.jr.se.pam
Class PAMADEventData

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

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

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

See Also:
Serialized Form

Constructor Summary
PAMADEventData()
          Creates a new PAMADEventData instance.
PAMADEventData(java.lang.String[] _agentName, java.lang.String[] _agentType)
          Creates a new PAMADEventData 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.
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMADEventData

public PAMADEventData()
Creates a new PAMADEventData instance.


PAMADEventData

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

Parameters:
_agentName - Specifies the name of the agent whose deletion 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

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

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