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

public Class Adapter6

extends XmlAdapter<String, GenerationType>
Class Inheritance
Imports
javax.persistence.GenerationType, javax.xml.bind.annotation.adapters.XmlAdapter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
marshal(GenerationType
The value to be convereted. Can be null.
value
)

Implements abstract javax.xml.bind.annotation.adapters.XmlAdapter.marshal.

Convert a bound type to a value type.
public GenerationType
unmarshal(String
The value to be converted. Can be null.
value
)

Implements abstract javax.xml.bind.annotation.adapters.XmlAdapter.unmarshal.

Convert a value type to a bound type.

Constructor Detail

Adapter6back to summary
public Adapter6()

Method Detail

marshalback to summary
public String marshal(GenerationType value)

Implements abstract javax.xml.bind.annotation.adapters.XmlAdapter.marshal.

Doc from javax.xml.bind.annotation.adapters.XmlAdapter.marshal.

Convert a bound type to a value type.

Parameters
value:GenerationType

The value to be convereted. Can be null.

unmarshalback to summary
public GenerationType unmarshal(String value)

Implements abstract javax.xml.bind.annotation.adapters.XmlAdapter.unmarshal.

Doc from javax.xml.bind.annotation.adapters.XmlAdapter.unmarshal.

Convert a value type to a bound type.

Parameters
value:String

The value to be converted. Can be null.