Axaptapedia is now maintained by AgileCadence For more information please click here.
Maps is a logical collection of almost identical tables. A map is a compensation for the fact that tables cannot inherit properties from one another. The critical difference is that even though Map resembles a table at first glance, it does not contain data but functions rather as a library of methods intended to be shared by several tables.
Maps is located in the AOT in tables.
The syntax for calling a method in Maps is:
Note that the '::' is actually a dynamic call when using it with Maps.
Note that the 'this' keyword in Map method is actually a reference to the Table. To use one map method from another map method of the same Map, you must use this.Map::Method() instead of using intuitive 'this.Method()'.