Class JaxbConvertImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbConvertImpl
- All Implemented Interfaces:
Serializable
@Repeatable(Converts.class)
@Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
public @interface Convert {
Class<? extends AttributeConverter> converter() default AttributeConverter.class;
String attributeName() default "";
boolean disableConversion() default false;
}
<p>Java class for convert complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<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>
}</pre>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attributeName property.Gets the value of the converter property.Gets the value of the description property.Gets the value of the disableConversion property.voidsetAttributeName(String value) Sets the value of the attributeName property.voidsetConverter(String value) Sets the value of the converter property.voidsetDescription(String value) Sets the value of the description property.voidsetDisableConversion(Boolean value) Sets the value of the disableConversion property.
-
Field Details
-
description
-
converter
-
attributeName
-
disableConversion
-
-
Constructor Details
-
JaxbConvertImpl
public JaxbConvertImpl()
-
-
Method Details
-
getDescription
-
setDescription
-
getConverter
-
setConverter
-
getAttributeName
-
setAttributeName
-
isDisableConversion
-
setDisableConversion
-