Script: Class dw.object.ActiveData
Class ActiveData
- Object
- dw.object.PersistentObject
- dw.object.ExtensibleObject
- dw.object.ActiveData
- dw.object.ExtensibleObject
- dw.object.PersistentObject
Represents the active data for an object in Commerce Cloud Digital.
All Known Subclasses
CustomerActiveData, ProductActiveData
Properties
custom : CustomAttributes Read Only
The custom attributes for this object. The returned object can only be used for retrieving attribute values, not storing them. See CustomAttributes for a detailed example of the syntax for working with custom attributes.
empty : boolean Read Only
Return true if the ActiveData doesn't exist for the 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
getCustom() : CustomAttributes
Returns the custom attributes for this object.
isEmpty() : boolean
Return true if the ActiveData doesn't exist for the object
Methods inherited from class ExtensibleObject
Methods inherited from class PersistentObject
getCreationDate, getLastModified, getUUID
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. The returned object can only be used for retrieving attribute values, not storing them. See CustomAttributes for a detailed example of the syntax for working with custom attributes.
Returns:
the custom attributes for this object.
isEmpty
isEmpty() : boolean
Return true if the ActiveData doesn't exist for the object
Returns:
true if ActiveData is empty, false otherwise