|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.healthmarketscience.jackcess.impl.RelationshipImpl
public class RelationshipImpl
Information about a relationship between two tables in the database.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.healthmarketscience.jackcess.Relationship |
|---|
Relationship.JoinType |
| Field Summary | |
|---|---|
static int |
CASCADE_DELETES_FLAG
flag indicating cascading deletes (requires referential integrity) |
static int |
CASCADE_NULL_FLAG
flag indicating cascading null on delete (requires referential integrity) |
static int |
CASCADE_UPDATES_FLAG
flag indicating cascading updates (requires referential integrity) |
static int |
LEFT_OUTER_JOIN_FLAG
flag indicating left outer join |
static int |
NO_REFERENTIAL_INTEGRITY_FLAG
flag indicating no referential integrity |
static int |
ONE_TO_ONE_FLAG
flag indicating one-to-one relationship |
static int |
RIGHT_OUTER_JOIN_FLAG
flag indicating right outer join |
| Constructor Summary | |
|---|---|
RelationshipImpl(String name,
Table fromTable,
Table toTable,
int flags,
int numCols)
|
|
RelationshipImpl(String name,
Table fromTable,
Table toTable,
int flags,
List<? extends Column> fromCols,
List<? extends Column> toCols)
|
|
| Method Summary | |
|---|---|
boolean |
cascadeDeletes()
|
boolean |
cascadeNullOnDelete()
|
boolean |
cascadeUpdates()
|
int |
getFlags()
|
List<Column> |
getFromColumns()
|
Table |
getFromTable()
|
Relationship.JoinType |
getJoinType()
|
String |
getName()
|
List<Column> |
getToColumns()
|
Table |
getToTable()
|
boolean |
hasReferentialIntegrity()
|
boolean |
isLeftOuterJoin()
|
boolean |
isOneToOne()
|
boolean |
isRightOuterJoin()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ONE_TO_ONE_FLAG
public static final int NO_REFERENTIAL_INTEGRITY_FLAG
public static final int CASCADE_UPDATES_FLAG
public static final int CASCADE_DELETES_FLAG
public static final int CASCADE_NULL_FLAG
public static final int LEFT_OUTER_JOIN_FLAG
public static final int RIGHT_OUTER_JOIN_FLAG
| Constructor Detail |
|---|
public RelationshipImpl(String name,
Table fromTable,
Table toTable,
int flags,
int numCols)
public RelationshipImpl(String name,
Table fromTable,
Table toTable,
int flags,
List<? extends Column> fromCols,
List<? extends Column> toCols)
| Method Detail |
|---|
public String getName()
getName in interface Relationshippublic Table getFromTable()
getFromTable in interface Relationshippublic List<Column> getFromColumns()
getFromColumns in interface Relationshippublic Table getToTable()
getToTable in interface Relationshippublic List<Column> getToColumns()
getToColumns in interface Relationshippublic int getFlags()
public boolean isOneToOne()
isOneToOne in interface Relationshippublic boolean hasReferentialIntegrity()
hasReferentialIntegrity in interface Relationshippublic boolean cascadeUpdates()
cascadeUpdates in interface Relationshippublic boolean cascadeDeletes()
cascadeDeletes in interface Relationshippublic boolean cascadeNullOnDelete()
cascadeNullOnDelete in interface Relationshippublic boolean isLeftOuterJoin()
isLeftOuterJoin in interface Relationshippublic boolean isRightOuterJoin()
isRightOuterJoin in interface Relationshippublic Relationship.JoinType getJoinType()
getJoinType in interface Relationshippublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||