3ab58d59131243ec4af82adc1543fa5fd01e86eb
[portal/sdk.git] /
1 /*
2  * ============LICENSE_START==========================================
3  * ONAP Portal SDK
4  * ===================================================================
5  * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6  * ===================================================================
7  *
8  * Unless otherwise specified, all software contained herein is licensed
9  * under the Apache License, Version 2.0 (the "License");
10  * you may not use this software except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *             http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  * Unless otherwise specified, all documentation contained herein is licensed
22  * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23  * you may not use this documentation except in compliance with the License.
24  * You may obtain a copy of the License at
25  *
26  *             https://creativecommons.org/licenses/by/4.0/
27  *
28  * Unless required by applicable law or agreed to in writing, documentation
29  * distributed under the License is distributed on an "AS IS" BASIS,
30  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31  * See the License for the specific language governing permissions and
32  * limitations under the License.
33  *
34  * ============LICENSE_END============================================
35  *
36  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
37  */
38 package org.onap.portalsdk.analytics.model.runtime;
39
40 import org.onap.portalsdk.analytics.RaptorObject;
41
42 public class LookupDBInfo extends RaptorObject {
43         private String tableName = null;
44
45         private String fieldName = null;
46
47         private String lookupTable = null;
48
49         private String lookupIdField = null;
50
51         private String lookupNameField = null;
52
53         public LookupDBInfo() {
54         }
55
56         public LookupDBInfo(String tableName, String fieldName, String lookupTable,
57                         String lookupIdField, String lookupNameField) {
58                 this();
59
60                 setTableName(tableName);
61                 setFieldName(fieldName);
62                 setLookupTable(lookupTable);
63                 setLookupIdField(lookupIdField);
64                 setLookupNameField(lookupNameField);
65         } // LookupDBInfo
66
67         public String getTableName() {
68                 return tableName;
69         }
70
71         public String getFieldName() {
72                 return fieldName;
73         }
74
75         public String getLookupTable() {
76                 return lookupTable;
77         }
78
79         public String getLookupIdField() {
80                 return lookupIdField;
81         }
82
83         public String getLookupNameField() {
84                 return lookupNameField;
85         }
86
87         public void setTableName(String tableName) {
88                 this.tableName = tableName;
89         }
90
91         public void setFieldName(String fieldName) {
92                 this.fieldName = fieldName;
93         }
94
95         public void setLookupTable(String lookupTable) {
96                 this.lookupTable = lookupTable;
97         }
98
99         public void setLookupIdField(String lookupIdField) {
100                 this.lookupIdField = lookupIdField;
101         }
102
103         public void setLookupNameField(String lookupNameField) {
104                 this.lookupNameField = lookupNameField;
105         }
106
107 } // LookupDBInfo