| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| pack-priv final Serializable |
| Access | Constructor and Description |
|---|---|
| public | BasicCacheKeyImplementation(final Object originalId, final Serializable
this must be the "disassembled" form of an ID disassembledKey, final Type type, final String entityOrRoleName)Being an internal contract the arguments are not being checked. |
| public | BasicCacheKeyImplementation(final Serializable
this must be the "disassembled" form of an ID id, final String entityOrRoleName, final int hashCode)Being an internal contract the arguments are not being checked. |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public boolean | equals(final Object
the reference object with which to compare. other)Overrides java. |
| public String | |
| 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 |
|---|---|
| pack-priv final Serializable id | |
| BasicCacheKeyImplementation | back to summary |
|---|---|
| public BasicCacheKeyImplementation(final Object originalId, final Serializable disassembledKey, final Type type, final String entityOrRoleName) Being an internal contract the arguments are not being checked.
| |
| BasicCacheKeyImplementation | back to summary |
|---|---|
| public BasicCacheKeyImplementation(final Serializable id, final String entityOrRoleName, final int hashCode) Being an internal contract the arguments are not being checked.
| |
| calculateHashCode | back to summary |
|---|---|
| private static int calculateHashCode(Object disassembledKey, Type type) | |
| equals | back to summary |
|---|---|
| public boolean equals(final 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. | |
| getEntityOrRoleName | back to summary |
|---|---|
public String getEntityOrRoleName()
| |
| 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. | |