| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectIdGenerator | forScope(Class<?> scope)
Implements abstract com. Factory method to create a blueprint instance for specified scope. |
| public Object | generateId(Object forPojo)
Implements abstract com. Method used for generating a new Object Identifier to serialize for given POJO. |
| public ObjectIdGenerator. | key(Object key)
Implements abstract com. Method for constructing key to use for ObjectId-to-POJO maps. |
| public ObjectIdGenerator | newForSerialization(Object context)
Implements abstract com. Factory method called to create a new instance to use for serialization: needed since generators may have state (next id to produce). |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| PropertyBasedObjectIdGenerator | back to summary |
|---|---|
| public PropertyBasedObjectIdGenerator(Class<?> scope) | |
| forScope | back to summary |
|---|---|
| public ObjectIdGenerator Implements abstract com. Doc from com. Factory method to create a blueprint instance for specified scope. Generators that do not use scope may return 'this'.
| |
| generateId | back to summary |
|---|---|
| public Object generateId(Object forPojo) Implements abstract com. Doc from com. Method used for generating a new Object Identifier to serialize for given POJO.
| |
| key | back to summary |
|---|---|
| public ObjectIdGenerator. Implements abstract com. Doc from com. Method for constructing key to use for ObjectId-to-POJO maps.
| |
| newForSerialization | back to summary |
|---|---|
| public ObjectIdGenerator Implements abstract com. Doc from com. Factory method called to create a new instance to use for serialization: needed since generators may have state (next id to produce).
Note that actual type of 'context' is
| |