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.
32 public class CldsToscaModelDetails {
35 private String toscaModelName;
36 private String policyType;
37 private List<CldsToscaModelRevision> toscaModelRevisions = new ArrayList<>();
38 private String userId;
39 private String lastUpdatedDate;
45 public String getId() {
54 public void setId(String id) {
59 * Get the tosca model name.
60 * @return the toscaModelName
62 public String getToscaModelName() {
63 return toscaModelName;
67 * Set the tosca model name.
68 * @param toscaModelName
69 * the toscaModelName to set
71 public void setToscaModelName(String toscaModelName) {
72 this.toscaModelName = toscaModelName;
76 * Get the policy type.
77 * @return the policyType
79 public String getPolicyType() {
84 * Set the policy type.
86 * the policyType to set
88 public void setPolicyType(String policyType) {
89 this.policyType = policyType;
93 * Get the list of tosca model revisions.
94 * @return the toscaModelRevisions
96 public List<CldsToscaModelRevision> getToscaModelRevisions() {
97 return toscaModelRevisions;
101 * Set the list of tosca model revisions.
102 * @param toscaModelRevisions
103 * the toscaModelRevisions to set
105 public void setToscaModelRevisions(List<CldsToscaModelRevision> toscaModelRevisions) {
106 this.toscaModelRevisions = toscaModelRevisions;
113 public String getUserId() {
122 public void setUserId(String userId) {
123 this.userId = userId;
127 * Get the last updated date.
128 * @return the lastUpdatedDate
130 public String getLastUpdatedDate() {
131 return lastUpdatedDate;
135 * Set the last updated date.
136 * @param lastUpdatedDate
137 * the lastUpdatedDate to set
139 public void setLastUpdatedDate(String lastUpdatedDate) {
140 this.lastUpdatedDate = lastUpdatedDate;