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