Class CodeListUnion

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

public class CodeListUnion extends Object
Union of one or more code lists.

Java class for CodeListUnion complex type.

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

 <complexType name="CodeListUnion">
   <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="Source" type="{http://xml.genericode.org/2004/ns/CodeList/0.2/}InputCodeList" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CodeListUnion

      public CodeListUnion()
  • 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
    • getSource

      public List<InputCodeList> getSource()
      Gets the value of the source 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 source property.

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

          getSource().add(newItem);
       

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