Elexis API documentation
Version 2.1.6 as of January 22 2012

com.healthmarketscience.jackcess
Class Relationship

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean cascadeDeletes()
           
 boolean cascadeUpdates()
           
 int getFlags()
           
 java.util.List<Column> getFromColumns()
           
 Table getFromTable()
           
 java.lang.String getName()
           
 java.util.List<Column> getToColumns()
           
 Table getToTable()
           
 boolean hasReferentialIntegrity()
           
 boolean isLeftOuterJoin()
           
 boolean isOneToOne()
           
 boolean isRightOuterJoin()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Relationship

public Relationship(java.lang.String name,
                    Table fromTable,
                    Table toTable,
                    int flags,
                    int numCols)
Method Detail

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

Elexis API documentation
Version 2.1.6 as of January 22 2012

Copyright 2005-2011 by Gerry Weirich, Elexis