org.cogroo.tools.checker.rules.model
Class Element

java.lang.Object
  extended by org.cogroo.tools.checker.rules.model.Element
All Implemented Interfaces:
Serializable

public class Element
extends Object
implements Serializable

A pattern piece

Java class for Element complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Element">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Negated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="Mask" type="{}Mask" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Element()
           
 
Method Summary
 List<Mask> getMask()
          Gets the value of the mask property.
 Boolean isNegated()
          Gets the value of the negated property.
 void setNegated(Boolean value)
          Sets the value of the negated property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Element

public Element()
Method Detail

isNegated

public Boolean isNegated()
Gets the value of the negated property.

Returns:
possible object is Boolean

setNegated

public void setNegated(Boolean value)
Sets the value of the negated property.

Parameters:
value - allowed object is Boolean

getMask

public List<Mask> getMask()
Gets the value of the mask property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the mask property.

For example, to add a new item, do as follows:

    getMask().add(newItem);
 

Objects of the following type(s) are allowed in the list Mask



Copyright © 2012-2013 CoGrOO. All Rights Reserved.