Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.impl.model.jdo » [javadoc | source]
org.apache.jdo.impl.model.jdo
public class: JDOCollectionImplDynamic [javadoc | source]
java.lang.Object
   org.apache.jdo.impl.model.jdo.JDOElementImpl
      org.apache.jdo.impl.model.jdo.JDORelationshipImpl
         org.apache.jdo.impl.model.jdo.JDOCollectionImplDynamic

All Implemented Interfaces:
    JDOCollection, JDORelationship, JDOElement

Direct Known Subclasses:
    JDOCollectionImplCaching

An instance of this class represents the JDO relationship metadata of a collection relationship field. This dynamic implementation only stores property values explicitly set by setter method.
Field Summary
protected  Boolean embeddedElement    Property embeddedElement. 
protected transient  JavaType elementType    Property elementType. 
Fields inherited from org.apache.jdo.impl.model.jdo.JDORelationshipImpl:
mappedBy,  inverse
Method from org.apache.jdo.impl.model.jdo.JDOCollectionImplDynamic Summary:
getElementType,   getElementTypeName,   getRelatedJavaType,   isEmbeddedElement,   isJDOCollection,   setElementType,   setElementTypeName,   setEmbeddedElement
Methods from org.apache.jdo.impl.model.jdo.JDORelationshipImpl:
getDeclaringField,   getInverseRelationship,   getInverseRelationshipName,   getLowerBound,   getMappedBy,   getRelatedJDOClass,   getRelatedJavaType,   getUpperBound,   isJDOArray,   isJDOCollection,   isJDOMap,   isJDOReference,   isOwner,   setDeclaringField,   setInverseRelationship,   setLowerBound,   setMappedBy,   setUpperBound
Methods from org.apache.jdo.impl.model.jdo.JDOElementImpl:
addPropertyChangeListener,   addVetoableChangeListener,   createJDOExtension,   firePropertyChange,   fireVetoableChange,   getJDOExtensions,   removeJDOExtension,   removePropertyChangeListener,   removeVetoableChangeListener
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.impl.model.jdo.JDOCollectionImplDynamic Detail:
 public JavaType getElementType() 
    Get the type representation of the collection elements.
 public String getElementTypeName() 
    Get the type of collection elements as string.
 public JavaType getRelatedJavaType() 
    Get the type representation of the relationship. This will be the JavaType for references, the element type for collections and arrays, and the value type for maps.
 public 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.
 public boolean isJDOCollection() 
    Determines whether this JDORelationship represents a collection relationship or not. A return of true means this JDORelationship is a JDOCollection instance.
 public  void setElementType(JavaType elementType) 
    Set the type representation of the collection elements.
 public  void setElementTypeName(String elementTypeName) 
    Set string representation of the type of collection elements.
 public  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.