Package javax.jdo.metadata
Interface MapMetadata
- All Superinterfaces:
Metadata
Represents details of a map in a field/property in a class.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionAccessor for whether the key is dependent.Accessor for whether the value is dependent.Accessor for whether the key is embedded.Accessor for whether the value is embedded.Accessor for the key type.Accessor for whether the key is serialised.Accessor for whether the value is serialised.Accessor for the value type.setDependentKey
(boolean val) Method to set whether the key is dependent.setDependentValue
(boolean val) Method to set whether the value is dependent.setEmbeddedKey
(boolean val) Method to set whether the key is embedded.setEmbeddedValue
(boolean val) Method to set whether the value is embedded.setKeyType
(String type) Method to set the name of the key type.setSerializedKey
(boolean val) Method to set whether the key is serialised.setSerializedValue
(boolean val) Method to set whether the value is serialised.setValueType
(String type) Method to set the name of the value type.Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
-
Method Details
-
setKeyType
Method to set the name of the key type.- Parameters:
type
- Name of the key type- Returns:
- This metadata object
-
getKeyType
String getKeyType()Accessor for the key type.- Returns:
- The key type
-
setEmbeddedKey
Method to set whether the key is embedded.- Parameters:
val
- Whether it is embedded- Returns:
- This metadata object
-
getEmbeddedKey
Boolean getEmbeddedKey()Accessor for whether the key is embedded.- Returns:
- whether the key is embedded
-
setSerializedKey
Method to set whether the key is serialised.- Parameters:
val
- Whether it is serialised- Returns:
- This metadata object
-
getSerializedKey
Boolean getSerializedKey()Accessor for whether the key is serialised.- Returns:
- whether the key is serialised
-
setDependentKey
Method to set whether the key is dependent.- Parameters:
val
- Whether it is dependent- Returns:
- This metadata object
-
getDependentKey
Boolean getDependentKey()Accessor for whether the key is dependent.- Returns:
- whether the key is dependent
-
setValueType
Method to set the name of the value type.- Parameters:
type
- Name of the value type- Returns:
- This metadata object
-
getValueType
String getValueType()Accessor for the value type.- Returns:
- The value type
-
setEmbeddedValue
Method to set whether the value is embedded.- Parameters:
val
- Whether it is embedded- Returns:
- This metadata object
-
getEmbeddedValue
Boolean getEmbeddedValue()Accessor for whether the value is embedded.- Returns:
- whether the value is embedded
-
setSerializedValue
Method to set whether the value is serialised.- Parameters:
val
- Whether it is serialised- Returns:
- This metadata object
-
getSerializedValue
Boolean getSerializedValue()Accessor for whether the value is serialised.- Returns:
- whether the value is serialised
-
setDependentValue
Method to set whether the value is dependent.- Parameters:
val
- Whether it is dependent- Returns:
- This metadata object
-
getDependentValue
Boolean getDependentValue()Accessor for whether the value is dependent.- Returns:
- whether the value is dependent
-