e733e84bdbace889b0de95b4ad987dc032ae4ce6
[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.runtime;
21
22 import org.openecomp.portalsdk.analytics.RaptorObject;
23
24 public class LookupDBInfo extends RaptorObject {
25         private String tableName = null;
26
27         private String fieldName = null;
28
29         private String lookupTable = null;
30
31         private String lookupIdField = null;
32
33         private String lookupNameField = null;
34
35         public LookupDBInfo() {
36         }
37
38         public LookupDBInfo(String tableName, String fieldName, String lookupTable,
39                         String lookupIdField, String lookupNameField) {
40                 this();
41
42                 setTableName(tableName);
43                 setFieldName(fieldName);
44                 setLookupTable(lookupTable);
45                 setLookupIdField(lookupIdField);
46                 setLookupNameField(lookupNameField);
47         } // LookupDBInfo
48
49         public String getTableName() {
50                 return tableName;
51         }
52
53         public String getFieldName() {
54                 return fieldName;
55         }
56
57         public String getLookupTable() {
58                 return lookupTable;
59         }
60
61         public String getLookupIdField() {
62                 return lookupIdField;
63         }
64
65         public String getLookupNameField() {
66                 return lookupNameField;
67         }
68
69         public void setTableName(String tableName) {
70                 this.tableName = tableName;
71         }
72
73         public void setFieldName(String fieldName) {
74                 this.fieldName = fieldName;
75         }
76
77         public void setLookupTable(String lookupTable) {
78                 this.lookupTable = lookupTable;
79         }
80
81         public void setLookupIdField(String lookupIdField) {
82                 this.lookupIdField = lookupIdField;
83         }
84
85         public void setLookupNameField(String lookupNameField) {
86                 this.lookupNameField = lookupNameField;
87         }
88
89 } // LookupDBInfo