public class ObjectIdAndVersion
extends at.molindo.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,
at.molindo.scrutineer.IdAndVersion other) |
protected org.apache.commons.lang.builder.HashCodeBuilder |
appendId(org.apache.commons.lang.builder.HashCodeBuilder appender) |
String |
getId() |
Object |
getObject() |
Object |
getRawId() |
static boolean |
isIdSupported(Class<?> idClass) |
static boolean |
isIdSupported(Object id) |
static String |
toId(Object id) |
public ObjectIdAndVersion(Object id, long version)
MappedObjectIdAndVersionFactorypublic static boolean isIdSupported(Class<?> idClass)
public static boolean isIdSupported(Object id)
public String getId()
public Object getRawId()
protected org.apache.commons.lang.builder.HashCodeBuilder appendId(org.apache.commons.lang.builder.HashCodeBuilder appender)
appendId in class at.molindo.scrutineer.AbstractIdAndVersionprotected org.apache.commons.lang.builder.CompareToBuilder appendId(org.apache.commons.lang.builder.CompareToBuilder appender,
at.molindo.scrutineer.IdAndVersion other)
appendId in class at.molindo.scrutineer.AbstractIdAndVersionCopyright © 2016 Molindo GmbH. All Rights Reserved.