1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.core.persistence.api.entity;
20
21 import java.time.OffsetDateTime;
22 import org.apache.syncope.common.lib.types.AttrSchemaType;
23
24 public interface PlainAttrValue extends Entity {
25
26 PlainAttr<?> getAttr();
27
28 byte[] getBinaryValue();
29
30 Boolean getBooleanValue();
31
32 OffsetDateTime getDateValue();
33
34 Double getDoubleValue();
35
36 Long getLongValue();
37
38 String getStringValue();
39
40 <V> V getValue();
41
42 String getValueAsString();
43
44 String getValueAsString(AttrSchemaType type);
45
46 String getValueAsString(PlainSchema schema);
47
48 void parseValue(PlainSchema schema, String value);
49
50 void setAttr(PlainAttr<?> attr);
51
52 void setBinaryValue(byte[] binaryValue);
53
54 void setBooleanValue(Boolean booleanValue);
55
56 void setDateValue(OffsetDateTime dateValue);
57
58 void setDoubleValue(Double doubleValue);
59
60 void setLongValue(Long longValue);
61
62 void setStringValue(String stringValue);
63 }