Share via


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
Gg753696.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg753696.privmethod(en-us,AX.60).gif new Initializes a new instance of the AfDataContainerFactory class.
Gg753696.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg753696.pubmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::createArray Constructs a new array.
Gg753696.pubmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::createDataContainer Creates a weakly-typed data container.
Gg753696.privmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::createDataContainerClassMap Creates the data container class map.
Gg753696.pubmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::createDataContainerList Creates a weakly-typed data container list.
Gg753696.pubmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::createStronglyTypedDataContainer Creates a strongly-typed data container of the specified type.
Gg753696.pubmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::createStronglyTypedDataContainerList Creates a strongly-typed data container list of the specified type.
Gg753696.pubmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::flushCache Flushes the data container class cache.
Gg753696.privmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::getDataContainerClassMap Gets the data container class map.
Gg753696.pubmethod(en-us,AX.60).gif Gg753696.static(en-us,AX.60).gif ::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