Deprecated
as a consequence of IdentifierGenerator being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final CoreMessageLogger | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(Type
The id property type descriptor type, Properties param values, keyed by parameter name params, ServiceRegistry Access to service that may be needed. serviceRegistry)Overrides default org. |
| public Serializable | generate(SharedSessionContractImplementor
The session from which the request originates sessionImplementor, Object the entity or collection (idbag) for which the id is being generated object)Implements org. |
| public String | |
| public String | |
| public String |
| entityName | back to summary |
|---|---|
| private String entityName | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| propertyName | back to summary |
|---|---|
| private String propertyName | |
| ForeignGenerator | back to summary |
|---|---|
| public ForeignGenerator() | |
| configure | back to summary |
|---|---|
| public void configure(Type type, Properties params, ServiceRegistry serviceRegistry) throws MappingException Overrides default org. Doc from org. Configure this instance, given the value of parameters specified by the user as <param> elements.
This method is called just once, following instantiation, and before
| |
| generate | back to summary |
|---|---|
| public Serializable generate(SharedSessionContractImplementor sessionImplementor, Object object) Implements org. Doc from org. Generate a new identifier.
| |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() Getter for property 'entityName'.
| |
| getPropertyName | back to summary |
|---|---|
| public String getPropertyName() Getter for property 'propertyName'.
| |
| getRole | back to summary |
|---|---|
| public String getRole() Getter for property 'role'. Role is the
| |