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 * provides a wrapper to include a shouldEncrypt field
13 *
14 * <p>Java class for keyNameValueEnc complex type.
15 *
16 * <p>The following schema fragment specifies the expected content contained within this class.
17 *
18 * <pre>
19 * <complexType name="keyNameValueEnc">
20 * <complexContent>
21 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22 * <sequence>
23 * <element name="keyNameValue" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}keyNameValue"/>
24 * <element name="shouldEncrypt" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
25 * </sequence>
26 * </restriction>
27 * </complexContent>
28 * </complexType>
29 * </pre>
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 * Gets the value of the keyNameValue property.
49 *
50 * @return
51 * possible object is
52 * {@link KeyNameValue }
53 *
54 */
55 public KeyNameValue getKeyNameValue() {
56 return keyNameValue;
57 }
58
59 /**
60 * Sets the value of the keyNameValue property.
61 *
62 * @param value
63 * allowed object is
64 * {@link KeyNameValue }
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 * Gets the value of the shouldEncrypt property.
77 *
78 */
79 public boolean isShouldEncrypt() {
80 return shouldEncrypt;
81 }
82
83 /**
84 * Sets the value of the shouldEncrypt property.
85 *
86 */
87 public void setShouldEncrypt(boolean value) {
88 this.shouldEncrypt = value;
89 }
90
91 public boolean isSetShouldEncrypt() {
92 return true;
93 }
94
95 }