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

org.hibernate.jpamodelgen.xml.jaxb.Convert Maven / Gradle / Ivy


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.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. * *

{@code
 * 
 *   
 *     
 *       
 *         
 *       
 *       
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "convert", namespace = "https://jakarta.ee/xml/ns/persistence/orm", propOrder = { "description" }) public class Convert { @XmlElement(namespace = "https://jakarta.ee/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 - 2025 Weber Informatics LLC | Privacy Policy