de.huxhorn.lilith.data.eventsource
Class EventIdentifier
java.lang.Object
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
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NO_LOCAL_ID
public static final long NO_LOCAL_ID
- See Also:
- Constant Field Values
EventIdentifier
public EventIdentifier()
EventIdentifier
public EventIdentifier(SourceIdentifier sourceIdentifier,
long localId)
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