Uniqueing information consists of the entity-name, the referenced property name, and the referenced property value.
EntityKey
| Modifier and Type | Field and Description |
|---|---|
| private final EntityMode | |
| private final String | |
| private final int | |
| private final Object | |
| private final Type | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | EntityUniqueKey(final String entityName, final String uniqueKeyName, final Object semiResolvedKey, final Type keyType, final EntityMode entityMode, final SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public static EntityUniqueKey | Returns: The deserialized EntityEntryThe 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. |
| public int | generateHashCode(SessionFactoryImplementor factory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public String | |
| 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 | |
| private void |
| entityMode | back to summary |
|---|---|
| private final EntityMode entityMode | |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| key | back to summary |
|---|---|
| private final Object key | |
| keyType | back to summary |
|---|---|
| private final Type keyType | |
| uniqueKeyName | back to summary |
|---|---|
| private final String uniqueKeyName | |
| EntityUniqueKey | back to summary |
|---|---|
| public EntityUniqueKey(final String entityName, final String uniqueKeyName, final Object semiResolvedKey, final Type keyType, final EntityMode entityMode, final SessionFactoryImplementor factory)
Deprecated as a consequence of | |
| checkAbilityToSerialize | back to summary |
|---|---|
| private void checkAbilityToSerialize() | |
| deserialize | back to summary |
|---|---|
| public static EntityUniqueKey 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 |
|---|---|
| public int generateHashCode(SessionFactoryImplementor factory)
Deprecated as a consequence of | |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() | |
| getKey | back to summary |
|---|---|
| public Object getKey() | |
| getUniqueKeyName | back to summary |
|---|---|
| public String getUniqueKeyName() | |
| 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. | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream oos) throws IOException | |