Move jsonRepresentation
[clamp.git] / src / main / java / org / onap / clamp / clds / model / CldsDictionary.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP CLAMP
4  * ================================================================================
5  * Copyright (C) 2018 AT&T Intellectual Property. All rights
6  *                             reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END============================================
20  * ===================================================================
21  *
22  */
23
24 package org.onap.clamp.clds.model;
25
26 import com.google.gson.annotations.Expose;
27
28 import java.util.ArrayList;
29 import java.util.List;
30
31 /**
32  * Represents a CLDS Dictionary.
33  */
34
35 public class CldsDictionary {
36
37     @Expose
38     private String dictionaryId;
39     @Expose
40     private String dictionaryName;
41
42     @Expose
43     private String createdBy;
44     @Expose
45     private String updatedBy;
46     @Expose
47     private String lastUpdatedDate;
48     @Expose
49     private List<CldsDictionaryItem> cldsDictionaryItems = new ArrayList<>();
50
51     /**
52      * Get the dictionary ID.
53      * 
54      * @return the dictionaryId
55      */
56     public String getDictionaryId() {
57         return dictionaryId;
58     }
59
60     /**
61      * Set the dictionary Id.
62      * 
63      * @param dictionaryId the dictionaryId to set
64      */
65     public void setDictionaryId(String dictionaryId) {
66         this.dictionaryId = dictionaryId;
67     }
68
69     /**
70      * Get the dictionary name.
71      * 
72      * @return the dictionaryName
73      */
74     public String getDictionaryName() {
75         return dictionaryName;
76     }
77
78     /**
79      * Set the dictionary name.
80      * 
81      * @param dictionaryName the dictionaryName to set
82      */
83     public void setDictionaryName(String dictionaryName) {
84         this.dictionaryName = dictionaryName;
85     }
86
87     /**
88      * Get the createdBy info.
89      * 
90      * @return the createdBy
91      */
92     public String getCreatedBy() {
93         return createdBy;
94     }
95
96     /**
97      * Set the createdBy info.
98      * 
99      * @param createdBy the createdBy to set
100      */
101     public void setCreatedBy(String createdBy) {
102         this.createdBy = createdBy;
103     }
104
105     /**
106      * Get the updatedBy info.
107      * 
108      * @return the updatedBy
109      */
110     public String getUpdatedBy() {
111         return updatedBy;
112     }
113
114     /**
115      * Set the updatedBy info.
116      * 
117      * @param updatedby the updatedBy to set
118      */
119     public void setUpdatedBy(String updatedby) {
120         updatedBy = updatedby;
121     }
122
123     /**
124      * Get the last updated date.
125      * 
126      * @return the lastUpdatedDate
127      */
128     public String getLastUpdatedDate() {
129         return lastUpdatedDate;
130     }
131
132     /**
133      * Set the last updated date.
134      * 
135      * @param lastUpdatedDate the lastUpdatedDate to set
136      */
137     public void setLastUpdatedDate(String lastUpdatedDate) {
138         this.lastUpdatedDate = lastUpdatedDate;
139     }
140
141     /**
142      * Get all the dictionary items.
143      * 
144      * @return the cldsDictionaryItems
145      */
146     public List<CldsDictionaryItem> getCldsDictionaryItems() {
147         return cldsDictionaryItems;
148     }
149
150     /**
151      * Set the whole dictionary items.
152      * 
153      * @param cldsDictionaryItems the cldsDictionaryItems to set
154      */
155     public void setCldsDictionaryItems(List<CldsDictionaryItem> cldsDictionaryItems) {
156         this.cldsDictionaryItems = cldsDictionaryItems;
157     }
158
159 }