| Modifier and Type | Field and Description |
|---|---|
| private final SessionFactoryImplementor | factory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private final int | |
| private final Serializable | |
| private final Type | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CollectionKey(CollectionPersister persister, Serializable key, EntityMode em)
Deprecated
Use
The EntityMode parameter is now ignored.
CollectionKey(CollectionPersister, Serializable)
|
| private | CollectionKey(String role, Serializable 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)
Deprecated
as a consequence of
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
SessionImplementor being deprecated.
|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| private int | |
| public Serializable | |
| 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 Serializable 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, Serializable key) | |
| CollectionKey | back to summary |
|---|---|
| public CollectionKey(CollectionPersister persister, Serializable key, EntityMode em)
Deprecated The EntityMode parameter is now ignored. Use the other constructor.
| |
| CollectionKey | back to summary |
|---|---|
| private CollectionKey(String role, Serializable 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
Deprecated as a consequence of Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.
| |
| 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. | |
| generateHashCode | back to summary |
|---|---|
| private int generateHashCode() | |
| getKey | back to summary |
|---|---|
| public Serializable 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. | |