Fixing MySQL query parsing bug for IoTRelation; adjusting MySQL queries for new inter...
[iot2.git] / iotjava / iotinstaller / TableProperty.java
1 package iotinstaller;
2
3 /** A class that construct table properties (field, data type, and length)
4  *
5  * @author      Rahmadi Trimananda <rahmadi.trimananda @ uci.edu>
6  * @version     1.0
7  * @since       2015-12-01
8  */
9
10 public class TableProperty {
11
12         /**
13          * TableProperty properties
14          */
15         private String strField;
16         private String strType;
17         private String strLength;
18
19         public TableProperty() {
20                 strField = "";
21                 strType = "";
22                 strLength = "";
23         }
24
25         public void setField(String str) {
26                 strField = str;
27         }
28
29         public void setType(String str) {
30                 strType = str;
31         }
32
33         public void setLength(String str) {
34                 strLength = str;
35         }
36
37         public String getField() {
38                 return strField;
39         }
40
41         public String getType() {
42                 return strType;
43         }
44
45         public String getLength() {
46                 return strLength;
47         }
48 }