com.adaptrex.core.persistence.cayenne
Class CayenneEntityType

java.lang.Object
  extended by com.adaptrex.core.persistence.api.AdaptrexEntityType
      extended by com.adaptrex.core.persistence.cayenne.CayenneEntityType

public class CayenneEntityType
extends AdaptrexEntityType


Field Summary
 
Fields inherited from class com.adaptrex.core.persistence.api.AdaptrexEntityType
associationIdFieldMap, associations, COLLECTION_IDS_NAME, collectionIdsFieldMap, collections, ENTITY_ID_NAME, fields, secureEntity
 
Constructor Summary
CayenneEntityType(org.apache.cayenne.map.ObjEntity objEntity, SecurityModel securityModel)
           
 
Method Summary
 CayenneAssociationType getCayenneAssociation(String key)
           
 CayenneCollectionType getCayenneCollection(String key)
           
 CayenneFieldType getCayenneField(String key)
           
 Object getEntityIdFrom(Object entity)
           
 
Methods inherited from class com.adaptrex.core.persistence.api.AdaptrexEntityType
addField, getAssociation, getAssociationByIdField, getAssociationIdFieldMap, getAssociations, getCollection, getCollectionByIdsField, getCollectionIdsFieldMap, getCollections, getField, getFields, getJavaClass, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CayenneEntityType

public CayenneEntityType(org.apache.cayenne.map.ObjEntity objEntity,
                         SecurityModel securityModel)
                  throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

getEntityIdFrom

public Object getEntityIdFrom(Object entity)
Specified by:
getEntityIdFrom in class AdaptrexEntityType

getCayenneField

public CayenneFieldType getCayenneField(String key)

getCayenneAssociation

public CayenneAssociationType getCayenneAssociation(String key)

getCayenneCollection

public CayenneCollectionType getCayenneCollection(String key)


Copyright © 2012 Adaptrex, LLC. All Rights Reserved.