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