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

public Class JaxbConverter

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:converter
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 Converter { boolean autoApply() default false; }

Java class for converter complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="converter">
  <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="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="auto-apply" type="{http://www.w3.org/2001/XMLSchema}boolean" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected Boolean
protected String
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getClazz
()

Gets the value of the clazz property.

public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public Boolean

Returns:

possible object is Boolean
isAutoApply
()

Gets the value of the autoApply property.

public void
setAutoApply(Boolean
allowed object is Boolean
value
)

Sets the value of the autoApply property.

public void
setClazz(String
allowed object is String
value
)

Sets the value of the clazz property.

public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

autoApplyback to summary
protected Boolean autoApply
Annotations
@XmlAttribute
name:auto-apply
clazzback to summary
protected String clazz
Annotations
@XmlAttribute
name:class
required:true
descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm

Constructor Detail

JaxbConverterback to summary
public JaxbConverter()

Method Detail

getClazzback to summary
public String getClazz()

Gets the value of the clazz 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

isAutoApplyback to summary
public Boolean isAutoApply()

Gets the value of the autoApply property.

Returns:Boolean

possible object is Boolean

setAutoApplyback to summary
public void setAutoApply(Boolean value)

Sets the value of the autoApply property.

Parameters
value:Boolean

allowed object is Boolean

setClazzback to summary
public void setClazz(String value)

Sets the value of the clazz 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