org.plasma.sdo.access.provider.jdo.Unique Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.19 at 03:35:27 PM EST
//
package org.plasma.sdo.access.provider.jdo;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}column" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}field" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}property" maxOccurs="unbounded" minOccurs="0"/>
* </choice>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}extension" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attGroup ref="{http://java.sun.com/xml/ns/jdo/jdo}attlist.unique"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"properties",
"fields",
"columns",
"extensions"
})
@XmlRootElement(name = "unique")
public class Unique {
@XmlElement(name = "property")
protected List properties;
@XmlElement(name = "field")
protected List fields;
@XmlElement(name = "column")
protected List columns;
@XmlElement(name = "extension")
protected List extensions;
@XmlAttribute(name = "name")
@XmlSchemaType(name = "anySimpleType")
protected String name;
@XmlAttribute(name = "table")
@XmlSchemaType(name = "anySimpleType")
protected String table;
@XmlAttribute(name = "deferred")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String deferred;
/**
* Gets the value of the properties 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 properties property.
*
*
* For example, to add a new item, do as follows:
*
* getProperties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Property }
*
*
*/
public List getProperties() {
if (properties == null) {
properties = new ArrayList();
}
return this.properties;
}
/**
* Gets the value of the fields 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 fields property.
*
*
* For example, to add a new item, do as follows:
*
* getFields().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Field }
*
*
*/
public List getFields() {
if (fields == null) {
fields = new ArrayList();
}
return this.fields;
}
/**
* Gets the value of the columns 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 columns property.
*
*
* For example, to add a new item, do as follows:
*
* getColumns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Column }
*
*
*/
public List getColumns() {
if (columns == null) {
columns = new ArrayList();
}
return this.columns;
}
/**
* Gets the value of the extensions 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 extensions property.
*
*
* For example, to add a new item, do as follows:
*
* getExtensions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension }
*
*
*/
public List getExtensions() {
if (extensions == null) {
extensions = new ArrayList();
}
return this.extensions;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the table property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTable() {
return table;
}
/**
* Sets the value of the table property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTable(String value) {
this.table = value;
}
/**
* Gets the value of the deferred property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDeferred() {
if (deferred == null) {
return "false";
} else {
return deferred;
}
}
/**
* Sets the value of the deferred property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDeferred(String value) {
this.deferred = value;
}
}