org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
//
// 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: 2021.12.16 at 08:34:01 AM UTC
//
package org.hibernate.boot.jaxb.hbm.spi;
import java.io.Serializable;
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;
/**
*
* is used to assign meta-level attributes to a class
* or property. Is currently used by tooling as a placeholder for
* values that is not directly related to OR mappings.
*
* Example: the-hint-value
*
*
* Java class for ToolingHintType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ToolingHintType">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="attribute" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="inherit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ToolingHintType", namespace = "http://www.hibernate.org/xsd/orm/hbm", propOrder = {
"value"
})
public class JaxbHbmToolingHintType
implements Serializable
{
@XmlValue
protected String value;
@XmlAttribute(name = "attribute", required = true)
protected String name;
@XmlAttribute(name = "inherit")
protected Boolean inheritable;
/**
* 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 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 inheritable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isInheritable() {
if (inheritable == null) {
return true;
} else {
return inheritable;
}
}
/**
* Sets the value of the inheritable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInheritable(Boolean value) {
this.inheritable = value;
}
}