org.csapi.jr.se.pam
Class PAMAPSNotificationData

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

public final class PAMAPSNotificationData
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 presence set events.

See Also:
Serialized Form

Constructor Summary
PAMAPSNotificationData()
          Creates a new PAMAPSNotificationData instance.
PAMAPSNotificationData(java.lang.String _agent, java.lang.String[] _attributeNames)
          Creates a new PAMAPSNotificationData 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[] getAttributeNames()
          This method returns a attributeNames.
 int hashCode()
          Returns a hashcode value for the object.
 void setAgent(java.lang.String agent)
          This method sets a agent.
 void setAttributeNames(java.lang.String[] attributeNames)
          This method sets a attributeNames.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMAPSNotificationData

public PAMAPSNotificationData()
Creates a new PAMAPSNotificationData instance.


PAMAPSNotificationData

public PAMAPSNotificationData(java.lang.String _agent,
                              java.lang.String[] _attributeNames)
Creates a new PAMAPSNotificationData instance.

Parameters:
_agent - Contains the name of the agent whose capability has changed
_attributeNames - Contains the attribute names that have changed in value
Method Detail

getAgent

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

Returns:
a String value

getAttributeNames

public java.lang.String[] getAttributeNames()
This method returns a attributeNames.

Returns:
a String[] value

setAgent

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


setAttributeNames

public void setAttributeNames(java.lang.String[] attributeNames)
This method sets a attributeNames.


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