Attribute variables

A variable of type Attribute provides access to data for an attribute. It has the following variables:

Name Type Description
name String scalar The name of the attribute.
description String scalar The description of the attribute.
javaType String scalar The Java type of the attribute.
size Number scalar The size of the attribute.
required Boolean scalar Whether the attribute is required.
parent Entity hash The entity that the attribute is for.
testDataProducer TestDataProducer hash The test data producer associated with the attribute. This may be null.

Related concepts

Template data model
Attribute
Entity variables
TestDataProducer variables

Related tasks

Customising a template