441cd2313a28d23a7db44516e0e9bed4d8fb769f
[portal/sdk.git] /
1 /*-
2  * ================================================================================
3  * ECOMP Portal SDK
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ================================================================================
19  */
20 package org.openecomp.portalsdk.analytics.model.definition;
21
22 import org.openecomp.portalsdk.analytics.RaptorObject;
23
24 public class DBColumnInfo extends RaptorObject {
25         private String tableName = null;
26
27         private String colName = null;
28
29         private String colType = null;
30
31         private String label = null;
32
33         // public DBColumnInfo() {}
34
35         public DBColumnInfo(String tableName, String colName, String colType, String label) {
36                 super();
37
38                 setTableName(tableName);
39                 setColName(colName);
40                 setColType(colType);
41                 setLabel(label);
42         } // DBColumnInfo
43
44         public String getTableName() {
45                 return tableName;
46         }
47
48         public String getColName() {
49                 return colName;
50         }
51
52         public String getColType() {
53                 return colType;
54         }
55
56         public String getLabel() {
57                 return label;
58         }
59
60         private void setTableName(String tableName) {
61                 this.tableName = tableName;
62         }
63
64         private void setColName(String colName) {
65                 this.colName = colName;
66         }
67
68         private void setColType(String colType) {
69                 this.colType = colType;
70         }
71
72         public void setLabel(String label) {
73                 this.label = label;
74         }
75
76 } // DBColumnInfo