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

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

public class Pattern
extends Object
implements Serializable

The error pattern that will be sought in the text

Java class for Pattern complex type.

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

 <complexType name="Pattern">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="PatternElement" type="{}PatternElement" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Pattern()
           
 
Method Summary
 List<PatternElement> getPatternElement()
          Gets the value of the patternElement property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pattern

public Pattern()
Method Detail

getPatternElement

public List<PatternElement> getPatternElement()
Gets the value of the patternElement 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 patternElement property.

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

    getPatternElement().add(newItem);
 

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



Copyright © 2012-2013 CoGrOO. All Rights Reserved.