com.healthmarketscience.jackcess
Class Relationship
java.lang.Object
com.healthmarketscience.jackcess.Relationship
public class Relationship
- extends Object
Information about a relationship between two tables in the database.
- Author:
- James Ahlborn
Relationship
public Relationship(String name,
Table fromTable,
Table toTable,
int flags,
int numCols)
getName
public String getName()
getFromTable
public Table getFromTable()
getFromColumns
public List<Column> getFromColumns()
getToTable
public Table getToTable()
getToColumns
public List<Column> getToColumns()
getFlags
public int getFlags()
isOneToOne
public boolean isOneToOne()
hasReferentialIntegrity
public boolean hasReferentialIntegrity()
cascadeUpdates
public boolean cascadeUpdates()
cascadeDeletes
public boolean cascadeDeletes()
isLeftOuterJoin
public boolean isLeftOuterJoin()
isRightOuterJoin
public boolean isRightOuterJoin()
toString
public String toString()
- Overrides:
toString in class Object
Copyright ? 2005-2008 Health Market Science. All Rights Reserved.