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.
|
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.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.