public class IndexKey
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static IndexKey |
of(java.lang.Object id)
Creates IndexKey by object instance (it can be an entity or its id).
|
static IndexKey |
ofEntity(java.lang.Object entity)
Creates IndexKey by entity instance or its id, if the id is not null.
|
java.lang.String |
toString() |
public static IndexKey ofEntity(java.lang.Object entity)
public static IndexKey of(java.lang.Object id)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object