2 * Copyright © 2017-2018 AT&T Intellectual Property.
\r
3 * Modifications Copyright © 2018 IBM.
\r
5 * Licensed under the Apache License, Version 2.0 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
18 package org.onap.ccsdk.features.model.domain;
\r
20 import java.io.Serializable;
\r
21 import java.util.Date;
\r
23 public class ResourceDictionary implements Serializable {
\r
24 private static final long serialVersionUID = 1L;
\r
27 private String name;
\r
28 private String resourcePath;
\r
29 private String resourceType;
\r
30 private String dataType;
\r
31 private String entrySchema;
\r
32 private String validValues;
\r
33 private String sampleValue;
\r
34 private String definition;
\r
35 private String description;
\r
36 private String tags;
\r
37 private Date creationDate;
\r
38 private String updatedBy;
\r
41 public String toString() {
\r
42 StringBuilder buffer = new StringBuilder("[");
\r
43 buffer.append("id = " + id);
\r
44 buffer.append(", name = " + name);
\r
45 buffer.append(", resourcePath = " + resourcePath);
\r
46 buffer.append(", resourceType = " + resourceType);
\r
47 buffer.append(", dataType = " + dataType);
\r
48 buffer.append(", entrySchema = " + entrySchema);
\r
49 buffer.append(", validValues = " + validValues);
\r
50 buffer.append(", definition =" + definition);
\r
51 buffer.append(", description = " + description);
\r
52 buffer.append(", tags = " + tags);
\r
53 buffer.append(", creationDate = " + creationDate);
\r
55 return buffer.toString();
\r
58 public Long getId() {
\r
62 public void setId(Long id) {
\r
66 public String getName() {
\r
70 public void setName(String name) {
\r
74 public String getResourcePath() {
\r
75 return resourcePath;
\r
78 public void setResourcePath(String resourcePath) {
\r
79 this.resourcePath = resourcePath;
\r
82 public String getResourceType() {
\r
83 return resourceType;
\r
86 public void setResourceType(String resourceType) {
\r
87 this.resourceType = resourceType;
\r
90 public String getDataType() {
\r
94 public void setDataType(String dataType) {
\r
95 this.dataType = dataType;
\r
98 public String getEntrySchema() {
\r
102 public void setEntrySchema(String entrySchema) {
\r
103 this.entrySchema = entrySchema;
\r
106 public String getValidValues() {
\r
107 return validValues;
\r
110 public void setValidValues(String validValues) {
\r
111 this.validValues = validValues;
\r
114 public String getSampleValue() {
\r
115 return sampleValue;
\r
118 public void setSampleValue(String sampleValue) {
\r
119 this.sampleValue = sampleValue;
\r
122 public String getDefinition() {
\r
126 public void setDefinition(String definition) {
\r
127 this.definition = definition;
\r
130 public String getDescription() {
\r
131 return description;
\r
134 public void setDescription(String description) {
\r
135 this.description = description;
\r
138 public String getTags() {
\r
142 public void setTags(String tags) {
\r
146 public Date getCreationDate() {
\r
147 return creationDate;
\r
150 public void setCreationDate(Date creationDate) {
\r
151 this.creationDate = creationDate;
\r
154 public String getUpdatedBy() {
\r
158 public void setUpdatedBy(String updatedBy) {
\r
159 this.updatedBy = updatedBy;
\r