| Modifier and Type | Field and Description |
|---|---|
| private EntityMode | |
| private final SessionFactoryImplementor | |
| private final int | |
| private final Serializable | |
| private final Type | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| private | CollectionKey(String role, Serializable key, Type keyType, EntityMode entityMode, SessionFactoryImplementor factory)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv 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(Object
the reference object with which to compare. other)Overrides java. |
| public int | |
| public Serializable | |
| public String | |
| public int | |
| pack-priv 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 |
| entityMode | back to summary |
|---|---|
| private EntityMode entityMode | |
| factory | back to summary |
|---|---|
| private final SessionFactoryImplementor factory | |
| 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, EntityMode em) | |
| CollectionKey | back to summary |
|---|---|
| private CollectionKey(String role, Serializable key, Type keyType, EntityMode entityMode, SessionFactoryImplementor factory) | |
| deserialize | back to summary |
|---|---|
| pack-priv 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(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 |
|---|---|
| public 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 |
|---|---|
| pack-priv 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.
| |