com.sun.im.service
Class PersonalStoreEvent

java.lang.Object
  extended bycom.sun.im.service.PersonalStoreEvent

public class PersonalStoreEvent
extends java.lang.Object

This object will be used to notify the changes in the PersonalStoreEntry objects.


Field Summary
static int TYPE_ADDED
          indicates that the PersonalStoreEntry has been added
static int TYPE_MODIFIED
          indicates that the PersonalStoreEntry has been modified
static int TYPE_REMOVED
          indicates that the PersonalStoreEntry has been removed
 
Constructor Summary
PersonalStoreEvent(int type, PersonalStoreEntry entry)
           
 
Method Summary
 PersonalStoreEntry getEntry()
          Returns the entry associated with this event
 int getType()
          Returns the event type
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_ADDED

public static final int TYPE_ADDED
indicates that the PersonalStoreEntry has been added

See Also:
Constant Field Values

TYPE_MODIFIED

public static final int TYPE_MODIFIED
indicates that the PersonalStoreEntry has been modified

See Also:
Constant Field Values

TYPE_REMOVED

public static final int TYPE_REMOVED
indicates that the PersonalStoreEntry has been removed

See Also:
Constant Field Values
Constructor Detail

PersonalStoreEvent

public PersonalStoreEvent(int type,
                          PersonalStoreEntry entry)
Method Detail

getType

public int getType()
Returns the event type

Returns:
int code for this event type

getEntry

public PersonalStoreEntry getEntry()
Returns the entry associated with this event

Returns:
PersonalStoreEntry object associated with the event

toString

public java.lang.String toString()