org.jpox.annotations
Annotation Type Map


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Map

Annotation for defining the persistence of a map. This is mandatory for a map field if

If generics are used then the key/value types can be determined from the generic types.

Version:
$Revision: 1.3 $

Optional Element Summary
 java.lang.String dependentKey
          Whether the key is dependent and so is deleted when the owner is deleted (true/false).
 java.lang.String dependentValue
          Whether the value is dependent and so is deleted when the owner is deleted (true/false).
 java.lang.String embeddedKey
          Whether the key is embedded in the join table (true/false).
 java.lang.String embeddedValue
          Whether the value is embedded in the join table (true/false).
 java.lang.String keyType
          Type of the key.
 java.lang.String serializedKey
          Whether the key is serialised into a column the join table (true/false).
 java.lang.String serializedValue
          Whether the value is serialised into a column the join table (true/false).
 java.lang.String valueType
          Type of the value.
 

keyType

public abstract java.lang.String keyType
Type of the key.

Default:
""

embeddedKey

public abstract java.lang.String embeddedKey
Whether the key is embedded in the join table (true/false).

Default:
""

serializedKey

public abstract java.lang.String serializedKey
Whether the key is serialised into a column the join table (true/false).

Default:
""

dependentKey

public abstract java.lang.String dependentKey
Whether the key is dependent and so is deleted when the owner is deleted (true/false).

Default:
""

valueType

public abstract java.lang.String valueType
Type of the value.

Default:
""

embeddedValue

public abstract java.lang.String embeddedValue
Whether the value is embedded in the join table (true/false).

Default:
""

serializedValue

public abstract java.lang.String serializedValue
Whether the value is serialised into a column the join table (true/false).

Default:
""

dependentValue

public abstract java.lang.String dependentValue
Whether the value is dependent and so is deleted when the owner is deleted (true/false).

Default:
""


Copyright © 2003-2008 Java Persistent Objects (JPOX). All Rights Reserved.