|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.access.reveng.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 NamingStrategypublic String createObjEntityName(DbEntity dbEntity)
NamingStrategy
createObjEntityName in interface NamingStrategypublic String createObjAttributeName(DbAttribute attr)
NamingStrategy
createObjAttributeName in interface NamingStrategypublic 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 | |||||||||