2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2018 AT&T Intellectual Property. All rights
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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 * ===================================================================
24 package org.onap.clamp.clds.model;
26 import com.google.gson.annotations.Expose;
28 import java.util.ArrayList;
29 import java.util.List;
32 * Represents a CLDS Dictionary.
35 public class CldsDictionary {
38 private String dictionaryId;
40 private String dictionaryName;
43 private String createdBy;
45 private String updatedBy;
47 private String lastUpdatedDate;
49 private List<CldsDictionaryItem> cldsDictionaryItems = new ArrayList<>();
52 * Get the dictionary ID.
54 * @return the dictionaryId
56 public String getDictionaryId() {
61 * Set the dictionary Id.
63 * @param dictionaryId the dictionaryId to set
65 public void setDictionaryId(String dictionaryId) {
66 this.dictionaryId = dictionaryId;
70 * Get the dictionary name.
72 * @return the dictionaryName
74 public String getDictionaryName() {
75 return dictionaryName;
79 * Set the dictionary name.
81 * @param dictionaryName the dictionaryName to set
83 public void setDictionaryName(String dictionaryName) {
84 this.dictionaryName = dictionaryName;
88 * Get the createdBy info.
90 * @return the createdBy
92 public String getCreatedBy() {
97 * Set the createdBy info.
99 * @param createdBy the createdBy to set
101 public void setCreatedBy(String createdBy) {
102 this.createdBy = createdBy;
106 * Get the updatedBy info.
108 * @return the updatedBy
110 public String getUpdatedBy() {
115 * Set the updatedBy info.
117 * @param updatedby the updatedBy to set
119 public void setUpdatedBy(String updatedby) {
120 updatedBy = updatedby;
124 * Get the last updated date.
126 * @return the lastUpdatedDate
128 public String getLastUpdatedDate() {
129 return lastUpdatedDate;
133 * Set the last updated date.
135 * @param lastUpdatedDate the lastUpdatedDate to set
137 public void setLastUpdatedDate(String lastUpdatedDate) {
138 this.lastUpdatedDate = lastUpdatedDate;
142 * Get all the dictionary items.
144 * @return the cldsDictionaryItems
146 public List<CldsDictionaryItem> getCldsDictionaryItems() {
147 return cldsDictionaryItems;
151 * Set the whole dictionary items.
153 * @param cldsDictionaryItems the cldsDictionaryItems to set
155 public void setCldsDictionaryItems(List<CldsDictionaryItem> cldsDictionaryItems) {
156 this.cldsDictionaryItems = cldsDictionaryItems;