Skip to main content
Kinetic Community

Attribute Model

The attribute object represents the Attribute that is being accessed. An attribute is an instance of a Attribute Definition. Many of the properties and methods are accessible within the bundle.

Properties

name

Name of the attribute, which comes from the Attribute Definition the attribute is an instance of.

${attribute.name}

value

The value of the attribute. This is only supported if the attribute definition allows a single value. It is best to call either${attribute.isSingle()} or ${attribute.isMultiple()} first to determine whether the attribute supports a single value or multiple values.

${attribute.value}

values

List of values for the attribute. This is only supported if the attribute definition allows multiple values. It is best to call either ${attribute.isSingle()} or ${attribute.isMultiple()} first to determine whether the attribute supports a single value or multiple values.

${attribute.values}

Methods

isMultiple()

Returns true if the Attribute Definition this attribute is an instance of allows multiple values, otherwise false.

${attribute.isMultiple()}

isSingular()

Returns true if the Attribute Definition this attribute is an instance of allows only a single value, otherwise false.

${attribute.isSingular()}

Related