Spring Data Commons

org.springframework.data.mapping
Class Association<P extends PersistentProperty<P>>

java.lang.Object
  extended by org.springframework.data.mapping.Association<P>

public class Association<P extends PersistentProperty<P>>
extends Object

Value object to capture Associations.

Author:
Jon Brisbin

Constructor Summary
Association(P inverse, P obverse)
          Creates a new Association between the two given PersistentPropertys.
 
Method Summary
 P getInverse()
           
 P getObverse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Association

public Association(P inverse,
                   P obverse)
Creates a new Association between the two given PersistentPropertys.

Parameters:
inverse -
obverse -
Method Detail

getInverse

public P getInverse()

getObverse

public P getObverse()

Spring Data Commons

Copyright © 2011. All Rights Reserved.