|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.map.Relationship
org.apache.cayenne.map.DbRelationship
org.apache.cayenne.map.DbRelationshipDetected
public class DbRelationshipDetected
A subclass of DbRelationship to hold some extra runtime information.
| Field Summary |
|---|
| Fields inherited from class org.apache.cayenne.map.DbRelationship |
|---|
joins, toDependentPK |
| Fields inherited from class org.apache.cayenne.map.Relationship |
|---|
name, runtime, sourceEntity, targetEntityName, toMany |
| Constructor Summary | |
|---|---|
DbRelationshipDetected(java.lang.String uniqueRelName)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFkName()
Get the name of the underlying foreign key. |
void |
setFkName(java.lang.String fkName)
Set the name of the underlying foreign key. |
| Methods inherited from class org.apache.cayenne.map.DbRelationship |
|---|
acceptVisitor, addJoin, createReverseRelationship, encodeAsXML, getJoins, getReverseRelationship, getSourceAttributes, getTargetAttributes, getTargetEntity, isFromPK, isMandatory, isToDependentPK, isToMasterPK, isToPK, isValidForDepPk, removeAllJoins, removeJoin, setJoins, setToDependentPK, setToMany, srcFkSnapshotWithTargetSnapshot, srcPkSnapshotWithTargetSnapshot, targetPkSnapshotWithSrcSnapshot |
| Methods inherited from class org.apache.cayenne.map.Relationship |
|---|
getName, getParent, getSourceEntity, getTargetEntityName, isRuntime, isToMany, setName, setParent, setRuntime, setSourceEntity, setTargetEntity, setTargetEntityName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DbRelationshipDetected(java.lang.String uniqueRelName)
| Method Detail |
|---|
public void setFkName(java.lang.String fkName)
public java.lang.String getFkName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||