org.csapi.jr.se.pam
Class PAMACEventData

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

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

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

See Also:
Serialized Form

Constructor Summary
PAMACEventData()
          Creates a new PAMACEventData instance.
PAMACEventData(java.lang.String[] _agentType)
          Creates a new PAMACEventData instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String[] getAgentType()
          This method returns a agentType.
 int hashCode()
          Returns a hashcode value for the object.
 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

PAMACEventData

public PAMACEventData()
Creates a new PAMACEventData instance.


PAMACEventData

public PAMACEventData(java.lang.String[] _agentType)
Creates a new PAMACEventData instance.

Parameters:
_agentType - Specifies the type of the agents for which this notification is requested. Can be an empty array if notification required for agents of any type.
Method Detail

getAgentType

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

Returns:
a String[] value

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