public class LongIdAndVersion extends AbstractIdAndVersion
| Modifier and Type | Field and Description |
|---|---|
static IdAndVersionFactory |
FACTORY |
| Constructor and Description |
|---|
LongIdAndVersion(long id,
long version) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.lang.builder.CompareToBuilder |
appendId(org.apache.commons.lang.builder.CompareToBuilder appender,
IdAndVersion other) |
protected org.apache.commons.lang.builder.HashCodeBuilder |
appendId(org.apache.commons.lang.builder.HashCodeBuilder appender) |
String |
getId() |
long |
getLongId() |
protected void |
writeId(ObjectOutputStream objectOutputStream) |
compareTo, equals, getVersion, hashCode, toString, writeToStreampublic static final IdAndVersionFactory FACTORY
public String getId()
public long getLongId()
protected org.apache.commons.lang.builder.HashCodeBuilder appendId(org.apache.commons.lang.builder.HashCodeBuilder appender)
appendId in class AbstractIdAndVersionprotected org.apache.commons.lang.builder.CompareToBuilder appendId(org.apache.commons.lang.builder.CompareToBuilder appender,
IdAndVersion other)
appendId in class AbstractIdAndVersionprotected void writeId(ObjectOutputStream objectOutputStream) throws IOException
writeId in class AbstractIdAndVersionIOExceptionCopyright © 2011-2015 Molindo GmbH. All Rights Reserved.