Controller Blueprints Nitrogen to Oxygen Migration
[ccsdk/features.git] / blueprints-processor / plugin / model-provider / src / main / java / org / onap / ccsdk / features / model / domain / ResourceDictionary.java
1 /*\r
2  * Copyright © 2017-2018 AT&T Intellectual Property.\r
3  * Modifications Copyright © 2018 IBM.\r
4  * \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
8  * \r
9  * http://www.apache.org/licenses/LICENSE-2.0\r
10  * \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
16  */\r
17 \r
18 package org.onap.ccsdk.features.model.domain;\r
19 \r
20 import java.io.Serializable;\r
21 import java.util.Date;\r
22 \r
23 public class ResourceDictionary implements Serializable {\r
24     private static final long serialVersionUID = 1L;\r
25 \r
26     private Long id;\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
39 \r
40     @Override\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
54         buffer.append("]");\r
55         return buffer.toString();\r
56     }\r
57 \r
58     public Long getId() {\r
59         return id;\r
60     }\r
61 \r
62     public void setId(Long id) {\r
63         this.id = id;\r
64     }\r
65 \r
66     public String getName() {\r
67         return name;\r
68     }\r
69 \r
70     public void setName(String name) {\r
71         this.name = name;\r
72     }\r
73 \r
74     public String getResourcePath() {\r
75         return resourcePath;\r
76     }\r
77 \r
78     public void setResourcePath(String resourcePath) {\r
79         this.resourcePath = resourcePath;\r
80     }\r
81 \r
82     public String getResourceType() {\r
83         return resourceType;\r
84     }\r
85 \r
86     public void setResourceType(String resourceType) {\r
87         this.resourceType = resourceType;\r
88     }\r
89 \r
90     public String getDataType() {\r
91         return dataType;\r
92     }\r
93 \r
94     public void setDataType(String dataType) {\r
95         this.dataType = dataType;\r
96     }\r
97 \r
98     public String getEntrySchema() {\r
99         return entrySchema;\r
100     }\r
101 \r
102     public void setEntrySchema(String entrySchema) {\r
103         this.entrySchema = entrySchema;\r
104     }\r
105 \r
106     public String getValidValues() {\r
107         return validValues;\r
108     }\r
109 \r
110     public void setValidValues(String validValues) {\r
111         this.validValues = validValues;\r
112     }\r
113 \r
114     public String getSampleValue() {\r
115         return sampleValue;\r
116     }\r
117 \r
118     public void setSampleValue(String sampleValue) {\r
119         this.sampleValue = sampleValue;\r
120     }\r
121 \r
122     public String getDefinition() {\r
123         return definition;\r
124     }\r
125 \r
126     public void setDefinition(String definition) {\r
127         this.definition = definition;\r
128     }\r
129 \r
130     public String getDescription() {\r
131         return description;\r
132     }\r
133 \r
134     public void setDescription(String description) {\r
135         this.description = description;\r
136     }\r
137 \r
138     public String getTags() {\r
139         return tags;\r
140     }\r
141 \r
142     public void setTags(String tags) {\r
143         this.tags = tags;\r
144     }\r
145 \r
146     public Date getCreationDate() {\r
147         return creationDate;\r
148     }\r
149 \r
150     public void setCreationDate(Date creationDate) {\r
151         this.creationDate = creationDate;\r
152     }\r
153 \r
154     public String getUpdatedBy() {\r
155         return updatedBy;\r
156     }\r
157 \r
158     public void setUpdatedBy(String updatedBy) {\r
159         this.updatedBy = updatedBy;\r
160     }\r
161 \r
162 }\r