Responsible for keeping track of the available data type primitives (such as string, integer, etc) and creation of the appropriate classes when those data types are required. Is also responsible for mapping Primitives with their respective StorablePrimitives so that we can store them in the database.
Located in /harmoni/core/dataManager/DataTypeManager.class.php (line 22)
Adds a specific data type (identified by a string such as "integer") to our registry. Each data type has two classes associated with it: a Primitive and a StorablePrimitive. The former is used when setting/getting values, the latter used when talking with the database.
Answer the method to call to convert to the type specified
Returns an array of the StorablePrimitives that we have registered.
Returns an array of strings that represent all of the available Primitives.
Takes an object and a DataType name and checks if the object is of the correct class to be an object of DataType $type.
Creates a new Primitive object that is associated with the type registered under $name.
Returns the primitive class that is associated with the given $type.
Recasts a SObject to its associated StorablePrimitive class and returns the new object.
Returns the storable-primitive class that is associated with the given $name.
Check if we have a datatype registered under $name.
Documentation generated on Wed, 19 Sep 2007 10:22:31 -0400 by phpDocumentor 1.3.0RC3