Changes for checkstyle 8.32
[policy/apex-pdp.git] / auth / cli-codegen / src / main / java / org / onap / policy / apex / auth / clicodegen / EventDeclarationBuilder.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2018 Samsung Electronics Co., Ltd. All rights reserved.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.policy.apex.auth.clicodegen;
22
23 import java.util.List;
24 import org.stringtemplate.v4.ST;
25
26 public class EventDeclarationBuilder {
27     private String name;
28     private String version;
29     private String uuid;
30     private String description;
31     private String nameSpace;
32     private String source;
33     private String target;
34     private List<ST> fields;
35
36     public String getName() {
37         return name;
38     }
39
40     public String getVersion() {
41         return version;
42     }
43
44     public String getUuid() {
45         return uuid;
46     }
47
48     public String getDescription() {
49         return description;
50     }
51
52     public String getNameSpace() {
53         return nameSpace;
54     }
55
56     public String getSource() {
57         return source;
58     }
59
60     public String getTarget() {
61         return target;
62     }
63
64     public List<ST> getFields() {
65         return fields;
66     }
67
68     public EventDeclarationBuilder setName(String name) {
69         this.name = name;
70         return this;
71     }
72
73     public EventDeclarationBuilder setVersion(String version) {
74         this.version = version;
75         return this;
76     }
77
78     public EventDeclarationBuilder setUuid(String uuid) {
79         this.uuid = uuid;
80         return this;
81     }
82
83     public EventDeclarationBuilder setDescription(String description) {
84         this.description = description;
85         return this;
86     }
87
88     public EventDeclarationBuilder setNameSpace(String nameSpace) {
89         this.nameSpace = nameSpace;
90         return this;
91     }
92
93     public EventDeclarationBuilder setSource(String source) {
94         this.source = source;
95         return this;
96     }
97
98     public EventDeclarationBuilder setTarget(String target) {
99         this.target = target;
100         return this;
101     }
102
103     public EventDeclarationBuilder setFields(List<ST> fields) {
104         this.fields = fields;
105         return this;
106     }
107 }