de.huxhorn.lilith.data.eventsource
Class EventIdentifier

java.lang.Object
  extended by de.huxhorn.lilith.data.eventsource.EventIdentifier
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class EventIdentifier
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
static long NO_LOCAL_ID
           
 
Constructor Summary
EventIdentifier()
           
EventIdentifier(SourceIdentifier sourceIdentifier, long localId)
           
 
Method Summary
 EventIdentifier clone()
           
 boolean equals(java.lang.Object o)
           
 long getLocalId()
           
 SourceIdentifier getSourceIdentifier()
           
 int hashCode()
           
 void setLocalId(long localId)
           
 void setSourceIdentifier(SourceIdentifier sourceIdentifier)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_LOCAL_ID

public static final long NO_LOCAL_ID
See Also:
Constant Field Values
Constructor Detail

EventIdentifier

public EventIdentifier()

EventIdentifier

public EventIdentifier(SourceIdentifier sourceIdentifier,
                       long localId)
Method Detail

getSourceIdentifier

public SourceIdentifier getSourceIdentifier()

setSourceIdentifier

public void setSourceIdentifier(SourceIdentifier sourceIdentifier)

getLocalId

public long getLocalId()

setLocalId

public void setLocalId(long localId)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public EventIdentifier clone()
                      throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

toString

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