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
-
-
Field Summary
Fields Modifier and Type Field Description static longNO_LOCAL_ID
-
Constructor Summary
Constructors Constructor Description EventIdentifier()EventIdentifier(SourceIdentifier sourceIdentifier, long localId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventIdentifierclone()booleanequals(java.lang.Object o)longgetLocalId()SourceIdentifiergetSourceIdentifier()inthashCode()voidsetLocalId(long localId)voidsetSourceIdentifier(SourceIdentifier sourceIdentifier)java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
clone
public EventIdentifier clone() throws java.lang.CloneNotSupportedException
- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-