Skip to main content

Properties

Properties defines the behaviour of the Attribute. The following is a complete list of supported and available properties:

Property nameTypeShort description
labelstringFriendly name of the Attribute
requiredbooleanBoolean determining if the Attribute content is required. If true, the Attribute must provide its content in the content property
readOnlybooleanBoolean determining if the Attribute content is read only and cannot be changed
visiblebooleanBoolean determining if the Attribute is visible or used as a helper only
listbooleanBoolean determining if the Attribute contains list of values in its content
multiSelectbooleanBoolean determining if the Attribute can have multiple values in the content
groupstringName of the group Attribute belong to. It can be used for logical grouping of multiple Attributes
globalbooleanBoolean determining if the Attribute is global. Global mean that two Attributes with the same definition cannot exist
overwritebooleanBoolean determining if updating the Attribute content for object overwrite (replace) existing content or appends it which is default behaviour
protectionLevelProtectionLevelProtection level of the attribute content. If protection level is encrypted, then the content of Attribute is encrypted in the database.
extensibleListbooleanBoolean determining if a list Attribute can have values other than predefined options in the content of definition.
resourceAttributeResourceResource of content. Applicable only to V3 Attribute with RESOURCE OBJECT content type.

Properties and Attribute types

Not every property is mandatory and applicable for every Attribute type. The following matrix shows which properties are supported for each Attribute type:

Property name / Attribute typeBaseAttributePropertiesDataAttributePropertiesInfoAttributePropertiesCustomAttributePropertiesMetadataAttributeProperties
label
visible
group
required
readOnly
list
multiSelect
global
overwrite
protectionLevel
extensibleList
resource
  • - the property is required
  • - the property is optional
  • - the property is not applicable
Attribute types

For more details about Attribute types, see Attributes.

Properties model

The following diagram represents the Properties model inherited from the BaseAttributeProperties. Details can be found in the CZERTAINLY Interfaces repository.