Introduce tosca saving
[clamp.git] / src / main / java / org / onap / clamp / clds / model / CldsToscaModelDetails.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP CLAMP
4  * ================================================================================
5  * Copyright (C) 2018 AT&T Intellectual Property. All rights
6  *                             reserved.
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
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
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  * ===================================================================
21  *
22  */
23
24 package org.onap.clamp.clds.model;
25
26 import java.util.ArrayList;
27 import java.util.List;
28
29 /**
30  * Represents a CLDS Tosca model
31  *
32  */
33 public class CldsToscaModelDetails {
34
35     private String id;
36     private String toscaModelName;
37     private String policyType;
38     private List<CldsToscaModelRevision> toscaModelRevisions = new ArrayList<>();
39     private String userId;
40     private String lastUpdatedDate;
41
42     /**
43      * @return the id
44      */
45     public String getId() {
46         return id;
47     }
48
49     /**
50      * @param id
51      *        the id to set
52      */
53     public void setId(String id) {
54         this.id = id;
55     }
56
57     /**
58      * @return the toscaModelName
59      */
60     public String getToscaModelName() {
61         return toscaModelName;
62     }
63
64     /**
65      * @param toscaModelName
66      *        the toscaModelName to set
67      */
68     public void setToscaModelName(String toscaModelName) {
69         this.toscaModelName = toscaModelName;
70     }
71
72     /**
73      * @return the policyType
74      */
75     public String getPolicyType() {
76         return policyType;
77     }
78
79     /**
80      * @param policyType
81      *        the policyType to set
82      */
83     public void setPolicyType(String policyType) {
84         this.policyType = policyType;
85     }
86
87     /**
88      * @return the toscaModelRevisions
89      */
90     public List<CldsToscaModelRevision> getToscaModelRevisions() {
91         return toscaModelRevisions;
92     }
93
94     /**
95      * @param toscaModelRevisions
96      *        the toscaModelRevisions to set
97      */
98     public void setToscaModelRevisions(List<CldsToscaModelRevision> toscaModelRevisions) {
99         this.toscaModelRevisions = toscaModelRevisions;
100     }
101
102     /**
103      * @return the userId
104      */
105     public String getUserId() {
106         return userId;
107     }
108
109     /**
110      * @param userId
111      *        the userId to set
112      */
113     public void setUserId(String userId) {
114         this.userId = userId;
115     }
116
117     /**
118      * @return the lastUpdatedDate
119      */
120     public String getLastUpdatedDate() {
121         return lastUpdatedDate;
122     }
123
124     /**
125      * @param lastUpdatedDate
126      *        the lastUpdatedDate to set
127      */
128     public void setLastUpdatedDate(String lastUpdatedDate) {
129         this.lastUpdatedDate = lastUpdatedDate;
130     }
131
132 }