Optional
getter: ((session?: Session, endpoint?: EndpointInterface, isFabricFiltered?: boolean) => T)Optional
session: SessionOptional
endpoint: EndpointInterfaceOptional
isFabricFiltered: booleanOptional
setter: ((value: T, session?: Session, endpoint?: EndpointInterface, message?: Message) => boolean)Optional
session: SessionOptional
endpoint: EndpointInterfaceOptional
message: MessageOptional
validator: ((value: T, session?: Session, endpoint?: EndpointInterface) => void)Optional
session: SessionOptional
endpoint: EndpointInterfaceReadonly
clusterProtected
Readonly
datasourceReadonly
defaultProtected
Optional
delayedProtected
Optional
endpointProtected
Readonly
getterReadonly
idReadonly
isReadonly
isReadonly
isReadonly
nameReadonly
requiresReadonly
schemaProtected
Readonly
setterProtected
Readonly
validatorProtected
valueThe value is undefined when getter/setter are used. But we still handle the version number here.
Protected
Readonly
valueProtected
Readonly
valueGet the value of the attribute. This method is used by the Interaction model to read the value of the attribute and includes the ACL check. It should not be used locally in the code!
If a getter is defined the value is determined by that getter method.
Get the value of the attribute locally for a special Fabric. This method should be used locally in the code and does not include the ACL check. If a getter is defined this method returns an error and the value should be retrieved directly internally.
Get the value of the attribute including the version number. This method is used by the Interaction model to read the value of the attribute and includes the ACL check. It should not be used locally in the code!
If a getter is defined the value is determined by that getter method. The version number is always 0 for fixed attributes.
Protected
handleInitialize the attribute with a value. Because the value is stored on fabric level this method only initializes the version number.
Protected
processSet Local is not allowed for fabric scoped attributes. Use setLocalForFabric instead.
Set the value of the attribute locally for a fabric. This method should be used locally in the code and does not include the ACL check. If a setter is defined this method cannot be used! If a validator is defined the value is validated before it is stored. Listeners are called when the value changes (internal listeners) or in any case (external listeners).
Protected
setWhen the value is handled by getter or setter methods and is changed by other processes this method can be used to notify the attribute server that the value has changed. This will increase the version number and trigger the listeners.
ACL checks needs to be performed before calling this method.
When the value is handled by getter or setter methods and is changed by other processes and no session from the originating process is known this method can be used to notify the attribute server that the value has changed. This will increase the version number and trigger the listeners.
ACL checks needs to be performed before calling this method.
When the value is handled by getter or setter methods and is changed by other processes and no session from the originating process is known this method can be used to notify the attribute server that the value has changed. This will increase the version number and trigger the listeners. ACL checks needs to be performed before calling this method.
Attribute server which is getting and setting the value for a defined fabric. The values are automatically persisted on fabric level if no custom getter or setter is defined.