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 * ===================================================================
24 package org.onap.clamp.clds.model;
26 import java.util.ArrayList;
27 import java.util.List;
30 * Represents a CLDS Tosca model
33 public class CldsToscaModelDetails {
36 private String toscaModelName;
37 private String policyType;
38 private List<CldsToscaModelRevision> toscaModelRevisions = new ArrayList<>();
39 private String userId;
40 private String lastUpdatedDate;
45 public String getId() {
53 public void setId(String id) {
58 * @return the toscaModelName
60 public String getToscaModelName() {
61 return toscaModelName;
65 * @param toscaModelName
66 * the toscaModelName to set
68 public void setToscaModelName(String toscaModelName) {
69 this.toscaModelName = toscaModelName;
73 * @return the policyType
75 public String getPolicyType() {
81 * the policyType to set
83 public void setPolicyType(String policyType) {
84 this.policyType = policyType;
88 * @return the toscaModelRevisions
90 public List<CldsToscaModelRevision> getToscaModelRevisions() {
91 return toscaModelRevisions;
95 * @param toscaModelRevisions
96 * the toscaModelRevisions to set
98 public void setToscaModelRevisions(List<CldsToscaModelRevision> toscaModelRevisions) {
99 this.toscaModelRevisions = toscaModelRevisions;
105 public String getUserId() {
113 public void setUserId(String userId) {
114 this.userId = userId;
118 * @return the lastUpdatedDate
120 public String getLastUpdatedDate() {
121 return lastUpdatedDate;
125 * @param lastUpdatedDate
126 * the lastUpdatedDate to set
128 public void setLastUpdatedDate(String lastUpdatedDate) {
129 this.lastUpdatedDate = lastUpdatedDate;