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