#374 - Table remarks -> comment

This commit is contained in:
Robin Bygrave
2015-08-07 13:25:22 +12:00
parent 48f0da9343
commit f6c3279e86
3 changed files with 32 additions and 6 deletions
@@ -72,6 +72,8 @@ public class CreateTable {
protected String tablespace;
@XmlAttribute(name = "indexTablespace")
protected String indexTablespace;
@XmlAttribute(name = "comment")
protected String comment;
/**
* Gets the value of the column property.
@@ -352,4 +354,28 @@ public class CreateTable {
this.indexTablespace = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
}
@@ -36,7 +36,7 @@ public class MTable {
private final String name;
private String remarks;
private String comment;
private String tablespace;
@@ -65,7 +65,7 @@ public class MTable {
*/
public MTable(CreateTable createTable) {
this.name = createTable.getName();
this.remarks = createTable.getRemarks();
this.comment = createTable.getComment();
this.tablespace = createTable.getTablespace();
this.indexTablespace = createTable.getIndexTablespace();
this.withHistory = createTable.isWithHistory();
@@ -90,7 +90,7 @@ public class MTable {
CreateTable createTable = new CreateTable();
createTable.setName(name);
createTable.setRemarks(remarks);
createTable.setComment(comment);
createTable.setTablespace(tablespace);
createTable.setIndexTablespace(indexTablespace);
createTable.setWithHistory(withHistory);
@@ -140,8 +140,8 @@ public class MTable {
return name;
}
public String getRemarks() {
return remarks;
public String getComment() {
return comment;
}
public String getTablespace() {