public class JDOCollectionImplDynamic extends JDORelationshipImpl implements JDOCollection
Modifier and Type | Field and Description |
---|---|
protected JavaType |
elementType
Property elementType.
|
protected java.lang.Boolean |
embeddedElement
Property embeddedElement.
|
CARDINALITY_N, CARDINALITY_ONE, CARDINALITY_ZERO
Constructor and Description |
---|
JDOCollectionImplDynamic() |
Modifier and Type | Method and Description |
---|---|
JavaType |
getElementType()
Get the type representation of the collection elements.
|
java.lang.String |
getElementTypeName()
Get the type of collection elements as string.
|
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 |
setElementType(JavaType elementType)
Set the type representation of the collection elements.
|
void |
setElementTypeName(java.lang.String elementTypeName)
Set string representation of the type of collection elements.
|
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, firePropertyChange, fireVetoableChange, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeclaringField, getInverseRelationship, getLowerBound, getUpperBound, setDeclaringField, setInverseRelationship, setLowerBound, setUpperBound
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
protected java.lang.Boolean embeddedElement
protected transient JavaType elementType
public boolean isEmbeddedElement()
isEmbeddedElement
in interface JDOCollection
true
if the elements should be stored as part of
the instance; false
otherwisepublic void setEmbeddedElement(boolean embeddedElement)
setEmbeddedElement
in interface JDOCollection
embeddedElement
- true
if elements should be stored
as part of the instancepublic JavaType getElementType()
getElementType
in interface JDOCollection
public void setElementType(JavaType elementType)
setElementType
in interface JDOCollection
elementType
- the type representation of the collection elementspublic java.lang.String getElementTypeName()
getElementTypeName
in interface JDOCollection
public void setElementTypeName(java.lang.String elementTypeName)
setElementTypeName
in interface JDOCollection
elementTypeName
- a string representation of the type of elements in
the collection.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.