|
||||||||||
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 | |
---|---|
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 dbEntity)
Creates new name for Obj Entity |
java.lang.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 java.lang.String createDbRelationshipName(ExportedKey key, boolean toMany)
NamingStrategy
createDbRelationshipName
in interface NamingStrategy
public java.lang.String createObjEntityName(DbEntity dbEntity)
NamingStrategy
createObjEntityName
in interface NamingStrategy
public java.lang.String createObjAttributeName(DbAttribute attr)
NamingStrategy
createObjAttributeName
in interface NamingStrategy
public java.lang.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 |