View Javadoc
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   import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
10  
11  
12  /**
13   * 
14   *                 gets the global policy
15   *                 requires global admin role
16   *             
17   * 
18   * <p>Java class for SetGlobalPolicyRequestMsg complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="SetGlobalPolicyRequestMsg">
24   *   &lt;complexContent>
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26   *       &lt;sequence>
27   *         &lt;element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
28   *         &lt;element name="policy" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}GlobalPolicy"/>
29   *       &lt;/sequence>
30   *     &lt;/restriction>
31   *   &lt;/complexContent>
32   * &lt;/complexType>
33   * </pre>
34   * 
35   * 
36   */
37  @XmlAccessorType(XmlAccessType.FIELD)
38  @XmlType(name = "SetGlobalPolicyRequestMsg", propOrder = {
39      "classification",
40      "policy"
41  })
42  public class SetGlobalPolicyRequestMsg
43      implements Serializable
44  {
45  
46      private final static long serialVersionUID = 1L;
47      @XmlElement(required = true, nillable = true)
48      protected SecurityWrapper classification;
49      @XmlElement(required = true, nillable = true)
50      protected GlobalPolicy policy;
51  
52      /**
53       * Gets the value of the classification property.
54       * 
55       * @return
56       *     possible object is
57       *     {@link SecurityWrapper }
58       *     
59       */
60      public SecurityWrapper getClassification() {
61          return classification;
62      }
63  
64      /**
65       * Sets the value of the classification property.
66       * 
67       * @param value
68       *     allowed object is
69       *     {@link SecurityWrapper }
70       *     
71       */
72      public void setClassification(SecurityWrapper value) {
73          this.classification = value;
74      }
75  
76      public boolean isSetClassification() {
77          return (this.classification!= null);
78      }
79  
80      /**
81       * Gets the value of the policy property.
82       * 
83       * @return
84       *     possible object is
85       *     {@link GlobalPolicy }
86       *     
87       */
88      public GlobalPolicy getPolicy() {
89          return policy;
90      }
91  
92      /**
93       * Sets the value of the policy property.
94       * 
95       * @param value
96       *     allowed object is
97       *     {@link GlobalPolicy }
98       *     
99       */
100     public void setPolicy(GlobalPolicy value) {
101         this.policy = value;
102     }
103 
104     public boolean isSetPolicy() {
105         return (this.policy!= null);
106     }
107 
108 }