Repository navigation
Expand file tree
/
Copy pathLegalBasisOptions.java
More file actions
156 lines (135 loc) · 3.74 KB
/
Copy pathLegalBasisOptions.java
File metadata and controls
156 lines (135 loc) · 3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
package org.databunker.options;
/**
* Legal basis options class for creating legal basis records
*/
public class LegalBasisOptions {
private final String brief;
private final String status;
private final String module;
private final String fulldesc;
private final String shortdesc;
private final String basistype;
private final String requiredmsg;
private final Boolean requiredflag;
private LegalBasisOptions(Builder builder) {
this.brief = builder.brief;
this.status = builder.status;
this.module = builder.module;
this.fulldesc = builder.fulldesc;
this.shortdesc = builder.shortdesc;
this.basistype = builder.basistype;
this.requiredmsg = builder.requiredmsg;
this.requiredflag = builder.requiredflag;
}
/**
* Brief identifier for the legal basis
* @return The brief identifier
*/
public String getBrief() {
return brief;
}
/**
* Status of the legal basis
* @return The status
*/
public String getStatus() {
return status;
}
/**
* Module associated with the legal basis
* @return The module
*/
public String getModule() {
return module;
}
/**
* Full description of the legal basis
* @return The full description
*/
public String getFulldesc() {
return fulldesc;
}
/**
* Short description of the legal basis
* @return The short description
*/
public String getShortdesc() {
return shortdesc;
}
/**
* Type of legal basis
* @return The basis type
*/
public String getBasistype() {
return basistype;
}
/**
* Required message for the legal basis
* @return The required message
*/
public String getRequiredmsg() {
return requiredmsg;
}
/**
* Required flag for the legal basis
* @return The required flag
*/
public Boolean getRequiredflag() {
return requiredflag;
}
/**
* Builder class for LegalBasisOptions
*/
public static class Builder {
private String brief;
private String status;
private String module;
private String fulldesc;
private String shortdesc;
private String basistype;
private String requiredmsg;
private Boolean requiredflag;
public Builder brief(String brief) {
this.brief = brief;
return this;
}
public Builder status(String status) {
this.status = status;
return this;
}
public Builder module(String module) {
this.module = module;
return this;
}
public Builder fulldesc(String fulldesc) {
this.fulldesc = fulldesc;
return this;
}
public Builder shortdesc(String shortdesc) {
this.shortdesc = shortdesc;
return this;
}
public Builder basistype(String basistype) {
this.basistype = basistype;
return this;
}
public Builder requiredmsg(String requiredmsg) {
this.requiredmsg = requiredmsg;
return this;
}
public Builder requiredflag(Boolean requiredflag) {
this.requiredflag = requiredflag;
return this;
}
public LegalBasisOptions build() {
return new LegalBasisOptions(this);
}
}
/**
* Creates a new builder for LegalBasisOptions
* @return A new builder instance
*/
public static Builder builder() {
return new Builder();
}
}