org.hibernate.jpamodelgen.xml.jaxb.Convert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-jpamodelgen-jakarta Show documentation
Show all versions of hibernate-jpamodelgen-jakarta Show documentation
Annotation Processor to generate JPA 3 static metamodel classes
//
// 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: 2022.09.27 at 12:27:10 PM UTC
//
package org.hibernate.jpamodelgen.xml.jaxb;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;
/**
*
*
* @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
* public @interface Convert {
* Class converter() default void.class;
* String attributeName() default "";
* boolean disableConversion() default false;
* }
*
*
*
* Java class for convert complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="convert">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* <attribute name="converter" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="attribute-name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="disable-conversion" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "convert", propOrder = {
"description"
})
public class Convert {
protected String description;
@XmlAttribute(name = "converter")
protected String converter;
@XmlAttribute(name = "attribute-name")
protected String attributeName;
@XmlAttribute(name = "disable-conversion")
protected Boolean disableConversion;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the converter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getConverter() {
return converter;
}
/**
* Sets the value of the converter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setConverter(String value) {
this.converter = value;
}
/**
* Gets the value of the attributeName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAttributeName() {
return attributeName;
}
/**
* Sets the value of the attributeName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAttributeName(String value) {
this.attributeName = value;
}
/**
* Gets the value of the disableConversion property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDisableConversion() {
return disableConversion;
}
/**
* Sets the value of the disableConversion property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDisableConversion(Boolean value) {
this.disableConversion = value;
}
}