1
2 package org.miloss.fgsms.services.interfaces.common;
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 import us.gov.ic.ism.v2.ClassificationType;
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "SecurityWrapper", propOrder = {
38 "classification",
39 "caveats"
40 })
41 public class SecurityWrapper
42 implements Serializable
43 {
44
45 private final static long serialVersionUID = 1L;
46 @XmlElement(required = true, defaultValue = "U")
47 protected ClassificationType classification;
48 @XmlElement(required = true, defaultValue = "")
49 protected String caveats;
50
51 public SecurityWrapper(ClassificationType classificationType, String cavaet) {
52 this.classification=classificationType;
53 this.caveats = cavaet;
54 }
55
56 public SecurityWrapper() {
57 this.classification=ClassificationType.U;
58 this.caveats="";
59 }
60
61
62
63
64
65
66
67
68
69 public ClassificationType getClassification() {
70 return classification;
71 }
72
73
74
75
76
77
78
79
80
81 public void setClassification(ClassificationType value) {
82 this.classification = value;
83 }
84
85
86
87
88
89
90
91
92
93 public String getCaveats() {
94 return caveats;
95 }
96
97
98
99
100
101
102
103
104
105 public void setCaveats(String value) {
106 this.caveats = value;
107 }
108
109 }