Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / ZeroAsNullInt Class
Properties Methods


In This Topic
    ZeroAsNullInt Class Members
    In This Topic

    The following tables list the members exposed by ZeroAsNullInt.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public Property Gets a value indicating whether objects of this type are mutable.  
    Public PropertyGets the type returned by NullSafeGet()  
    Public Property Gets the SQL types for the columns mapped by this type.  
    Top
    Public Methods
     NameDescription
    Public Method Reconstruct an object from the cacheable representation. At the very least this method should perform a deep copy if the type is mutable. (optional operation)  
    Public Method Return a deep copy of the persistent state, stopping at entities and at collections.  
    Public Method Transform the object into its cacheable representation. At the very least this method should perform a deep copy if the type is mutable. That may not be enough for some implementations, however; for example, associations must be cached as identifier values. (optional operation)  
    Public MethodOverloaded.  Compare two instances of the class mapped by this type for persistent "equality" ie. equality of persistent state  
    Public MethodOverloaded.  Get a hashcode for the instance, consistent with persistence "equality"  
    Public Method Retrieve an instance of the mapped class from a JDBC resultset. Implementors should handle possibility of null values.  
    Public Method Write an instance of the mapped class to a prepared statement. Implementors should handle possibility of null values. A multi-column type should be written to parameters starting from index.  
    Public MethodDuring merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging. For immutable objects, or null values, it is safe to simply return the first parameter. For mutable objects, it is safe to return a copy of the first parameter. For objects with component values, it might make sense to recursively replace component values.  
    Top
    Extension Methods
     NameDescription
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also