public class CayenneAssociationType extends AdaptrexAssociationType
idFieldDefinition| Constructor and Description |
|---|
CayenneAssociationType(org.apache.cayenne.map.ObjEntity objEntity,
org.apache.cayenne.map.ObjRelationship relationship,
Class<?> associationType,
SecureEntity secureEntity) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAssociationFrom(Object entity) |
void |
set(Object entity,
Object associatedEntity) |
void |
setById(org.apache.cayenne.ObjectContext context,
Object entity,
Object foreignId) |
getAssociationType, getIdFieldDefinition, getName, getSecureFieldpublic CayenneAssociationType(org.apache.cayenne.map.ObjEntity objEntity,
org.apache.cayenne.map.ObjRelationship relationship,
Class<?> associationType,
SecureEntity secureEntity)
public Object getAssociationFrom(Object entity) throws Exception
getAssociationFrom in class AdaptrexAssociationTypeExceptionpublic void setById(org.apache.cayenne.ObjectContext context,
Object entity,
Object foreignId)
throws Exception
ExceptionCopyright © 2013 Adaptrex, LLC. All Rights Reserved.