org.csapi.jr.se.pam
Class PAMWCEventData

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

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

This is a Sequence of Data Elements to specify the input data for subscribing to watchers changed events.

See Also:
Serialized Form

Constructor Summary
PAMWCEventData()
          Creates a new PAMWCEventData instance.
PAMWCEventData(org.csapi.jr.se.pam.PAMEventName[] _events, java.lang.String[] _identityName, java.lang.String[] _identityType, long _reportingPeriod)
          Creates a new PAMWCEventData instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.pam.PAMEventName[] getEvents()
          This method returns a events.
 java.lang.String[] getIdentityName()
          This method returns a identityName.
 java.lang.String[] getIdentityType()
          This method returns a identityType.
 long getReportingPeriod()
          This method returns a reportingPeriod.
 int hashCode()
          Returns a hashcode value for the object.
 void setEvents(org.csapi.jr.se.pam.PAMEventName[] events)
          This method sets a events.
 void setIdentityName(java.lang.String[] identityName)
          This method sets a identityName.
 void setIdentityType(java.lang.String[] identityType)
          This method sets a identityType.
 void setReportingPeriod(long reportingPeriod)
          This method sets a reportingPeriod.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAMWCEventData

public PAMWCEventData()
Creates a new PAMWCEventData instance.


PAMWCEventData

public PAMWCEventData(org.csapi.jr.se.pam.PAMEventName[] _events,
                      java.lang.String[] _identityName,
                      java.lang.String[] _identityType,
                      long _reportingPeriod)
Creates a new PAMWCEventData instance.

Parameters:
_events - Specifies the list of events for which the watchers are to be monitored. Can be an empty array if notification is required for watchers to any event.
_identityName - Specifies the name of an identity for whom the change in watchers 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.
_reportingPeriod - Specifies the interval for periodic reporting (regardless of change). If -1, the event notification happens only on a change. If 0, there is a single immediate notification even if there is no change. For all other values, there is a periodic notification at the specified time interval regardless of change.
Method Detail

getEvents

public org.csapi.jr.se.pam.PAMEventName[] getEvents()
This method returns a events.

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

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

getReportingPeriod

public long getReportingPeriod()
This method returns a reportingPeriod.

Returns:
a long value

setEvents

public void setEvents(org.csapi.jr.se.pam.PAMEventName[] events)
This method sets a events.


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.


setReportingPeriod

public void setReportingPeriod(long reportingPeriod)
This method sets a reportingPeriod.


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