Package javax.jdo.metadata
Interface MapMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.BooleangetDependentKey()Accessor for whether the key is dependent.java.lang.BooleangetDependentValue()Accessor for whether the value is dependent.java.lang.BooleangetEmbeddedKey()Accessor for whether the key is embedded.java.lang.BooleangetEmbeddedValue()Accessor for whether the value is embedded.java.lang.StringgetKeyType()Accessor for the key type.java.lang.BooleangetSerializedKey()Accessor for whether the key is serialised.java.lang.BooleangetSerializedValue()Accessor for whether the value is serialised.java.lang.StringgetValueType()Accessor for the value type.MapMetadatasetDependentKey(boolean val)Method to set whether the key is dependent.MapMetadatasetDependentValue(boolean val)Method to set whether the value is dependent.MapMetadatasetEmbeddedKey(boolean val)Method to set whether the key is embedded.MapMetadatasetEmbeddedValue(boolean val)Method to set whether the value is embedded.MapMetadatasetKeyType(java.lang.String type)Method to set the name of the key type.MapMetadatasetSerializedKey(boolean val)Method to set whether the key is serialised.MapMetadatasetSerializedValue(boolean val)Method to set whether the value is serialised.MapMetadatasetValueType(java.lang.String type)Method to set the name of the value type.-
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
-
-
-
-
Method Detail
-
setKeyType
MapMetadata setKeyType(java.lang.String type)
Method to set the name of the key type.- Parameters:
type- Name of the key type- Returns:
- This metadata object
-
getKeyType
java.lang.String getKeyType()
Accessor for the key type.- Returns:
- The key type
-
setEmbeddedKey
MapMetadata setEmbeddedKey(boolean val)
Method to set whether the key is embedded.- Parameters:
val- Whether it is embedded- Returns:
- This metadata object
-
getEmbeddedKey
java.lang.Boolean getEmbeddedKey()
Accessor for whether the key is embedded.- Returns:
- whether the key is embedded
-
setSerializedKey
MapMetadata setSerializedKey(boolean val)
Method to set whether the key is serialised.- Parameters:
val- Whether it is serialised- Returns:
- This metadata object
-
getSerializedKey
java.lang.Boolean getSerializedKey()
Accessor for whether the key is serialised.- Returns:
- whether the key is serialised
-
setDependentKey
MapMetadata setDependentKey(boolean val)
Method to set whether the key is dependent.- Parameters:
val- Whether it is dependent- Returns:
- This metadata object
-
getDependentKey
java.lang.Boolean getDependentKey()
Accessor for whether the key is dependent.- Returns:
- whether the key is dependent
-
setValueType
MapMetadata setValueType(java.lang.String type)
Method to set the name of the value type.- Parameters:
type- Name of the value type- Returns:
- This metadata object
-
getValueType
java.lang.String getValueType()
Accessor for the value type.- Returns:
- The value type
-
setEmbeddedValue
MapMetadata setEmbeddedValue(boolean val)
Method to set whether the value is embedded.- Parameters:
val- Whether it is embedded- Returns:
- This metadata object
-
getEmbeddedValue
java.lang.Boolean getEmbeddedValue()
Accessor for whether the value is embedded.- Returns:
- whether the value is embedded
-
setSerializedValue
MapMetadata setSerializedValue(boolean val)
Method to set whether the value is serialised.- Parameters:
val- Whether it is serialised- Returns:
- This metadata object
-
getSerializedValue
java.lang.Boolean getSerializedValue()
Accessor for whether the value is serialised.- Returns:
- whether the value is serialised
-
setDependentValue
MapMetadata setDependentValue(boolean val)
Method to set whether the value is dependent.- Parameters:
val- Whether it is dependent- Returns:
- This metadata object
-
getDependentValue
java.lang.Boolean getDependentValue()
Accessor for whether the value is dependent.- Returns:
- whether the value is dependent
-
-