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 * ===================================================================
25 * Represents a CLDS Tosca model revision.
28 package org.onap.clamp.clds.model;
30 public class CldsToscaModelRevision {
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;
41 * Get the revision id.
42 * @return the revisionId
44 public String getRevisionId() {
49 * Set the revision id.
51 * the revisionId to set
53 public void setRevisionId(String revisionId) {
54 this.revisionId = revisionId;
58 * Get the tosca model yaml.
59 * @return the toscaModelYaml
61 public String getToscaModelYaml() {
62 return toscaModelYaml;
66 * Set the tosca model yaml.
67 * @param toscaModelYaml
68 * the toscaModelYaml to set
70 public void setToscaModelYaml(String toscaModelYaml) {
71 this.toscaModelYaml = toscaModelYaml;
78 public double getVersion() {
87 public void setVersion(double version) {
88 this.version = version;
92 * Get the tosca model json.
93 * @return the toscaModelJson
95 public String getToscaModelJson() {
96 return toscaModelJson;
100 * Set the tosca model json.
101 * @param toscaModelJson
102 * the toscaModelJson to set
104 public void setToscaModelJson(String toscaModelJson) {
105 this.toscaModelJson = toscaModelJson;
112 public String getUserId() {
121 public void setUserId(String userId) {
122 this.userId = userId;
126 * Get the created date.
127 * @return the createdDate
129 public String getCreatedDate() {
134 * Set the created date.
136 * the createdDate to set
138 public void setCreatedDate(String createdDate) {
139 this.createdDate = createdDate;
143 * Get the last updated date.
144 * @return the lastUpdatedDate
146 public String getLastUpdatedDate() {
147 return lastUpdatedDate;
151 * Set the last updated date.
152 * @param lastUpdatedDate
153 * the lastUpdatedDate to set
155 public void setLastUpdatedDate(String lastUpdatedDate) {
156 this.lastUpdatedDate = lastUpdatedDate;