org.apache.jdo.model.jdo
Interface JDOArray
- All Superinterfaces:
- JDOElement, JDORelationship
- All Known Implementing Classes:
- JDOArrayImplCaching, JDOArrayImplDynamic
public interface JDOArray
- extends JDORelationship
A JDOArray instance represents the JDO relationship metadata
of a array relationship field.
- Author:
- Michael Bouschen
Method Summary |
JavaType |
getElementType()
Get the type representation of the array component type. |
boolean |
isEmbeddedElement()
Determines whether the values of the elements should be stored
if possible as part of the instance instead of as their own instances
in the datastore. |
void |
setEmbeddedElement(boolean embeddedElement)
Set whether the values of the elements should be stored
if possible as part of the instance instead of as their own instances
in the datastore. |
isEmbeddedElement
boolean isEmbeddedElement()
- Determines whether the values of the elements should be stored
if possible as part of the instance instead of as their own instances
in the datastore.
- Returns:
true
if the elements should be stored as part of
the instance; false
otherwise
setEmbeddedElement
void setEmbeddedElement(boolean embeddedElement)
throws ModelException
- Set whether the values of the elements should be stored
if possible as part of the instance instead of as their own instances
in the datastore.
- Parameters:
embeddedElement
- flag indicating whether the elements should be
stored as part of the instance
- Throws:
ModelException
- if impossible
getElementType
JavaType getElementType()
- Get the type representation of the array component type.
- Returns:
- the array component type
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.