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
29 package org.onap.clamp.clds.model;
31 public class CldsToscaModelRevision {
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;
42 * Get the revision id.
43 * @return the revisionId
45 public String getRevisionId() {
50 * Set the revision id.
52 * the revisionId to set
54 public void setRevisionId(String revisionId) {
55 this.revisionId = revisionId;
59 * Get the tosca model yaml.
60 * @return the toscaModelYaml
62 public String getToscaModelYaml() {
63 return toscaModelYaml;
67 * Set the tosca model yaml.
68 * @param toscaModelYaml
69 * the toscaModelYaml to set
71 public void setToscaModelYaml(String toscaModelYaml) {
72 this.toscaModelYaml = toscaModelYaml;
79 public double getVersion() {
88 public void setVersion(double version) {
89 this.version = version;
93 * Get the tosca model json.
94 * @return the toscaModelJson
96 public String getToscaModelJson() {
97 return toscaModelJson;
101 * Set the tosca model json.
102 * @param toscaModelJson
103 * the toscaModelJson to set
105 public void setToscaModelJson(String toscaModelJson) {
106 this.toscaModelJson = toscaModelJson;
113 public String getUserId() {
122 public void setUserId(String userId) {
123 this.userId = userId;
127 * Get the created date.
128 * @return the createdDate
130 public String getCreatedDate() {
135 * Set the created date.
137 * the createdDate to set
139 public void setCreatedDate(String createdDate) {
140 this.createdDate = createdDate;
144 * Get the last updated date.
145 * @return the lastUpdatedDate
147 public String getLastUpdatedDate() {
148 return lastUpdatedDate;
152 * Set the last updated date.
153 * @param lastUpdatedDate
154 * the lastUpdatedDate to set
156 public void setLastUpdatedDate(String lastUpdatedDate) {
157 this.lastUpdatedDate = lastUpdatedDate;