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

public Class Adapter9

extends XmlAdapter<String, OptimisticLockStyle>
Class Inheritance
Imports
javax.xml.bind.annotation.adapters.XmlAdapter, org.hibernate.engine.OptimisticLockStyle

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
marshal(OptimisticLockStyle
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 OptimisticLockStyle
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

Adapter9back to summary
public Adapter9()

Method Detail

marshalback to summary
public String marshal(OptimisticLockStyle 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:OptimisticLockStyle

The value to be convereted. Can be null.

unmarshalback to summary
public OptimisticLockStyle 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.