public class RelationshipImpl extends Object implements Relationship
| Constructor and Description |
|---|
RelationshipImpl(String name,
Table fromTable,
Table toTable,
int flags,
int numCols) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cascadeDeletes() |
boolean |
cascadeUpdates() |
int |
getFlags() |
List<Column> |
getFromColumns() |
Table |
getFromTable() |
String |
getName() |
List<Column> |
getToColumns() |
Table |
getToTable() |
boolean |
hasReferentialIntegrity() |
boolean |
isLeftOuterJoin() |
boolean |
isOneToOne() |
boolean |
isRightOuterJoin() |
String |
toString() |
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 isLeftOuterJoin()
isLeftOuterJoin in interface Relationshippublic boolean isRightOuterJoin()
isRightOuterJoin in interface RelationshipCopyright © 2005–2016. All rights reserved.