Top Description Methods
org.eclipse.persistence.annotations

public @Interface StructConverter

extends Annotation
Annotations
@Target:TYPE, METHOD, FIELD
@Retention:RUNTIME
@Repeatable:StructConverters
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .ElementType.TYPE, .RetentionPolicy.RUNTIME

A StructConverter is a special type of converter that handles the conversion of a specific database Struct type. This is normally used for extended database types such as spatial geometric types. A StructConverter is different than a regular attribute Converter, and does not implement the same interface. A StructConverter will be used to convert any matching Struct type.
See Also
org.eclipse.persistence.platform.database.converters.StructConverter

Method Summary

Modifier and TypeMethod and Description
public String
converter()

(Required) The StructConverter class to be used.

public String
name()

(Required) Name this converter.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

converterback to summary
public String converter()

(Required) The StructConverter class to be used. This class must implement the EclipseLink org.eclipse.persistence.platform.database.converters.StructConverter interface. You may also alternatively specify a pre-defined EclipseLink org.eclipse.persistence.config.StructConverterType

See Also
org.eclipse.persistence.platform.database.converters.StructConverter, org.eclipse.persistence.config.StructConverterType
nameback to summary
public String name()

(Required) Name this converter. The name should be unique across the whole persistence unit.