org.apache.cayenne.map.naming
Interface NamingStrategy

All Known Implementing Classes:
BasicNamingStrategy

public interface NamingStrategy

NamingStrategy is a strategy for creating names for entities, attributes, relationships during reverse engineering.

Since:
3.0

Method Summary
 String createDbRelationshipName(ExportedKey key, boolean toMany)
          Creates new name for Db Relationship
 String createObjAttributeName(DbAttribute attr)
          Creates new name for Obj Attribute
 String createObjEntityName(DbEntity entity)
          Creates new name for Obj Entity
 String createObjRelationshipName(DbRelationship dbRel)
          Creates new name for Obj Relationship
 

Method Detail

createObjEntityName

String createObjEntityName(DbEntity entity)
Creates new name for Obj Entity


createObjAttributeName

String createObjAttributeName(DbAttribute attr)
Creates new name for Obj Attribute


createDbRelationshipName

String createDbRelationshipName(ExportedKey key,
                                boolean toMany)
Creates new name for Db Relationship


createObjRelationshipName

String createObjRelationshipName(DbRelationship dbRel)
Creates new name for Obj Relationship



Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.