Script: Class dw.object.ObjectAttributeGroup

Class ObjectAttributeGroup

  • Object
    • dw.object.ObjectAttributeGroup

Represents a group of object attributes.

Properties

attributeDefinitions : Collection Read Only

All attribute definitions for this group. The collection may contain both system attribute definition as well as custom attribute definitions.

description : String Read Only

The description of this group in the current locale.

displayName : String Read Only

The display name of this group.

ID : String Read Only

The ID of this group.

objectTypeDefinition : ObjectTypeDefinition Read Only

The object type definition to which this attribute group belongs.

system : boolean Read Only

Identifies if this is an sytem or a custom attribute group. A system attribute group is pre-defined and can not be deleted.

Constructor Summary

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

Method Summary

getAttributeDefinitions() : Collection

Returns all attribute definitions for this group.

getDescription() : String

Returns the description of this group in the current locale.

getDisplayName() : String

Returns the display name of this group.

getID() : String

Returns the ID of this group.

getObjectTypeDefinition() : ObjectTypeDefinition

Returns the object type definition to which this attribute group belongs.

isSystem() : boolean

Identifies if this is an sytem or a custom attribute group.

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

getAttributeDefinitions

getAttributeDefinitions() : Collection

Returns all attribute definitions for this group. The collection may contain both system attribute definition as well as custom attribute definitions.

Returns:

all attribute definitions for this group.

getDescription

getDescription() : String

Returns the description of this group in the current locale.

Returns:

the display name of this group.


getDisplayName

getDisplayName() : String

Returns the display name of this group.

Returns:

the display name of this group.


getID

getID() : String

Returns the ID of this group.

Returns:

the ID of this group.


getObjectTypeDefinition

getObjectTypeDefinition() : ObjectTypeDefinition

Returns the object type definition to which this attribute group belongs.

Returns:

the object type definition to which this attribute group belongs.


isSystem

isSystem() : boolean

Identifies if this is an sytem or a custom attribute group. A system attribute group is pre-defined and can not be deleted.

Returns:

true if this is a system attribute group, false otherwise.