T - The type of the object to be indexed.@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface AuthorIdIndex<T>
| Modifier and Type | Method and Description |
|---|---|
long |
getId(T object)
Get the id of the given object or a fresh one if none is assigned already.
|
java.lang.Long |
getIdIfExists(T object)
Get the id of the given object, or
null if the object was not assigned an ID. |
T |
getObjectById(long id)
Returns the object with a specified id or null if none exists.
|
T getObjectById(long id)
id - the id.long getId(T object)
object - The object.java.lang.Long getIdIfExists(T object)
null if the object was not assigned an ID.object - The object.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.