org.plasma.sdo.access.provider.jdo.Column 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.10.17 at 11:26:33 AM EDT
//
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>
* <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.column"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"extensions"
})
@XmlRootElement(name = "column")
public class Column {
@XmlElement(name = "extension")
protected List extensions;
@XmlAttribute(name = "name")
@XmlSchemaType(name = "anySimpleType")
protected String name;
@XmlAttribute(name = "target")
@XmlSchemaType(name = "anySimpleType")
protected String target;
@XmlAttribute(name = "target-field")
@XmlSchemaType(name = "anySimpleType")
protected String targetField;
@XmlAttribute(name = "jdbc-type")
@XmlSchemaType(name = "anySimpleType")
protected String jdbcType;
@XmlAttribute(name = "sql-type")
@XmlSchemaType(name = "anySimpleType")
protected String sqlType;
@XmlAttribute(name = "length")
@XmlSchemaType(name = "anySimpleType")
protected String length;
@XmlAttribute(name = "scale")
@XmlSchemaType(name = "anySimpleType")
protected String scale;
@XmlAttribute(name = "allows-null")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String allowsNull;
@XmlAttribute(name = "default-value")
@XmlSchemaType(name = "anySimpleType")
protected String defaultValue;
@XmlAttribute(name = "insert-value")
@XmlSchemaType(name = "anySimpleType")
protected String insertValue;
/**
* 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 target property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTarget(String value) {
this.target = value;
}
/**
* Gets the value of the targetField property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetField() {
return targetField;
}
/**
* Sets the value of the targetField property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetField(String value) {
this.targetField = value;
}
/**
* Gets the value of the jdbcType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJdbcType() {
return jdbcType;
}
/**
* Sets the value of the jdbcType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJdbcType(String value) {
this.jdbcType = value;
}
/**
* Gets the value of the sqlType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSqlType() {
return sqlType;
}
/**
* Sets the value of the sqlType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSqlType(String value) {
this.sqlType = value;
}
/**
* Gets the value of the length property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLength() {
return length;
}
/**
* Sets the value of the length property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLength(String value) {
this.length = value;
}
/**
* Gets the value of the scale property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getScale() {
return scale;
}
/**
* Sets the value of the scale property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setScale(String value) {
this.scale = value;
}
/**
* Gets the value of the allowsNull property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAllowsNull() {
return allowsNull;
}
/**
* Sets the value of the allowsNull property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAllowsNull(String value) {
this.allowsNull = value;
}
/**
* Gets the value of the defaultValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDefaultValue() {
return defaultValue;
}
/**
* Sets the value of the defaultValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDefaultValue(String value) {
this.defaultValue = value;
}
/**
* Gets the value of the insertValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInsertValue() {
return insertValue;
}
/**
* Sets the value of the insertValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInsertValue(String value) {
this.insertValue = value;
}
}