TenantId property.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | generate(SharedSessionContractImplementor
The session from which the request originates. session, Object The instance of the object owning the attribute for which we are generating a value. owner, Object The current value assigned to the property, or currentValue, EventType nullThe type of event that has triggered generation of a new value eventType)Implements org. |
| public EnumSet | Returns: EventTypeSets#INSERT_ONLYImplements org. |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| propertyName | back to summary |
|---|---|
| private final String propertyName | |
| TenantIdGeneration | back to summary |
|---|---|
| public TenantIdGeneration(TenantId annotation, Member member, GeneratorCreationContext context) | |
| generate | back to summary |
|---|---|
| public Object generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType) Implements org. Doc from org. Generate a value.
| |
| getEventTypes | back to summary |
|---|---|
| public EnumSet Implements org. Doc from org. The event types for which this generator should be called to produce a new value.
Identifier generators must return | |