AfDataContainerFactory Class [AX 2012]
The AfDataContainerFactory class encapsulates the instantiation logic for all types of data containers and data container lists.
Syntax
class AfDataContainerFactory
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | Initializes a new instance of the AfDataContainerFactory class. | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::createArray | Constructs a new array. | |
::createDataContainer | Creates a weakly-typed data container. | |
::createDataContainerClassMap | Creates the data container class map. | |
::createDataContainerList | Creates a weakly-typed data container list. | |
::createStronglyTypedDataContainer | Creates a strongly-typed data container of the specified type. | |
::createStronglyTypedDataContainerList | Creates a strongly-typed data container list of the specified type. | |
::flushCache | Flushes the data container class cache. | |
::getDataContainerClassMap | Gets the data container class map. | |
::getStronglyTypedDataContainerClassId | Gets the class ID of the strongly-typed data container class for the specified data container type. |
Top
Remarks
All methods of this class are static and fall in one of two categories: weakly-typed constructors or strongly-typed constructors.
Weakly-typed constructors take a data container type as a parameter and return weakly-typed data containers and data container lists. The createDataContainer and the createDataContainerList methods are weakly-typed constructors.
Strongly-typed constructors do not take any parameters and return strongly-typed data containers. There is no support for strongly-typed data container lists currently. Each data container type that supports a strongly-typed interface has a separate constructor named that is named in the 'create<DataContainerType>DataContainer' format.
Inheritance Hierarchy
Object Class
AfDataContainerFactory Class