Package org.springframework.data.mapping
Class Association<P extends PersistentProperty<P>>
java.lang.Object
org.springframework.data.mapping.Association<P>
- Type Parameters:
P-PersistentPropertys the association connects.
Value object to capture
Associations.- Author:
- Jon Brisbin, Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionAssociation(P inverse, @Nullable P obverse) Creates a newAssociationbetween the two givenPersistentPropertys. -
Method Summary
-
Constructor Details
-
Association
Creates a newAssociationbetween the two givenPersistentPropertys.- Parameters:
inverse- the inversePersistentProperty.obverse- the obversePersistentProperty. Can be null if absent.
-
-
Method Details
-
getInverse
-
getObverse
-