Class: Attribute

inventory.Attribute

new Attribute()

Source:

Methods

(static) Attribute#getId() → {String}

Get the field value Unique identifier
Source:
Returns:
Type
String

(static) Attribute#getItemGroup() → {base.Reference}

Get the field value The item group this attribute belongs to
Source:
Returns:
Type
base.Reference

(static) Attribute#getName() → {String}

Get the field value Name of this attribute
Source:
Returns:
Type
String

(static) Attribute#getOptions() → {Array.<inventory.Option>}

Get the field value Options associated with this attribute
Source:
Returns:
An array of
Type
Array.<inventory.Option>

(static) Attribute#setId(id)

Set the field value Unique identifier
Parameters:
Name Type Description
id String
Source:

(static) Attribute#setItemGroup(itemGroup)

Set the field value The item group this attribute belongs to
Parameters:
Name Type Description
itemGroup base.Reference
Source:

(static) Attribute#setName(name)

Set the field value Name of this attribute
Parameters:
Name Type Description
name String
Source:

(static) Attribute#setOptions(options)

Set the field value Options associated with this attribute
Parameters:
Name Type Description
options Array.<inventory.Option> An array of
Source: