com.adaptrex.core.persistence.cayenne
Class CayenneAssociationType

java.lang.Object
  extended by com.adaptrex.core.persistence.api.AdaptrexAssociationType
      extended by com.adaptrex.core.persistence.cayenne.CayenneAssociationType

public class CayenneAssociationType
extends AdaptrexAssociationType


Field Summary
 
Fields inherited from class com.adaptrex.core.persistence.api.AdaptrexAssociationType
idFieldDefinition
 
Constructor Summary
CayenneAssociationType(org.apache.cayenne.map.ObjEntity objEntity, org.apache.cayenne.map.ObjRelationship relationship, Class<?> associationType, SecureEntity secureEntity)
           
 
Method Summary
 Object getAssociationFrom(Object entity)
           
 void set(Object entity, Object associatedEntity)
           
 void setById(org.apache.cayenne.ObjectContext context, Object entity, Object foreignId)
           
 
Methods inherited from class com.adaptrex.core.persistence.api.AdaptrexAssociationType
getAssociationType, getIdFieldDefinition, getName, getSecureField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CayenneAssociationType

public CayenneAssociationType(org.apache.cayenne.map.ObjEntity objEntity,
                              org.apache.cayenne.map.ObjRelationship relationship,
                              Class<?> associationType,
                              SecureEntity secureEntity)
Method Detail

getAssociationFrom

public Object getAssociationFrom(Object entity)
                          throws Exception
Specified by:
getAssociationFrom in class AdaptrexAssociationType
Throws:
Exception

setById

public void setById(org.apache.cayenne.ObjectContext context,
                    Object entity,
                    Object foreignId)
             throws Exception
Throws:
Exception

set

public void set(Object entity,
                Object associatedEntity)
         throws Exception
Throws:
Exception


Copyright © 2012 Adaptrex, LLC. All Rights Reserved.