public class JDOArrayImplDynamic extends JDORelationshipImpl implements JDOArray
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
embeddedElement
Property embeddedElement.
|
inverse, mappedBy
CARDINALITY_N, CARDINALITY_ONE, CARDINALITY_ZERO
Constructor and Description |
---|
JDOArrayImplDynamic() |
Modifier and Type | Method and Description |
---|---|
JavaType |
getElementType()
Get the type representation of the array component type.
|
JavaType |
getRelatedJavaType()
Get the type representation of the relationship.
|
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.
|
boolean |
isJDOArray()
Determines whether this JDORelationship represents an array
relationship or not.
|
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, getInverseRelationshipName, getLowerBound, getMappedBy, getRelatedJDOClass, getUpperBound, isJDOCollection, isJDOMap, isJDOReference, isOwner, setDeclaringField, setInverseRelationship, setLowerBound, setMappedBy, setUpperBound
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, firePropertyChange, fireVetoableChange, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeclaringField, getInverseRelationship, getInverseRelationshipName, getLowerBound, getMappedBy, getRelatedJDOClass, getUpperBound, isJDOCollection, isJDOMap, isJDOReference, isOwner, setDeclaringField, setInverseRelationship, setLowerBound, setMappedBy, setUpperBound
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
public boolean isEmbeddedElement()
isEmbeddedElement
in interface JDOArray
true
if the elements should be stored as part of
the instance; false
otherwisepublic void setEmbeddedElement(boolean embeddedElement)
setEmbeddedElement
in interface JDOArray
embeddedElement
- flag indicating whether the elements should be
stored as part of the instancepublic JavaType getElementType()
getElementType
in interface JDOArray
public boolean isJDOArray()
true
means this
JDORelationship is a JDOArray instance.isJDOArray
in interface JDORelationship
isJDOArray
in class JDORelationshipImpl
true
if this JDORelationship represents an
array relationship; false
otherwise.public JavaType getRelatedJavaType()
getRelatedJavaType
in class JDORelationshipImpl
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.