|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface BasicMap
A BasicMap is used to map an org.eclipse.persistence.mappings.DirectMapMapping, which stores a collection of key-value pairs of simple types (String, Number, Date, etc.). It is used in conjunction with a CollectionTable which stores the key, the value and a foreign key to the source object.
A converter may be used if the desired object type and the data type do not
match. This applied to both the key and value of the map.
,
Convert
,
Converter
,
ObjectTypeConverter
,
A BasicMap can be specified within an Entity, MappedSuperclass and Embeddable
class.
,
ElementCollection
Optional Element Summary | |
---|---|
FetchType |
fetch
Deprecated. (Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. |
Column |
keyColumn
Deprecated. (Optional) The name of the data column that holds the direct map key. |
Convert |
keyConverter
Deprecated. (Optional) Specify the key converter. |
Column |
valueColumn
Deprecated. (Optional) The name of the data column that holds the direct collection data. |
Convert |
valueConverter
Deprecated. (Optional) Specify the value converter. |
public abstract FetchType fetch
public abstract Column keyColumn
public abstract Convert keyConverter
public abstract Column valueColumn
public abstract Convert valueConverter
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |