Class SimpleCodeList

java.lang.Object
org.genericode.xml._2004.ns.codelist._0.SimpleCodeList

public class SimpleCodeList extends Object
Definition of a simple code list.

Java class for SimpleCodeList complex type.

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

 <complexType name="SimpleCodeList">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Annotation" type="{http://xml.genericode.org/2004/ns/CodeList/0.2/}Annotation" minOccurs="0"/>
         <element name="Row" type="{http://xml.genericode.org/2004/ns/CodeList/0.2/}Row" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SimpleCodeList

      public SimpleCodeList()
  • Method Details

    • getAnnotation

      public Annotation getAnnotation()
      Gets the value of the annotation property.
      Returns:
      possible object is Annotation
    • setAnnotation

      public void setAnnotation(Annotation value)
      Sets the value of the annotation property.
      Parameters:
      value - allowed object is Annotation
    • getRow

      public List<Row> getRow()
      Gets the value of the row 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 row property.

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

          getRow().add(newItem);
       

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