org.jaxdb.ddlx_0_4.Binary 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;
import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for binary complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="binary">
* <complexContent>
* <extension base="{http://www.jaxdb.org/sqlx-0.4.xsd}binary">
* <attGroup ref="{http://www.jaxdb.org/ddlx-0.4.xsd}binary"/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "binary")
public class Binary
extends org.jaxdb.sqlx_0_4.Binary
{
@XmlAttribute(name = "length", required = true)
protected int length;
@XmlAttribute(name = "varying")
protected java.lang.Boolean varying;
@XmlAttribute(name = "default")
@XmlJavaTypeAdapter(HexBinaryAdapter.class)
protected byte[] _default;
/**
* Gets the value of the length property.
*
*/
public int getLength() {
return length;
}
/**
* Sets the value of the length property.
*
*/
public void setLength(int value) {
this.length = value;
}
/**
* Gets the value of the varying property.
*
* @return
* possible object is
* {@link java.lang.Boolean }
*
*/
public java.lang.Boolean getVarying() {
if (varying == null) {
return false;
} else {
return varying;
}
}
/**
* Sets the value of the varying property.
*
* @param value
* allowed object is
* {@link java.lang.Boolean }
*
*/
public void setVarying(java.lang.Boolean value) {
this.varying = value;
}
/**
* Gets the value of the default property.
*
* @return
* possible object is
* {@link String }
*
*/
public byte[] getDefault() {
return _default;
}
/**
* Sets the value of the default property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDefault(byte[] value) {
this._default = value;
}
}