Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.model.jdo » [javadoc | source]
org.apache.jdo.model.jdo
public class: NullValueTreatment [javadoc | source]
java.lang.Object
   org.apache.jdo.model.jdo.NullValueTreatment
This interface provides constants denoting the treatment of null values for persistent fields during storage in the data store.
Field Summary
public static final  int NONE    Constant representing converting a null value of a field of nullable type to the default value for the type in the datastore. 
public static final  int EXCEPTION    Constant representing throwing an exception when storing a null value of field of a nullable type that is mapped to non-nullable type in the datastore. 
public static final  int DEFAULT    Constant representing converting a null value of a field of nullable type to the default value for the type in the datastore. 
Method from org.apache.jdo.model.jdo.NullValueTreatment Summary:
toNullValueTreatment,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.model.jdo.NullValueTreatment Detail:
 public static int toNullValueTreatment(String nullValueTreatment) 
    Returns the NullValueTreatment constant for the string representation.
 public static String toString(int nullValueTreatment) 
    Returns a string representation of the specified NullValueTreatment constant.