|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.db.DBObject
org.apache.empire.db.DBRelation
public class DBRelation
This class creates a DBReferene object for a foreing key relation.
Nested Class Summary | |
---|---|
static class |
DBRelation.DBReference
|
Constructor Summary | |
---|---|
DBRelation(DBDatabase db,
String name,
DBRelation.DBReference[] references)
Creates a DBRelation object for a foreing key relation. |
Method Summary | |
---|---|
DBDatabase |
getDatabase()
Returns the database object to which this object belongs to. |
String |
getFullName()
Returns the full qualified table name. |
String |
getName()
Returns the name. |
DBRelation.DBReference[] |
getReferences()
Returns the references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBRelation(DBDatabase db, String name, DBRelation.DBReference[] references)
db
- the database objectname
- the namereferences
- the references for this relationMethod Detail |
---|
public String getName()
public String getFullName()
public DBRelation.DBReference[] getReferences()
public DBDatabase getDatabase()
DBObject
getDatabase
in class DBObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |