Class JaxbConvertImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbConvertImpl
All Implemented Interfaces:
Serializable

public class JaxbConvertImpl extends Object implements 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 Details

    • description

      protected String description
    • converter

      protected String converter
    • attributeName

      protected String attributeName
    • disableConversion

      protected Boolean disableConversion
  • Constructor Details

    • JaxbConvertImpl

      public JaxbConvertImpl()
  • Method Details

    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getConverter

      public String getConverter()
      Gets the value of the converter property.
      Returns:
      possible object is String
    • setConverter

      public void setConverter(String value)
      Sets the value of the converter property.
      Parameters:
      value - allowed object is String
    • getAttributeName

      public String getAttributeName()
      Gets the value of the attributeName property.
      Returns:
      possible object is String
    • setAttributeName

      public void setAttributeName(String value)
      Sets the value of the attributeName property.
      Parameters:
      value - allowed object is String
    • isDisableConversion

      public Boolean isDisableConversion()
      Gets the value of the disableConversion property.
      Returns:
      possible object is Boolean
    • setDisableConversion

      public void setDisableConversion(Boolean value)
      Sets the value of the disableConversion property.
      Parameters:
      value - allowed object is Boolean