Class Association<P extends PersistentProperty<P>>

java.lang.Object
org.springframework.data.mapping.Association<P>
Type Parameters:
P - PersistentPropertys the association connects.

public class Association<P extends PersistentProperty<P>> extends Object
Value object to capture Associations.
Author:
Jon Brisbin, Mark Paluch
  • Constructor Details

    • Association

      public Association(P inverse, @Nullable P obverse)
      Creates a new Association between the two given PersistentPropertys.
      Parameters:
      inverse -
      obverse -
  • Method Details

    • getInverse

      public P getInverse()
    • getObverse

      @Nullable public P getObverse()