Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.model.jdo » [javadoc | source]
org.apache.jdo.model.jdo
public interface: JDOMap [javadoc | source]

All Implemented Interfaces:
    JDORelationship

All Known Implementing Classes:
    JDOMapImplCaching, JDOMapImplDynamic

A JDOMap instance represents the JDO relationship metadata (the treatment of keys and values) of a map relationship field.
Method from org.apache.jdo.model.jdo.JDOMap Summary:
getKeyType,   getKeyTypeName,   getValueType,   getValueTypeName,   isEmbeddedKey,   isEmbeddedValue,   setEmbeddedKey,   setEmbeddedValue,   setKeyType,   setKeyTypeName,   setValueType,   setValueTypeName
Method from org.apache.jdo.model.jdo.JDOMap 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 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  void setEmbeddedKey(boolean embeddedKey) throws ModelException
    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) throws ModelException
    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) throws ModelException
    Set the type representation of the keys for this JDOMap.
 public  void setKeyTypeName(String keyTypeName) throws ModelException
    Set string representation of the type of the keys for this JDOMap.
 public  void setValueType(JavaType valueType) throws ModelException
    Set the type representation of the values for this JDOMap.
 public  void setValueTypeName(String valueTypeName) throws ModelException
    Set string representation of the type of the values for this JDOMap.