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

public class Data extends Object
Data type for a column.

Java class for Data complex type.

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

 <complexType name="Data">
   <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="Parameter" type="{http://xml.genericode.org/2004/ns/CodeList/0.2/}DatatypeFacet" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Type" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
       <attribute name="DatatypeLibrary" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Data

      public Data()
  • 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
    • getParameter

      public List<DatatypeFacet> getParameter()
      Gets the value of the parameter 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 parameter property.

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

          getParameter().add(newItem);
       

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

    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getDatatypeLibrary

      public String getDatatypeLibrary()
      Gets the value of the datatypeLibrary property.
      Returns:
      possible object is String
    • setDatatypeLibrary

      public void setDatatypeLibrary(String value)
      Sets the value of the datatypeLibrary property.
      Parameters:
      value - allowed object is String