| Modifier and Type | Field and Description |
|---|---|
| private final SessionFactoryImplementor | factory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private final int | |
| private final Object | |
| private final Type | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| private | CollectionKey(String role, @Nullable Object key, Type keyType, SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public static CollectionKey | Returns: The deserialized CollectionKeyThe stream from which to read the entry. ois, SessionImplementor The session being deserialized. session)Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance. |
| public boolean | equals(final @Nullable Object
the reference object with which to compare. other)Overrides java. |
| private int | |
| public Object | |
| public String | |
| public int | |
| public void | serialize(ObjectOutputStream
The stream to which we should write the serial data. oos)Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance. |
| public String |
| factory | back to summary |
|---|---|
| private final SessionFactoryImplementor factory
Deprecated as a consequence of | |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| key | back to summary |
|---|---|
| private final Object key | |
| keyType | back to summary |
|---|---|
| private final Type keyType | |
| role | back to summary |
|---|---|
| private final String role | |
| CollectionKey | back to summary |
|---|---|
| public CollectionKey(CollectionPersister persister, Object key) | |
| CollectionKey | back to summary |
|---|---|
| private CollectionKey(String role, @Nullable Object key, Type keyType, SessionFactoryImplementor factory)
Deprecated as a consequence of | |
| deserialize | back to summary |
|---|---|
| public static CollectionKey deserialize(ObjectInputStream ois, SessionImplementor session) throws IOException, ClassNotFoundException Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final @Nullable 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. | |
| generateHashCode | back to summary |
|---|---|
| private int generateHashCode() | |
| getKey | back to summary |
|---|---|
| public Object getKey() | |
| getRole | back to summary |
|---|---|
| public String getRole() | |
| 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
| |
| serialize | back to summary |
|---|---|
| public void serialize(ObjectOutputStream oos) throws IOException Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |