| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final Serializable[] | |
| private final String | |
| private transient ValueHolder |
| Access | Constructor and Description |
|---|---|
| public | NaturalIdCacheKey(final Object[]
The naturalIdValues associated with the cached data naturalIdValues, Type[] propertyTypes, int[] naturalIdPropertyIndexes, final String entityName, final SharedSessionContractImplementor The originating session session)Construct a new key for a caching natural identifier resolutions into the second level cache. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public String | |
| public Serializable[] | |
| public String | |
| public int | |
| private void | |
| private void | |
| public String |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| naturalIdValues | back to summary |
|---|---|
| private final Serializable[] naturalIdValues | |
| tenantId | back to summary |
|---|---|
| private final String tenantId | |
| toString | back to summary |
|---|---|
| private transient ValueHolder<String> toString | |
| NaturalIdCacheKey | back to summary |
|---|---|
| public NaturalIdCacheKey(final Object[] naturalIdValues, Type[] propertyTypes, int[] naturalIdPropertyIndexes, final String entityName, final SharedSessionContractImplementor session) Construct a new key for a caching natural identifier resolutions into the second level cache.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) 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. | |
| getEntityName | back to summary |
|---|---|
public String getEntityName()
| |
| getNaturalIdValues | back to summary |
|---|---|
public Serializable[] getNaturalIdValues()
| |
| getTenantId | back to summary |
|---|---|
public String getTenantId()
| |
| 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
| |
| initTransients | back to summary |
|---|---|
| private void initTransients() | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |