public class RelationshipImpl extends Object implements Relationship
| Modifier and Type | Field and Description |
|---|---|
String |
childTablename |
String |
foreignKeyField |
String |
parentTableName |
| Constructor and Description |
|---|
RelationshipImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getChildTable() |
String |
getForeignKeyField() |
String |
getParentTable() |
boolean |
isCascadeDelete() |
void |
setCascadeDelete(boolean delete) |
void |
setChildTable(String childTable) |
void |
setForeignKeyField(String foreignKeyField) |
void |
setParentTable(String parentTableName) |
public String childTablename
public String parentTableName
public String foreignKeyField
public void setCascadeDelete(boolean delete)
setCascadeDelete in interface Relationshippublic boolean isCascadeDelete()
isCascadeDelete in interface Relationshippublic void setChildTable(String childTable)
setChildTable in interface Relationshippublic String getChildTable()
getChildTable in interface Relationshippublic String getForeignKeyField()
getForeignKeyField in interface Relationshippublic void setForeignKeyField(String foreignKeyField)
setForeignKeyField in interface Relationshippublic String getParentTable()
getParentTable in interface Relationshippublic void setParentTable(String parentTableName)
setParentTable in interface RelationshipCopyright © 2013 JBoss by Red Hat. All Rights Reserved.