1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.client.enduser.model;
20
21 import java.io.Serializable;
22 import java.util.ArrayList;
23 import java.util.List;
24
25 public class CustomAttribute implements Serializable {
26
27 private static final long serialVersionUID = 4910266842123376686L;
28
29 private boolean readonly;
30
31 private List<String> defaultValues = new ArrayList<>();
32
33 public CustomAttribute() {
34 }
35
36 public boolean isReadonly() {
37 return readonly;
38 }
39
40 public void setReadonly(final boolean readonly) {
41 this.readonly = readonly;
42 }
43
44 public List<String> getDefaultValues() {
45 return defaultValues;
46 }
47
48 public void setDefaultValues(final List<String> defaultValues) {
49 this.defaultValues = defaultValues;
50 }
51
52 public CustomAttribute readonly(final Boolean value) {
53 this.readonly = value;
54 return this;
55 }
56
57 public CustomAttribute defaultValues(final List<String> value) {
58 this.defaultValues = value;
59 return this;
60 }
61
62 }