AfEnumDescriptors Class [AX 2012]

The AfEnumDescriptors class provides access to enumeration metadata.

class AfEnumDescriptors

Run On

Called

  MethodDescription
Gg727439.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg727439.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg727439.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg727439.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg727439.privmethod(en-us,AX.60).gif new Initializes a new instance of the AfEnumDescriptors class.
Gg727439.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.)
Gg727439.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.)
Gg727439.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg727439.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg727439.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg727439.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg727439.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.)
Gg727439.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg727439.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg727439.privmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::addEnumNameIdPair Adds an enumeration name and ID pair, which is defined by the _enumId parameter, to the enumeration map.
Gg727439.privmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::cacheEnumMap Caches the enumeration map.
Gg727439.privmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::createEnumMap Creates the enumeration map.
Gg727439.pubmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::flushCache Removes the data container metadata cache.
Gg727439.privmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::getCachedEnumMap Retrieves the cached enumeration map.
Gg727439.pubmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::getEnumDescriptor Gets a descriptor for the enumeration that is identified by the specified ID.
Gg727439.pubmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::getEnumId Gets the ID for the enumeration that is identified by the specified name.
Gg727439.privmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::getEnumIds Encodes the set of supported enumerations.
Gg727439.pubmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::getEnumIdSet Gets the set of the IDs of the supported enumerations.
Gg727439.privmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::getEnumMap Gets the enumeration map.
Gg727439.pubmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::getEnumName Gets the name for the enumeration that is identified by the specified ID.
Gg727439.pubmethod(en-us,AX.60).gif Gg727439.static(en-us,AX.60).gif ::getEnumNameSet Gets the set of the supported enumeration names.
Top

All the methods of this class are static and the class cannot be initialized.

Enumeration metadata is provided in the form of SysDictEnum objects. The set of supported enumerations is encoded in the AfEnumDescriptors.getEnumIds method. To add a new supported enumeration, update the AfEnumDescriptors.getEnumIds method.

At run time, the set of supported enumerations is stored as a map object that maps enumeration names to their IDs. The map is built the first time that it is requested and cached. Subsequent requests use the cached map.

Object Class
  AfEnumDescriptors Class

Community Additions

ADD
Show: