org.hibernate.internal.jaxb.mapping.hbm.JaxbSqlUpdateElement Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.05.22 at 01:35:13 PM EDT
//
package org.hibernate.internal.jaxb.mapping.hbm;
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.XmlValue;
/**
* Java class for sql-update-element complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="sql-update-element">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="callable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="check" type="{http://www.hibernate.org/xsd/hibernate-mapping}check-attribute" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sql-update-element", propOrder = {
"value"
})
public class JaxbSqlUpdateElement
implements CustomSqlElement
{
@XmlValue
protected String value;
@XmlAttribute
protected Boolean callable;
@XmlAttribute
protected JaxbCheckAttribute check;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the callable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isCallable() {
if (callable == null) {
return false;
} else {
return callable;
}
}
/**
* Sets the value of the callable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCallable(Boolean value) {
this.callable = value;
}
/**
* Gets the value of the check property.
*
* @return
* possible object is
* {@link JaxbCheckAttribute }
*
*/
public JaxbCheckAttribute getCheck() {
return check;
}
/**
* Sets the value of the check property.
*
* @param value
* allowed object is
* {@link JaxbCheckAttribute }
*
*/
public void setCheck(JaxbCheckAttribute value) {
this.check = value;
}
}