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: JDOMapImplDynamic [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.JDOMapImplDynamic

All Implemented Interfaces:
    JDOMap, JDORelationship, JDOElement

Direct Known Subclasses:
    JDOMapImplCaching

An instance of this class represents the JDO relationship metadata (the treatment of keys and values) of a map relationship field. This dynamic implementation only stores property values explicitly set by setter method.
Field Summary
protected  Boolean embeddedKey    Property embeddedKey. 
protected transient  JavaType keyType    Property keyType. No default. 
protected  Boolean embeddedValue    Property embeddedValue. 
protected transient  JavaType valueType    Property valueType. No default. 
Fields inherited from org.apache.jdo.impl.model.jdo.JDORelationshipImpl:
mappedBy,  inverse
Method from org.apache.jdo.impl.model.jdo.JDOMapImplDynamic Summary:
getKeyType,   getKeyTypeName,   getRelatedJavaType,   getValueType,   getValueTypeName,   isEmbeddedKey,   isEmbeddedValue,   isJDOMap,   setEmbeddedKey,   setEmbeddedValue,   setKeyType,   setKeyTypeName,   setValueType,   setValueTypeName
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.JDOMapImplDynamic Detail:
 public JavaType getKeyType() 
    Get the type representation of the keys for this JDOMap.
 public String getKeyTypeName() 
    Get the string representation of the type of the keys for this JDOMap.
 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 JavaType getValueType() 
    Get the type representation of the values for this JDOMap.
 public String getValueTypeName() 
    Get the string representation of the type of the values for this JDOMap.
 public boolean isEmbeddedKey() 
    Determines whether the keys of the map should be stored if possible as part of the instance instead of as their own instances in the datastore.
 public boolean isEmbeddedValue() 
    Determines whether the values of the map should be stored if possible as part of the instance instead of as their own instances in the datastore.
 public boolean isJDOMap() 
    Determines whether this JDORelationship represents a map relationship or not. A return of true means this JDORelationship is a JDOMap instance.
 public  void setEmbeddedKey(boolean embeddedKey) 
    Set whether the keys of the map should be stored if possible as part of the instance instead of as their own instances in the datastore.
 public  void setEmbeddedValue(boolean embeddedValue) 
    Set whether the values of the map should be stored if possible as part of the instance instead of as their own instances in the datastore.
 public  void setKeyType(JavaType keyType) 
    Set the type representation of the keys for this JDOMap.
 public  void setKeyTypeName(String keyTypeName) 
    Set string representation of the type of the keys for this JDOMap.
 public  void setValueType(JavaType valueType) 
    Set the type representation of the values for this JDOMap.
 public  void setValueTypeName(String valueTypeName) 
    Set string representation of the type of the values for this JDOMap.