68cd49652b258cd64d1e82e0b36e5aa1620814ee
[clamp.git] / src / main / java / org / onap / clamp / clds / model / CldsToscaModelRevision.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 /**
25  * Represents a CLDS Tosca model revision
26  *
27  */
28
29 package org.onap.clamp.clds.model;
30
31 public class CldsToscaModelRevision {
32
33     private String revisionId;
34     private String toscaModelYaml;
35     private double version;
36     private String toscaModelJson;
37     private String userId;
38     private String createdDate;
39     private String lastUpdatedDate;
40
41     /**
42      * Get the revision id.
43      * @return the revisionId
44      */
45     public String getRevisionId() {
46         return revisionId;
47     }
48
49     /**
50      * Set the revision id.
51      * @param revisionId
52      *        the revisionId to set
53      */
54     public void setRevisionId(String revisionId) {
55         this.revisionId = revisionId;
56     }
57
58     /**
59      * Get the tosca model yaml.
60      * @return the toscaModelYaml
61      */
62     public String getToscaModelYaml() {
63         return toscaModelYaml;
64     }
65
66     /**
67      * Set the tosca model yaml.
68      * @param toscaModelYaml
69      *        the toscaModelYaml to set
70      */
71     public void setToscaModelYaml(String toscaModelYaml) {
72         this.toscaModelYaml = toscaModelYaml;
73     }
74
75     /**
76      * Get the version.
77      * @return the version
78      */
79     public double getVersion() {
80         return version;
81     }
82
83     /**
84      * Set the version.
85      * @param version
86      *        the version to set
87      */
88     public void setVersion(double version) {
89         this.version = version;
90     }
91
92     /**
93      * Get the tosca model json.
94      * @return the toscaModelJson
95      */
96     public String getToscaModelJson() {
97         return toscaModelJson;
98     }
99
100     /**
101      * Set the tosca model json.
102      * @param toscaModelJson
103      *        the toscaModelJson to set
104      */
105     public void setToscaModelJson(String toscaModelJson) {
106         this.toscaModelJson = toscaModelJson;
107     }
108
109     /**
110      * Get the user id.
111      * @return the userId
112      */
113     public String getUserId() {
114         return userId;
115     }
116
117     /**
118      * Set the user id.
119      * @param userId
120      *        the userId to set
121      */
122     public void setUserId(String userId) {
123         this.userId = userId;
124     }
125
126     /**
127      * Get the created date.
128      * @return the createdDate
129      */
130     public String getCreatedDate() {
131         return createdDate;
132     }
133
134     /**
135      * Set the created date.
136      * @param createdDate
137      *        the createdDate to set
138      */
139     public void setCreatedDate(String createdDate) {
140         this.createdDate = createdDate;
141     }
142
143     /**
144      * Get the last updated date.
145      * @return the lastUpdatedDate
146      */
147     public String getLastUpdatedDate() {
148         return lastUpdatedDate;
149     }
150
151     /**
152      * Set the last updated date.
153      * @param lastUpdatedDate
154      *        the lastUpdatedDate to set
155      */
156     public void setLastUpdatedDate(String lastUpdatedDate) {
157         this.lastUpdatedDate = lastUpdatedDate;
158     }
159 }