com.adaptrex.core.persistence.cayenne
Class CayenneAssociationType
java.lang.Object
com.adaptrex.core.persistence.api.AdaptrexAssociationType
com.adaptrex.core.persistence.cayenne.CayenneAssociationType
public class CayenneAssociationType
- extends AdaptrexAssociationType
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CayenneAssociationType
public CayenneAssociationType(org.apache.cayenne.map.ObjEntity objEntity,
org.apache.cayenne.map.ObjRelationship relationship,
Class<?> associationType,
SecureEntity secureEntity)
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.