Script: Class dw.object.SimpleExtensible

Class SimpleExtensible

  • Object
    • dw.object.SimpleExtensible

Base class alternative to ExtensibleObject for customizable objects which do not rely on the metadata system. Unlike Extensible any custom attributes can be set on the fly and are not checked against an available list. Similar to Extensible method getCustom() is the central point to retrieve and store the objects attribute values.

Properties

custom : CustomAttributes Read Only

The custom attributes for this object.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getCustom() : CustomAttributes

Returns the custom attributes for this object.

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getCustom

getCustom() : CustomAttributes

Returns the custom attributes for this object.

Returns:

the custom attributes for this object.