T
- The type of the object implementing the Id interfaceK
- The type of the object used as the key value for the object. This must extend Serializablepublic interface Id<T,K extends java.io.Serializable>
Modifier and Type | Method and Description |
---|---|
K |
getId()
The the value of the objects id
|
T |
setId(K key)
Set the value of the objects id
|