All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.jaxb.mapping.spi.JaxbConvert Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
//
// 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.08.30 at 02:56:23 PM UTC 
//


package org.hibernate.boot.jaxb.mapping.spi;

import java.io.Serializable;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
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", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm", propOrder = { "description" }) public class JaxbConvert implements Serializable { @XmlElement(namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy