Class AssociationKey

  • All Implemented Interfaces:
    Serializable

    public final class AssociationKey
    extends Object
    implements Serializable
    Identifies a named association belonging to a particular entity instance. Used to record the fact that an association is null during loading.
    See Also:
    Serialized Form
    • Constructor Detail

      • AssociationKey

        public AssociationKey​(EntityKey ownerKey,
                              String propertyName)
        Constructs an AssociationKey
        Parameters:
        ownerKey - The EntityKey of the association owner
        propertyName - The name of the property on the owner which defines the association
    • Method Detail

      • equals

        public boolean equals​(@Nullable Object o)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object