2022 June Release

Class COOSYSTEM@1.1:AttributeDefinition Permanent link for this heading

Class Hierarchy

Object > ComponentObject > AttributeDefinition

This abstract class is the base class for properties. It defines general characteristics of a property. Use the derived classes for property definitions of software components.

Properties Permanent link for this heading

Type

Property

Name

boolean

attrchangeable

Changeable

boolean

attrinstchangeable

Changeable in Installed Component

boolean

attrmultiple

Multiple Values (Overrides Type)

boolean

attrmustbedef

Must Be Defined

TypeDefinition

attrtype

Type

boolean

attruichangeable

Changeable in User Interface

boolean

attrvisible

Visible

boolean

attrvolatile

Volatile

boolean

attrvolatiletx

Volatile (Transaction)

LanguageStringList[]

mlname

Multilingual Name

Properties Permanent link for this heading


Changeable (COOSYSTEM@1.1:attrchangeable) Permanent link for this heading

Defines whether the value of the property may be changed. If its value is false, the property value is set by the kernel and can't be changed by the user or a software component or generated by constructor or read methods. The initial value is true.

boolean COOSYSTEM@1.1:attrchangeable not null readonly


Changeable in Installed Component (COOSYSTEM@1.1:attrinstchangeable) Permanent link for this heading

Defines whether the value of the property may be changed if it is assigned to an object of an installed component. If the value is false, the property cannot be changed anymore, if the software component is installed. This restriction is not checked by the kernel.

boolean COOSYSTEM@1.1:attrinstchangeable readonly


Multiple Values (Overrides Type) (COOSYSTEM@1.1:attrmultiple) Permanent link for this heading

Defines whether the value of the property is scalar. If the value is true, the property contains a list of values. This property overrides the value of the property typemultiple of the type of the property.

boolean COOSYSTEM@1.1:attrmultiple readonly


Must Be Defined (COOSYSTEM@1.1:attrmustbedef) Permanent link for this heading

Defines whether the value of the property has to be defined. If the value is true, the property must always have a value. The initial value is true.

boolean COOSYSTEM@1.1:attrmustbedef not null readonly


Type (COOSYSTEM@1.1:attrtype) Permanent link for this heading

Defines the type of the property.
The following standard types can be used:
Scalar List Unique List
STRING STRINGLIST STRINGLISTUNIQ
INTEGER INTEGERLIST INTEGERLISTUNIQ
BOOLEAN BOOLEANLIST ---
FLOAT FLOATLIST ---
DATETIME DATETIMELIST DATETIMELISTUNIQ
CONTENT CONTENTLIST ---
DICTIONARY DICTIONARYLIST ---
OBJECT OBJECTLIST OBJECTLISTUNIQ
COMINTERFACE COMINTERFACELIST ---
If the property is an enum or aggregate or a list of those, the specific aggregate or enum type can be used in attrtype. Use attrmultiple to override typemultiple for these types.
If the property is an object, use attruseableclass to restrict the available object classes for that property.

TypeDefinition COOSYSTEM@1.1:attrtype readonly


Changeable in User Interface (COOSYSTEM@1.1:attruichangeable) Permanent link for this heading

Defines whether the value of the property may be changed in user interface. If the value is false, the property cannot be changed anymore in user interface. This restriction is not checked by the kernel.

boolean COOSYSTEM@1.1:attruichangeable readonly


Visible (COOSYSTEM@1.1:attrvisible) Permanent link for this heading

Defines whether the value of the property is visible in software components. The initial value is true.

boolean COOSYSTEM@1.1:attrvisible not null readonly


Volatile (COOSYSTEM@1.1:attrvolatile) Permanent link for this heading

Defines whether the value of the property must be read for each access.
If the value is true, the action specified with the property attractget is called each time the property is accessed. attrvolatiletx can be used to fine tune the rule for calculating the value of the property.
If the value is false or null, the action is called only when the property is accessed for the first time, when the object is changed, or when the action ObjectRefresh is called. For every further access of this property the cached value is used. The value of the property is stored in the cache, when the action defined with the property attractget is executed.
The initial value is null.

boolean COOSYSTEM@1.1:attrvolatile readonly


Volatile (Transaction) (COOSYSTEM@1.1:attrvolatiletx) Permanent link for this heading

Defines whether the value of the property must be read for each first time access within a transaction. This property is only evaluated if attrvolatile is true
If the value is true, the action specified with the property attractget is called each time when the property is accessed for the first time in the context of a transaction. The value of the property is stored in the transaction. Using the action ObjectRefresh will invalidate the value of the property stored in the transaction. If the value is false or null, the default behaviour of attrvolatile is used.
The initial value is null.

boolean COOSYSTEM@1.1:attrvolatiletx readonly


Multilingual Name (COOSYSTEM@1.1:mlname) Permanent link for this heading

Defines the multilingual name of the object. It stores one name for each supported language.

unique LanguageStringList[] COOSYSTEM@1.1:mlname