Class AssociationKey

  • All Implemented Interfaces:
    java.io.Serializable

    public final class AssociationKey
    extends java.lang.Object
    implements java.io.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 Summary

      Constructors 
      Constructor Description
      AssociationKey​(EntityKey ownerKey, java.lang.String propertyName)
      Constructs an AssociationKey
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AssociationKey

        public AssociationKey​(EntityKey ownerKey,
                              java.lang.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​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object