Spring Data Core

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 Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.