dw.object
Class Extensible
dw.object.Extensible
Base class alternative to ExtensibleObject for objects customizable through the metadata system.
Similar to ExtensibleObject: the describe() method provides access to the related object-type metadata.
The getCustom() method is the central point to retrieve and store the objects attribute
values themselves.
All Known Subclasses
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.
To get an instance of this class, use one of the subclass constructors.
Method Summary
describe()
:
ObjectTypeDefinition
Returns the meta data of this object.
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
describe
describe()
:
ObjectTypeDefinition
Returns the meta data of this object. If no meta data is available the
method returns null. The returned ObjectTypeDefinition can be used to
retrieve the metadata for any of the custom attributes.
Returns:
the meta data of this object. If no meta data is available the method returns null.
getCustom
getCustom()
:
CustomAttributes
Returns the custom attributes for this object.
Returns:
the custom attributes for this object.