|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.map.naming.BasicNamingStrategy
public class BasicNamingStrategy
BasicNamingStrategy is an naming strategy that creates names in Cayenne's old-fashioned manner, i.e. the same way Cayenne did before 3.0
Constructor Summary | |
---|---|
BasicNamingStrategy()
|
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 dbEntity)
Creates new name for Obj Entity |
String |
createObjRelationshipName(DbRelationship dbRel)
Creates new name for Obj Relationship |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicNamingStrategy()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |