org.jaxdb.ddlx_0_4.Float Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlx Show documentation
Show all versions of sqlx Show documentation
SQLx is a vendor-agnostic, XML-based SQL data definition standard that offers the power of XML
validation for your static SQL data. The SQLx framework utilizes a strongly-typed DDLx file to
generate a XML Schema document that translates DDLx constructs into the XSD language. With the
SQLx XSLT, the SQLx tool leverages the power of XML Schema Validation and provides a cohesive
structured model to define SQL data (that conforms to your SQL schema, defined in a DDLx file).
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.07.22 at 07:16:31 AM UTC
//
package org.jaxdb.ddlx_0_4;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for float complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="float">
* <complexContent>
* <extension base="{http://www.jaxdb.org/sqlx-0.4.xsd}float">
* <group ref="{http://www.jaxdb.org/ddlx-0.4.xsd}float" minOccurs="0"/>
* <attGroup ref="{http://www.jaxdb.org/ddlx-0.4.xsd}float"/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "float", propOrder = {
"check"
})
public class Float
extends org.jaxdb.sqlx_0_4.Float
{
protected Float.Check check;
@XmlAttribute(name = "unsigned")
protected java.lang.Boolean unsigned;
@XmlAttribute(name = "default")
protected java.lang.Float _default;
@XmlAttribute(name = "min")
protected java.lang.Float min;
@XmlAttribute(name = "max")
protected java.lang.Float max;
/**
* Gets the value of the check property.
*
* @return
* possible object is
* {@link Float.Check }
*
*/
public Float.Check getCheck() {
return check;
}
/**
* Sets the value of the check property.
*
* @param value
* allowed object is
* {@link Float.Check }
*
*/
public void setCheck(Float.Check value) {
this.check = value;
}
/**
* Gets the value of the unsigned property.
*
* @return
* possible object is
* {@link java.lang.Boolean }
*
*/
public java.lang.Boolean getUnsigned() {
if (unsigned == null) {
return false;
} else {
return unsigned;
}
}
/**
* Sets the value of the unsigned property.
*
* @param value
* allowed object is
* {@link java.lang.Boolean }
*
*/
public void setUnsigned(java.lang.Boolean value) {
this.unsigned = value;
}
/**
* Gets the value of the default property.
*
* @return
* possible object is
* {@link java.lang.Float }
*
*/
public java.lang.Float getDefault() {
return _default;
}
/**
* Sets the value of the default property.
*
* @param value
* allowed object is
* {@link java.lang.Float }
*
*/
public void setDefault(java.lang.Float value) {
this._default = value;
}
/**
* Gets the value of the min property.
*
* @return
* possible object is
* {@link java.lang.Float }
*
*/
public java.lang.Float getMin() {
return min;
}
/**
* Sets the value of the min property.
*
* @param value
* allowed object is
* {@link java.lang.Float }
*
*/
public void setMin(java.lang.Float value) {
this.min = value;
}
/**
* Gets the value of the max property.
*
* @return
* possible object is
* {@link java.lang.Float }
*
*/
public java.lang.Float getMax() {
return max;
}
/**
* Sets the value of the max property.
*
* @param value
* allowed object is
* {@link java.lang.Float }
*
*/
public void setMax(java.lang.Float value) {
this.max = value;
}
/**
* 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">
* <attribute name="operator" use="required" type="{http://www.jaxdb.org/ddlx-0.4.xsd}rangeOperator" />
* <attribute name="condition" use="required" type="{http://www.jaxdb.org/datatypes-0.4.xsd}float" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Check {
@XmlAttribute(name = "operator", required = true)
protected RangeOperator operator;
@XmlAttribute(name = "condition", required = true)
protected float condition;
/**
* Gets the value of the operator property.
*
* @return
* possible object is
* {@link RangeOperator }
*
*/
public RangeOperator getOperator() {
return operator;
}
/**
* Sets the value of the operator property.
*
* @param value
* allowed object is
* {@link RangeOperator }
*
*/
public void setOperator(RangeOperator value) {
this.operator = value;
}
/**
* Gets the value of the condition property.
*
*/
public float getCondition() {
return condition;
}
/**
* Sets the value of the condition property.
*
*/
public void setCondition(float value) {
this.condition = value;
}
}
}