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;
46 public String getId() {
55 public void setId(String id) {
60 * Get the tosca model name.
61 * @return the toscaModelName
63 public String getToscaModelName() {
64 return toscaModelName;
68 * Set the tosca model name.
69 * @param toscaModelName
70 * the toscaModelName to set
72 public void setToscaModelName(String toscaModelName) {
73 this.toscaModelName = toscaModelName;
77 * Get the policy type.
78 * @return the policyType
80 public String getPolicyType() {
85 * Set the policy type.
87 * the policyType to set
89 public void setPolicyType(String policyType) {
90 this.policyType = policyType;
94 * Get the list of tosca model revisions.
95 * @return the toscaModelRevisions
97 public List<CldsToscaModelRevision> getToscaModelRevisions() {
98 return toscaModelRevisions;
102 * Set the list of tosca model revisions.
103 * @param toscaModelRevisions
104 * the toscaModelRevisions to set
106 public void setToscaModelRevisions(List<CldsToscaModelRevision> toscaModelRevisions) {
107 this.toscaModelRevisions = toscaModelRevisions;
114 public String getUserId() {
123 public void setUserId(String userId) {
124 this.userId = userId;
128 * Get the last updated date.
129 * @return the lastUpdatedDate
131 public String getLastUpdatedDate() {
132 return lastUpdatedDate;
136 * Set the last updated date.
137 * @param lastUpdatedDate
138 * the lastUpdatedDate to set
140 public void setLastUpdatedDate(String lastUpdatedDate) {
141 this.lastUpdatedDate = lastUpdatedDate;