org.csapi.jr.se.pam
Class PAMWCNotificationData

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

public final class PAMWCNotificationData
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 watchers changed events.

See Also:
Serialized Form

Constructor Summary
PAMWCNotificationData()
          Creates a new PAMWCNotificationData instance.
PAMWCNotificationData(org.csapi.jr.se.pam.PAMEventName _event, org.csapi.jr.se.pam.PAMwatcherChangeType _changeType, java.lang.String _identity, java.lang.String[] _watchers)
          Creates a new PAMWCNotificationData instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.pam.PAMwatcherChangeType getChangeType()
          This method returns a changeType.
 org.csapi.jr.se.pam.PAMEventName getEvent()
          This method returns a event.
 java.lang.String getIdentity()
          This method returns a identity.
 java.lang.String[] getWatchers()
          This method returns a watchers.
 int hashCode()
          Returns a hashcode value for the object.
 void setChangeType(org.csapi.jr.se.pam.PAMwatcherChangeType changeType)
          This method sets a changeType.
 void setEvent(org.csapi.jr.se.pam.PAMEventName event)
          This method sets a event.
 void setIdentity(java.lang.String identity)
          This method sets a identity.
 void setWatchers(java.lang.String[] watchers)
          This method sets a watchers.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMWCNotificationData

public PAMWCNotificationData()
Creates a new PAMWCNotificationData instance.


PAMWCNotificationData

public PAMWCNotificationData(org.csapi.jr.se.pam.PAMEventName _event,
                             org.csapi.jr.se.pam.PAMwatcherChangeType _changeType,
                             java.lang.String _identity,
                             java.lang.String[] _watchers)
Creates a new PAMWCNotificationData instance.

Parameters:
_event - Contains the name of the event for which the watchers changed.
_changeType - Specifies whether the listed watchers were added or deleted
_identity - Contains the name of the identity whose capability has changed.
_watchers - Contains the list of watchers involved in the change.
Method Detail

getEvent

public org.csapi.jr.se.pam.PAMEventName getEvent()
This method returns a event.

Returns:
a org.csapi.jr.se.pam.PAMEventName value

getChangeType

public org.csapi.jr.se.pam.PAMwatcherChangeType getChangeType()
This method returns a changeType.

Returns:
a org.csapi.jr.se.pam.PAMwatcherChangeType value

getIdentity

public java.lang.String getIdentity()
This method returns a identity.

Returns:
a String value

getWatchers

public java.lang.String[] getWatchers()
This method returns a watchers.

Returns:
a String[] value

setEvent

public void setEvent(org.csapi.jr.se.pam.PAMEventName event)
This method sets a event.


setChangeType

public void setChangeType(org.csapi.jr.se.pam.PAMwatcherChangeType changeType)
This method sets a changeType.


setIdentity

public void setIdentity(java.lang.String identity)
This method sets a identity.


setWatchers

public void setWatchers(java.lang.String[] watchers)
This method sets a watchers.


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