public class AttrLogic
extends java.lang.Object
Constructor and Description |
---|
AttrLogic() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAttribute()
Delete the currently marked Attribute from Relation
|
void |
renameAttribute()
Rename the currently marked Attribute
|
void |
setConstraints(java.lang.String constraints)
Set the Attribute constraints (as given in class mySql)
|
void |
toggleFK()
Toggle Foreign Key on marked attribute (on/off)
|
void |
togglePK()
Toggle Primary Key on marked attribute (on/off)
|
public void deleteAttribute()
public void renameAttribute()
public void togglePK()
public void toggleFK()
public void setConstraints(java.lang.String constraints)
constraints
- Attribute constraints