public class ObjectIdAndVersion
extends com.aconex.scrutineer.AbstractIdAndVersion
| Constructor and Description |
|---|
ObjectIdAndVersion(Object id,
long version)
used for id and version coming from current index
|
ObjectIdAndVersion(Object id,
long version,
Object object) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.lang.builder.CompareToBuilder |
appendId(org.apache.commons.lang.builder.CompareToBuilder appender,
com.aconex.scrutineer.IdAndVersion other) |
protected org.apache.commons.lang.builder.HashCodeBuilder |
appendId(org.apache.commons.lang.builder.HashCodeBuilder appender) |
String |
getId() |
Object |
getObject() |
static boolean |
isIdSupported(Class<?> idClass) |
static boolean |
isIdSupported(Object id) |
protected void |
writeId(ObjectOutputStream objectOutputStream) |
public ObjectIdAndVersion(Object id, long version)
MappedObjectIdAndVersionFactorypublic static boolean isIdSupported(Class<?> idClass)
public static boolean isIdSupported(Object id)
public String getId()
protected org.apache.commons.lang.builder.HashCodeBuilder appendId(org.apache.commons.lang.builder.HashCodeBuilder appender)
appendId in class com.aconex.scrutineer.AbstractIdAndVersionprotected org.apache.commons.lang.builder.CompareToBuilder appendId(org.apache.commons.lang.builder.CompareToBuilder appender,
com.aconex.scrutineer.IdAndVersion other)
appendId in class com.aconex.scrutineer.AbstractIdAndVersionprotected void writeId(ObjectOutputStream objectOutputStream) throws IOException
writeId in class com.aconex.scrutineer.AbstractIdAndVersionIOExceptionCopyright © 2013 Molindo GmbH. All Rights Reserved.