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   
10  
11  /**
12   * 
13   * joining expressions together, applies to all services
14   * 			
15   * 
16   * SLA Rule base type
17   * 
18   * <p>Java class for AndOrNot complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="AndOrNot">
24   *   &lt;complexContent>
25   *     &lt;extension base="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}RuleBaseType">
26   *       &lt;sequence>
27   *         &lt;element name="flag" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}JoiningType"/>
28   *         &lt;element name="LHS" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}RuleBaseType"/>
29   *         &lt;element name="RHS" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}RuleBaseType"/>
30   *       &lt;/sequence>
31   *     &lt;/extension>
32   *   &lt;/complexContent>
33   * &lt;/complexType>
34   * </pre>
35   * 
36   * 
37   */
38  @XmlAccessorType(XmlAccessType.FIELD)
39  @XmlType(name = "AndOrNot", propOrder = {
40      "flag",
41      "lhs",
42      "rhs"
43  })
44  public class AndOrNot
45      extends RuleBaseType
46      implements Serializable
47  {
48  
49      private final static long serialVersionUID = 1L;
50      @XmlElement(required = true)
51      protected JoiningType flag;
52      @XmlElement(name = "LHS", required = true)
53      protected RuleBaseType lhs;
54      @XmlElement(name = "RHS", required = true)
55      protected RuleBaseType rhs;
56  
57      /**
58       * Gets the value of the flag property.
59       * 
60       * @return
61       *     possible object is
62       *     {@link JoiningType }
63       *     
64       */
65      public JoiningType getFlag() {
66          return flag;
67      }
68  
69      /**
70       * Sets the value of the flag property.
71       * 
72       * @param value
73       *     allowed object is
74       *     {@link JoiningType }
75       *     
76       */
77      public void setFlag(JoiningType value) {
78          this.flag = value;
79      }
80  
81      public boolean isSetFlag() {
82          return (this.flag!= null);
83      }
84  
85      /**
86       * Gets the value of the lhs property.
87       * 
88       * @return
89       *     possible object is
90       *     {@link RuleBaseType }
91       *     
92       */
93      public RuleBaseType getLHS() {
94          return lhs;
95      }
96  
97      /**
98       * Sets the value of the lhs property.
99       * 
100      * @param value
101      *     allowed object is
102      *     {@link RuleBaseType }
103      *     
104      */
105     public void setLHS(RuleBaseType value) {
106         this.lhs = value;
107     }
108 
109     public boolean isSetLHS() {
110         return (this.lhs!= null);
111     }
112 
113     /**
114      * Gets the value of the rhs property.
115      * 
116      * @return
117      *     possible object is
118      *     {@link RuleBaseType }
119      *     
120      */
121     public RuleBaseType getRHS() {
122         return rhs;
123     }
124 
125     /**
126      * Sets the value of the rhs property.
127      * 
128      * @param value
129      *     allowed object is
130      *     {@link RuleBaseType }
131      *     
132      */
133     public void setRHS(RuleBaseType value) {
134         this.rhs = value;
135     }
136 
137     public boolean isSetRHS() {
138         return (this.rhs!= null);
139     }
140 
141 }