t_API_Classes_Class_Attributes_Attribute
Attribute
Properties
collection : booleanTrue if the attribute stores a collection of objects.
deprecated : booleanTrue if deprecated.
name : identifierAttribute name. Usually starts with lower case.
The attribute name must be unique within the class definition.Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
required : booleanTrue if the value cannot be empty for the instance to be committed.
static : booleanTrue to share the attribute between all the objects, false to allocate it separately for each class instance.
type : identifierPrimitive type or another class within the domain model.
Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)* Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.
Parents
t_API_Classes_Class_Attributes - Collection of Attributes on a API.
Parent topic: t_API_Classes_Class_Attributes