Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`java.lang.String` | `createDbRelationshipName(ExportedKey key, boolean toMany)` Creates new name for Db Relationship
`java.lang.String` | `createObjAttributeName(DbAttribute attr)` Creates new name for Obj Attribute
`java.lang.String` | `createObjEntityName(DbEntity entity)` Creates new name for Obj Entity
`java.lang.String` | `createObjRelationshipName(DbRelationship dbRel)` Creates new name for Obj Relationship

Method Detail

### createObjEntityName

    java.lang.String createObjEntityName(DbEntity entity)

  Creates new name for Obj Entity

### createObjAttributeName

    java.lang.String createObjAttributeName(DbAttribute attr)

  Creates new name for Obj Attribute

### createDbRelationshipName

    java.lang.String createDbRelationshipName(ExportedKey key,
                                              boolean toMany)

  Creates new name for Db Relationship

### createObjRelationshipName

    java.lang.String createObjRelationshipName(DbRelationship dbRel)

  Creates new name for Obj Relationship

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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