1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.ext.scimv2.api.data;
20
21 import com.fasterxml.jackson.annotation.JsonIgnore;
22
23 public class SCIMComplexValue extends SCIMBean {
24
25 private static final long serialVersionUID = -3887211468327809832L;
26
27 private String value;
28
29 private String display;
30
31 private String type;
32
33 private boolean primary;
34
35 public String getValue() {
36 return value;
37 }
38
39 public void setValue(final String value) {
40 this.value = value;
41 }
42
43 public String getDisplay() {
44 return display;
45 }
46
47 public void setDisplay(final String display) {
48 this.display = display;
49 }
50
51 public String getType() {
52 return type;
53 }
54
55 public void setType(final String type) {
56 this.type = type;
57 }
58
59 public boolean isPrimary() {
60 return primary;
61 }
62
63 public void setPrimary(final boolean primary) {
64 this.primary = primary;
65 }
66
67 @JsonIgnore
68 public boolean isEmpty() {
69 return value == null && display == null;
70 }
71 }