|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.dewdrop.sqlml.SqlmlComponent
net.sf.dewdrop.sqlml.SchemaComponent
net.sf.dewdrop.sqlml.Constraint
net.sf.dewdrop.sqlml.ForeignKey
| Field Summary | |
protected ModificationAction |
onDelete
|
protected ModificationAction |
onUpdate
|
protected String |
table
|
| Fields inherited from class net.sf.dewdrop.sqlml.Constraint |
columnRefs, directive, inline |
| Fields inherited from class net.sf.dewdrop.sqlml.SchemaComponent |
description, name |
| Fields inherited from class net.sf.dewdrop.sqlml.SqlmlComponent |
indentLevel, logger |
| Constructor Summary | |
ForeignKey()
|
|
| Method Summary | |
boolean |
equals(Object o)
|
ModificationAction |
getOnDelete()
|
ModificationAction |
getOnUpdate()
|
String |
getTable()
|
boolean |
hasDeleteAction()
|
boolean |
hasUpdateAction()
|
void |
onWriteSql(Writer out,
Configuration cfg)
|
void |
setOnDelete(ModificationAction onDelete)
|
void |
setOnUpdate(ModificationAction onUpdate)
|
void |
setTable(String foreignTable)
|
| Methods inherited from class net.sf.dewdrop.sqlml.Constraint |
addColumnRef, getColumnRefs, getDirective, isComplex, isInline, setDirective, setInline |
| Methods inherited from class net.sf.dewdrop.sqlml.SchemaComponent |
getDescription, getName, setDescription, setName |
| Methods inherited from class net.sf.dewdrop.sqlml.SqlmlComponent |
getIndentLevel, i18n, i18n, i18n, setIndentLevel, toSql, toSql, toSql, toString, writeSql, writeSql, writeSql |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String table
protected ModificationAction onDelete
protected ModificationAction onUpdate
| Constructor Detail |
public ForeignKey()
| Method Detail |
public String getTable()
public void setTable(String foreignTable)
public ModificationAction getOnDelete()
public void setOnDelete(ModificationAction onDelete)
public ModificationAction getOnUpdate()
public void setOnUpdate(ModificationAction onUpdate)
public boolean hasUpdateAction()
public boolean hasDeleteAction()
public boolean equals(Object o)
equals in class Constraint
public void onWriteSql(Writer out,
Configuration cfg)
onWriteSql in class SqlmlComponentSqlmlComponent.writeSql(java.io.Writer)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||