| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- package cn.com.goldenwater.dcproj.utils.export;
- import java.io.Serializable;
- public class FieldStructure
- implements Serializable {
- private String tableID;
- private String fieldID;
- private String name;
- private String type;
- private int length;
- private String description;
- private String decimalDigits;
- private String dicID;
- private String formula;
- private boolean flag;
- private boolean showable;
- private boolean useable;
- private String defaultValue;
- private boolean saveRequired;
- private boolean primaryKey;
- public FieldStructure(String tableID, String fieldID, String type, boolean saveRequired, boolean isPk) {
- this.tableID = "";
- this.fieldID = "";
- name = "";
- this.type = "";
- description = "";
- decimalDigits = "";
- dicID = "";
- formula = "";
- defaultValue = "";
- this.tableID = tableID;
- this.fieldID = fieldID;
- this.type = type;
- this.saveRequired = saveRequired;
- primaryKey = isPk;
- }
- public FieldStructure(String tableID, String fieldID, String dicStr, boolean isPk) {
- this.tableID = "";
- this.fieldID = "";
- name = "";
- type = "";
- description = "";
- decimalDigits = "";
- dicID = "";
- formula = "";
- defaultValue = "";
- this.tableID = tableID;
- this.fieldID = fieldID;
- dicID = dicStr;
- primaryKey = isPk;
- }
- public String getDecimalDigits() {
- return decimalDigits;
- }
- public String getDefaultValue() {
- return defaultValue;
- }
- public String getDescription() {
- return description;
- }
- public String getDicID() {
- return dicID;
- }
- public String getFieldID() {
- return fieldID;
- }
- public boolean isFlag() {
- return flag;
- }
- public String getFormula() {
- return formula;
- }
- public int getLength() {
- return length;
- }
- public String getName() {
- return name;
- }
- public boolean isPrimaryKey() {
- return primaryKey;
- }
- public boolean isSaveRequired() {
- return saveRequired;
- }
- public boolean isShowable() {
- return showable;
- }
- public String getTableID() {
- return tableID;
- }
- public String getType() {
- return type;
- }
- public boolean isUseable() {
- return useable;
- }
- public void setDecimalDigits(String string) {
- decimalDigits = string;
- }
- public void setDefaultValue(String string) {
- defaultValue = string;
- }
- public void setDescription(String string) {
- description = string;
- }
- public void setDicID(String string) {
- dicID = string;
- }
- public void setFieldID(String string) {
- fieldID = string;
- }
- public void setFlag(boolean b) {
- flag = b;
- }
- public void setFormula(String string) {
- formula = string;
- }
- public void setLength(int i) {
- length = i;
- }
- public void setName(String string) {
- name = string;
- }
- public void setPrimaryKey(boolean b) {
- primaryKey = b;
- }
- public void setSaveRequired(boolean b) {
- saveRequired = b;
- }
- public void setShowable(boolean b) {
- showable = b;
- }
- public void setTableID(String string) {
- tableID = string;
- }
- public void setType(String string) {
- type = string;
- }
- public void setUseable(boolean b) {
- useable = b;
- }
- public FieldStructure() {
- tableID = "";
- fieldID = "";
- name = "";
- type = "";
- description = "";
- decimalDigits = "";
- dicID = "";
- formula = "";
- defaultValue = "";
- }
- }
|