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 * @return the revisionId
43 public String getRevisionId() {
49 * the revisionId to set
51 public void setRevisionId(String revisionId) {
52 this.revisionId = revisionId;
56 * @return the toscaModelYaml
58 public String getToscaModelYaml() {
59 return toscaModelYaml;
63 * @param toscaModelYaml
64 * the toscaModelYaml to set
66 public void setToscaModelYaml(String toscaModelYaml) {
67 this.toscaModelYaml = toscaModelYaml;
73 public double getVersion() {
81 public void setVersion(double version) {
82 this.version = version;
86 * @return the toscaModelJson
88 public String getToscaModelJson() {
89 return toscaModelJson;
93 * @param toscaModelJson
94 * the toscaModelJson to set
96 public void setToscaModelJson(String toscaModelJson) {
97 this.toscaModelJson = toscaModelJson;
103 public String getUserId() {
111 public void setUserId(String userId) {
112 this.userId = userId;
116 * @return the createdDate
118 public String getCreatedDate() {
124 * the createdDate to set
126 public void setCreatedDate(String createdDate) {
127 this.createdDate = createdDate;
131 * @return the lastUpdatedDate
133 public String getLastUpdatedDate() {
134 return lastUpdatedDate;
138 * @param lastUpdatedDate
139 * the lastUpdatedDate to set
141 public void setLastUpdatedDate(String lastUpdatedDate) {
142 this.lastUpdatedDate = lastUpdatedDate;