1
2 package org.miloss.fgsms.services.interfaces.policyconfiguration;
3
4 import java.io.Serializable;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlType;
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 @XmlAccessorType(XmlAccessType.FIELD)
34 @XmlType(name = "keyNameValueEnc", propOrder = {
35 "keyNameValue",
36 "shouldEncrypt"
37 })
38 public class KeyNameValueEnc
39 implements Serializable
40 {
41
42 private final static long serialVersionUID = 1L;
43 @XmlElement(required = true)
44 protected KeyNameValue keyNameValue;
45 protected boolean shouldEncrypt;
46
47
48
49
50
51
52
53
54
55 public KeyNameValue getKeyNameValue() {
56 return keyNameValue;
57 }
58
59
60
61
62
63
64
65
66
67 public void setKeyNameValue(KeyNameValue value) {
68 this.keyNameValue = value;
69 }
70
71 public boolean isSetKeyNameValue() {
72 return (this.keyNameValue!= null);
73 }
74
75
76
77
78
79 public boolean isShouldEncrypt() {
80 return shouldEncrypt;
81 }
82
83
84
85
86
87 public void setShouldEncrypt(boolean value) {
88 this.shouldEncrypt = value;
89 }
90
91 public boolean isSetShouldEncrypt() {
92 return true;
93 }
94
95 }