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

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

public class PatternElement
extends Object
implements Serializable

Add opertators to Elements

Java class for PatternElement complex type.

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

 <complexType name="PatternElement">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Optional" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <choice>
           <element name="Element" type="{}Element"/>
           <element name="Composition" type="{}Composition"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
PatternElement()
           
 
Method Summary
 Composition getComposition()
          Gets the value of the composition property.
 Element getElement()
          Gets the value of the element property.
 Boolean isOptional()
          Gets the value of the optional property.
 void setComposition(Composition value)
          Sets the value of the composition property.
 void setElement(Element value)
          Sets the value of the element property.
 void setOptional(Boolean value)
          Sets the value of the optional property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternElement

public PatternElement()
Method Detail

isOptional

public Boolean isOptional()
Gets the value of the optional property.

Returns:
possible object is Boolean

setOptional

public void setOptional(Boolean value)
Sets the value of the optional property.

Parameters:
value - allowed object is Boolean

getElement

public Element getElement()
Gets the value of the element property.

Returns:
possible object is Element

setElement

public void setElement(Element value)
Sets the value of the element property.

Parameters:
value - allowed object is Element

getComposition

public Composition getComposition()
Gets the value of the composition property.

Returns:
possible object is Composition

setComposition

public void setComposition(Composition value)
Sets the value of the composition property.

Parameters:
value - allowed object is Composition


Copyright © 2012-2013 CoGrOO. All Rights Reserved.