Class Data
java.lang.Object
org.genericode.xml._2004.ns.codelist._0.Data
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Annotationprotected Stringprotected List<DatatypeFacet>protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the annotation property.Gets the value of the datatypeLibrary property.Gets the value of the parameter property.getType()Gets the value of the type property.voidsetAnnotation(Annotation value) Sets the value of the annotation property.voidsetDatatypeLibrary(String value) Sets the value of the datatypeLibrary property.voidSets the value of the type property.
-
Field Details
-
annotation
-
parameter
-
type
-
datatypeLibrary
-
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
getAnnotation
Gets the value of the annotation property.- Returns:
- possible object is
Annotation
-
setAnnotation
Sets the value of the annotation property.- Parameters:
value- allowed object isAnnotation
-
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
setmethod 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
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getDatatypeLibrary
Gets the value of the datatypeLibrary property.- Returns:
- possible object is
String
-
setDatatypeLibrary
Sets the value of the datatypeLibrary property.- Parameters:
value- allowed object isString
-