| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final Object | |
| private final String | |
| private final Type |
| Access | Constructor and Description |
|---|---|
| pack-priv | CacheKeyImplementation(final Object
The identifier associated with the cached data id, final Type The Hibernate type mapping type, final String The entity or collection-role name. entityOrRoleName, final String The tenant identifier associated with this data. tenantId, final SessionFactoryImplementor The session factory for which we are caching factory)
Deprecated
as a consequence of
Construct a new key for a collection or entity instance.
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private int | calculateHashCode(Type type, SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public Object | |
| public int | |
| public String |
| entityOrRoleName | back to summary |
|---|---|
| private final String entityOrRoleName | |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| id | back to summary |
|---|---|
| private final Object id | |
| tenantId | back to summary |
|---|---|
| private final String tenantId | |
| type | back to summary |
|---|---|
| private final Type type | |
| CacheKeyImplementation | back to summary |
|---|---|
| pack-priv CacheKeyImplementation(final Object id, final Type type, final String entityOrRoleName, final String tenantId, final SessionFactoryImplementor factory)
Deprecated as a consequence of Construct a new key for a collection or entity instance. Note that an entity name should always be the root entity name, not a subclass entity name.
| |
| calculateHashCode | back to summary |
|---|---|
| private int calculateHashCode(Type type, SessionFactoryImplementor factory)
Deprecated as a consequence of | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getId | back to summary |
|---|---|
| public Object getId() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |