org.springframework.data.mapping
Class Association<P extends PersistentProperty<P>>
java.lang.Object
org.springframework.data.mapping.Association<P>
public class Association<P extends PersistentProperty<P>>
- extends Object
Value object to capture Association
s.
- Author:
- Jon Brisbin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Association
public Association(P inverse,
P obverse)
- Creates a new
Association
between the two given PersistentProperty
s.
- Parameters:
inverse
- obverse
-
getInverse
public P getInverse()
getObverse
public P getObverse()
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.