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

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

public class Reference
extends Object
implements Serializable

Java class for Reference complex type.

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

 <complexType name="Reference">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Property" maxOccurs="unbounded">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="SyntacticFunction"/>
               <enumeration value="ChunkFunction"/>
               <enumeration value="Class"/>
               <enumeration value="Gender"/>
               <enumeration value="Number"/>
               <enumeration value="Case"/>
               <enumeration value="Person"/>
               <enumeration value="Tense"/>
               <enumeration value="Mood"/>
               <enumeration value="Finiteness"/>
               <enumeration value="Punctuation"/>
             </restriction>
           </simpleType>
         </element>
       </sequence>
       <attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Nested Class Summary
static class Reference.Property
          Java class for null.
 
Constructor Summary
Reference()
           
 
Method Summary
 long getIndex()
          Gets the value of the index property.
 List<Reference.Property> getProperty()
          Gets the value of the property property.
 void setIndex(long value)
          Sets the value of the index property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reference

public Reference()
Method Detail

getProperty

public List<Reference.Property> getProperty()
Gets the value of the property 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 property property.

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

    getProperty().add(newItem);
 

Objects of the following type(s) are allowed in the list Reference.Property


getIndex

public long getIndex()
Gets the value of the index property.


setIndex

public void setIndex(long value)
Sets the value of the index property.



Copyright © 2012-2013 CoGrOO. All Rights Reserved.