AxdBaseProperty Class [AX 2012]

The AxdBaseProperty class stores field properties or method properties. An object of this class is typically stored together with the field or method in a Microsoft Dynamics AXMap.

Syntax

class AxdBaseProperty implements SysPackable

Run On

Called

Methods

  Method Description
Gg813851.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg813851.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.)
Gg813851.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.)
Gg813851.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the AxdBaseProperty class.
Gg813851.pubmethod(en-us,AX.60).gif parmArraySize Gets or sets the ArraySize parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmBaseType Gets or sets the BaseType parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmChildPropertyList Gets or sets the ChildPropertyList parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmEnumId Gets or sets the EnumId parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmExtendedTypeId Gets or sets the ExtendedTypeId parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmImplementingClassId Gets or sets the ImplementingClassId parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmImplementingFieldId Gets or sets the ImplementingFieldId parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmImplementingFieldName Gets or sets the ImplementingFieldName parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmImplementingTableId Gets or sets the ImplementingTableId parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmImplementingTableName Gets or sets the ImplementingTableName parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmIsMandatory Gets or sets the IsMandatory parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmIsTypeTime Gets or sets the IsTypeTime parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmNoOfDecimals Gets or sets the NoOfDecimals parameter.
Gg813851.pubmethod(en-us,AX.60).gif parmPropertyName Gets or sets the PropertyName parameter.
Gg813851.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif unpack Deserializes the packedClass parameter value to an instance of the AxdBaseProperty class.
Gg813851.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.)
Gg813851.privmethod(en-us,AX.60).gif validateImplementingField
Gg813851.privmethod(en-us,AX.60).gif validateImplementingTable
Gg813851.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg813851.pubmethod(en-us,AX.60).gif Gg813851.static(en-us,AX.60).gif ::buildAxdBaseProperty Creates an AxdBaseProperty object.
Gg813851.pubmethod(en-us,AX.60).gif Gg813851.static(en-us,AX.60).gif ::buildSurrogateForeignKeyPropertyList
Gg813851.pubmethod(en-us,AX.60).gif Gg813851.static(en-us,AX.60).gif ::construct Initializes a new instance of the AxdBaseProperty class.
Gg813851.pubmethod(en-us,AX.60).gif Gg813851.static(en-us,AX.60).gif ::create

Top

Examples

static void exampleMethod(Args _args) 
{ 
    
    // Example of caching AxdBaseProperty in a Map. 
    AxdBaseProperty axdBaseProperty; 
    SysDictTable    sysDictTable = new SysDictTable(tableNum(CustTable)); 
    SysDictField    sysDictField; 
    SysDictType     sysDictType; 
    Map             map          = new Map(Types::Integer, Types::Class); 
    int             i; 
    // Find all fields on the table. 
    for (i = sysDictTable.fieldCnt(); i > 0; i--) 
    { 
        sysDictField    = new SysDictField( 
            tableNum(CustTable), 
            sysDictTable.fieldCnt2Id(i)); 
        // Create the AxdBaseProperty 
        sysDictType     = new SysDictType(sysDictField.typeId()); 
        axdBaseProperty = AxdBaseProperty::construct(); 
        axdBaseProperty.parmArraySize(sysDictField.arraySize()); 
        axdBaseProperty.parmPropertyName(sysDictField.name()); 
        axdBaseProperty.parmBaseType(sysDictField.baseType()); 
        axdBaseProperty.parmNoOfDecimals(sysDictType.noOfDecimals()); 
        axdBaseProperty.parmExtendedTypeId(sysDictType.id()); 
        // Cache the AxdBaseProperty. 
        map.insert( 
            sysDictField.id(), 
            axdBaseProperty); 
    } 
    // Lookup the AxdBaseProperty if it is cached. 
    if (sysDictField && map.exists(sysDictField.id())) 
    { 
        axdBaseProperty = map.lookup(sysDictField.id()); 
        // Do something with the AxdBaseProperty. 
    } 
}

Inheritance Hierarchy

Object Class
  AxdBaseProperty Class

See Also

AxdBaseRead Class

AxdBaseCreate Class

Map Class