org.eclipse.ecf.core.sharedobject.events
Class SharedObjectCommitEvent

java.lang.Object
  extended by org.eclipse.ecf.core.sharedobject.events.SharedObjectCommitEvent
All Implemented Interfaces:
java.io.Serializable, ISharedObjectCommitEvent, ISharedObjectEvent, Event

public class SharedObjectCommitEvent
extends java.lang.Object
implements ISharedObjectCommitEvent, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SharedObjectCommitEvent(ID senderSharedObjectID)
           
SharedObjectCommitEvent(ID senderSharedObjectID, Event event)
           
 
Method Summary
 Event getEvent()
          Get the Event from the sender shared object
 ID getSenderSharedObjectID()
          Get ID of sender shared object responsible for this event
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SharedObjectCommitEvent

public SharedObjectCommitEvent(ID senderSharedObjectID,
                               Event event)

SharedObjectCommitEvent

public SharedObjectCommitEvent(ID senderSharedObjectID)
Method Detail

getSenderSharedObjectID

public ID getSenderSharedObjectID()
Description copied from interface: ISharedObjectEvent
Get ID of sender shared object responsible for this event

Specified by:
getSenderSharedObjectID in interface ISharedObjectEvent
Returns:
ID of sender shared object. Will not be null.

getEvent

public Event getEvent()
Description copied from interface: ISharedObjectEvent
Get the Event from the sender shared object

Specified by:
getEvent in interface ISharedObjectEvent
Returns:
Event the event in question

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object