public class BasicNamingStrategy extends Object implements NamingStrategy
Constructor and Description |
---|
BasicNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
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 dbEntity)
Creates new name for Obj Entity
|
String |
createObjRelationshipName(DbRelationship dbRel)
Creates new name for Obj Relationship
|
public String createDbRelationshipName(ExportedKey key, boolean toMany)
NamingStrategy
createDbRelationshipName
in interface NamingStrategy
public String createObjEntityName(DbEntity dbEntity)
NamingStrategy
createObjEntityName
in interface NamingStrategy
public String createObjAttributeName(DbAttribute attr)
NamingStrategy
createObjAttributeName
in interface NamingStrategy
public String createObjRelationshipName(DbRelationship dbRel)
NamingStrategy
createObjRelationshipName
in interface NamingStrategy
Copyright © 2001–2018 Apache Cayenne. All rights reserved.