Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping.spi

public Class JaxbConvert

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:convert
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:description
Imports
java.io.Serializable, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .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>

Field Summary

Modifier and TypeField and Description
protected String
protected String
protected String
protected Boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getAttributeName
()

Gets the value of the attributeName property.

public String

Returns:

possible object is String
getConverter
()

Gets the value of the converter property.

public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public Boolean

Returns:

possible object is Boolean
isDisableConversion
()

Gets the value of the disableConversion property.

public void
setAttributeName(String
allowed object is String
value
)

Sets the value of the attributeName property.

public void
setConverter(String
allowed object is String
value
)

Sets the value of the converter property.

public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

public void
setDisableConversion(Boolean
allowed object is Boolean
value
)

Sets the value of the disableConversion property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributeNameback to summary
protected String attributeName
Annotations
@XmlAttribute
name:attribute-name
converterback to summary
protected String converter
Annotations
@XmlAttribute
name:converter
descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
disableConversionback to summary
protected Boolean disableConversion
Annotations
@XmlAttribute
name:disable-conversion

Constructor Detail

JaxbConvertback to summary
public JaxbConvert()

Method Detail

getAttributeNameback to summary
public String getAttributeName()

Gets the value of the attributeName property.

Returns:String

possible object is String

getConverterback to summary
public String getConverter()

Gets the value of the converter property.

Returns:String

possible object is String

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

isDisableConversionback to summary
public Boolean isDisableConversion()

Gets the value of the disableConversion property.

Returns:Boolean

possible object is Boolean

setAttributeNameback to summary
public void setAttributeName(String value)

Sets the value of the attributeName property.

Parameters
value:String

allowed object is String

setConverterback to summary
public void setConverter(String value)

Sets the value of the converter property.

Parameters
value:String

allowed object is String

setDescriptionback to summary
public void setDescription(String value)

Sets the value of the description property.

Parameters
value:String

allowed object is String

setDisableConversionback to summary
public void setDisableConversion(Boolean value)

Sets the value of the disableConversion property.

Parameters
value:Boolean

allowed object is Boolean