Package javax.jdo.metadata
Interface CollectionMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.BooleangetDependentElement()Accessor for whether the element is dependentjava.lang.StringgetElementType()Accessor for the element type.java.lang.BooleangetEmbeddedElement()Accessor for whether the element is embedded.java.lang.BooleangetSerializedElement()Accessor for whether the element is serialised.CollectionMetadatasetDependentElement(boolean val)Method to set whether the element is dependent.CollectionMetadatasetElementType(java.lang.String type)Method to set the name of the element type.CollectionMetadatasetEmbeddedElement(boolean val)Method to set whether the element is embedded.CollectionMetadatasetSerializedElement(boolean val)Method to set whether the element is serialised.-
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
-
-
-
-
Method Detail
-
setElementType
CollectionMetadata setElementType(java.lang.String type)
Method to set the name of the element type.- Parameters:
type- Name of the element type- Returns:
- This metadata object
-
getElementType
java.lang.String getElementType()
Accessor for the element type.- Returns:
- The element type
-
setEmbeddedElement
CollectionMetadata setEmbeddedElement(boolean val)
Method to set whether the element is embedded.- Parameters:
val- Whether it is embedded- Returns:
- This metadata object
-
getEmbeddedElement
java.lang.Boolean getEmbeddedElement()
Accessor for whether the element is embedded.- Returns:
- whether the element is embedded
-
setSerializedElement
CollectionMetadata setSerializedElement(boolean val)
Method to set whether the element is serialised.- Parameters:
val- Whether it is serialised- Returns:
- This metadata object
-
getSerializedElement
java.lang.Boolean getSerializedElement()
Accessor for whether the element is serialised.- Returns:
- whether the element is serialised
-
setDependentElement
CollectionMetadata setDependentElement(boolean val)
Method to set whether the element is dependent.- Parameters:
val- Whether it is dependent- Returns:
- This metadata object
-
getDependentElement
java.lang.Boolean getDependentElement()
Accessor for whether the element is dependent- Returns:
- whether the element is dependent
-
-