Optionalgetter: ((session?: Session, endpoint?: EndpointInterface, isFabricFiltered?: boolean) => T)Optionalsession: SessionOptionalendpoint: EndpointInterfaceOptionalisFabricFiltered: booleanOptionalsetter: ((value: T, session?: Session, endpoint?: EndpointInterface, message?: Message) => boolean)Optionalsession: SessionOptionalendpoint: EndpointInterfaceOptionalmessage: MessageOptionalvalidator: ((value: T, session?: Session, endpoint?: EndpointInterface) => void)Optionalsession: SessionOptionalendpoint: EndpointInterfaceReadonlyclusterProtected ReadonlydatasourceReadonlydefaultProtected OptionaldelayedProtected OptionalendpointProtected ReadonlygetterReadonlyidReadonlyisReadonlyisReadonlyisReadonlynameReadonlyrequiresReadonlyschemaProtected ReadonlysetterProtected ReadonlyvalidatorProtectedvalueThe value is undefined when getter/setter are used. But we still handle the version number here.
Protected ReadonlyvalueProtected ReadonlyvalueGet 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.
ProtectedhandleInitialize the attribute with a value. Because the value is stored on fabric level this method only initializes the version number.
ProtectedprocessSet 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).
ProtectedsetWhen 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.