public interface JDOArray extends JDORelationship
CARDINALITY_N, CARDINALITY_ONE, CARDINALITY_ZERO
Modifier and Type | Method and Description |
---|---|
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.
|
getDeclaringField, getInverseRelationship, getLowerBound, getUpperBound, setDeclaringField, setInverseRelationship, setLowerBound, setUpperBound
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
boolean isEmbeddedElement()
true
if the elements should be stored as part of
the instance; false
otherwisevoid setEmbeddedElement(boolean embeddedElement) throws ModelException
embeddedElement
- flag indicating whether the elements should be
stored as part of the instanceModelException
- if impossibleJavaType getElementType()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.