com.healthmarketscience.jackcess
Class Relationship
java.lang.Object
com.healthmarketscience.jackcess.Relationship
public class Relationship
- extends java.lang.Object
Information about a relationship between two tables in the database.
- Author:
- James Ahlborn
Constructor Summary |
Relationship(java.lang.String name,
Table fromTable,
Table toTable,
int flags,
int numCols)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Relationship
public Relationship(java.lang.String name,
Table fromTable,
Table toTable,
int flags,
int numCols)
getName
public java.lang.String getName()
getFromTable
public Table getFromTable()
getFromColumns
public java.util.List<Column> getFromColumns()
getToTable
public Table getToTable()
getToColumns
public java.util.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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2005-2011 by Gerry Weirich, Elexis