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
`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

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-2010 Apache Cayenne. All Rights Reserved.