a4ee734c7e6e34a6e861dd92be9377a17e3f954c
[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      * Get the id.
44      * @return the id
45      */
46     public String getId() {
47         return id;
48     }
49
50     /**
51      * Set the id.
52      * @param id
53      *        the id to set
54      */
55     public void setId(String id) {
56         this.id = id;
57     }
58
59     /**
60      * Get the tosca model name.
61      * @return the toscaModelName
62      */
63     public String getToscaModelName() {
64         return toscaModelName;
65     }
66
67     /**
68      * Set the tosca model name.
69      * @param toscaModelName
70      *        the toscaModelName to set
71      */
72     public void setToscaModelName(String toscaModelName) {
73         this.toscaModelName = toscaModelName;
74     }
75
76     /**
77      * Get the policy type.
78      * @return the policyType
79      */
80     public String getPolicyType() {
81         return policyType;
82     }
83
84     /**
85      * Set the policy type.
86      * @param policyType
87      *        the policyType to set
88      */
89     public void setPolicyType(String policyType) {
90         this.policyType = policyType;
91     }
92
93     /**
94      * Get the list of tosca model revisions.
95      * @return the toscaModelRevisions
96      */
97     public List<CldsToscaModelRevision> getToscaModelRevisions() {
98         return toscaModelRevisions;
99     }
100
101     /**
102      * Set the list of tosca model revisions.
103      * @param toscaModelRevisions
104      *        the toscaModelRevisions to set
105      */
106     public void setToscaModelRevisions(List<CldsToscaModelRevision> toscaModelRevisions) {
107         this.toscaModelRevisions = toscaModelRevisions;
108     }
109
110     /**
111      * Get the user id.
112      * @return the userId
113      */
114     public String getUserId() {
115         return userId;
116     }
117
118     /**
119      * Set the user id.
120      * @param userId
121      *        the userId to set
122      */
123     public void setUserId(String userId) {
124         this.userId = userId;
125     }
126
127     /**
128      * Get the last updated date.
129      * @return the lastUpdatedDate
130      */
131     public String getLastUpdatedDate() {
132         return lastUpdatedDate;
133     }
134
135     /**
136      * Set the last updated date.
137      * @param lastUpdatedDate
138      *        the lastUpdatedDate to set
139      */
140     public void setLastUpdatedDate(String lastUpdatedDate) {
141         this.lastUpdatedDate = lastUpdatedDate;
142     }
143
144 }