Difference between revisions of "Extensions.ExternalServiceProvider.PropertyFlag"

From emotive
Jump to navigation Jump to search
(Edited by Ngoc Tran.)
(Edited by Ngoc Tran.)
 
Line 1: Line 1:
{{DISPLAYTITLE:Data Type '''PropertyFlag'''}}[[Category:ExternalServiceProvider]][[Category:ExternalServiceProvider]]
+
{{DISPLAYTITLE:Data Type '''PropertyFlag'''}}[[Category:DataType]][[Category:ExternalServiceProvider]]
 
== Classification ==
 
== Classification ==
 
{{ClassificationDataType | PropertyFlag | Characteristics of values that access rights used in the [[Extensions.ExternalServiceProvider.ServiceProviderSignature|ServiceProviderSignatures]] '''Properties''' | [[Core.DataTypes.SimpleDataType|Simple Data Type]] | [[Core.DataTypes.SimpleDataType.SimpleType|SimpleType]]| DefaultValue=READ-ONLY | Literal=Yes | SpecifiedBy={{OtxSpec4}} }}
 
{{ClassificationDataType | PropertyFlag | Characteristics of values that access rights used in the [[Extensions.ExternalServiceProvider.ServiceProviderSignature|ServiceProviderSignatures]] '''Properties''' | [[Core.DataTypes.SimpleDataType|Simple Data Type]] | [[Core.DataTypes.SimpleDataType.SimpleType|SimpleType]]| DefaultValue=READ-ONLY | Literal=Yes | SpecifiedBy={{OtxSpec4}} }}

Latest revision as of 06:15, 15 November 2019

Classification

Name PropertyFlag
Short Description Characteristics of values that access rights used in the ServiceProviderSignatures Properties
Class Simple Data Type
Base Data Type SimpleType
Default Value READ-ONLY
Provide a Literal Yes
SpecifiedBy ISO 13209-4
Standard Compliant Yes

Description

PropertyFlags is an enumeration type describing access rights used in the ServiceProviderSignatures Properties.

The list of allowed enumeration values is defined as follows:

Value Literal Description
READ-ONLY @PropertyFlag:READ-ONLY The property value, defined in PropertySignature, is read only. This is the default access right if the <init> of the PropertyFlags variable is not defined.
WRITE-ONLY @PropertyFlag:WRITE-ONLY The property value, defined in PropertySignature, is only writable.
READ-WRITE @PropertyFlag:READ-WRITE The property value, defined in PropertySignature, is readable as well writable.

Order Relation

PropertyFlags values may occur as operands of comparisons (cf. Part 2 of ISO 13209, relational operations). For this case, the following order relation will apply:

READ-ONLY < WRITE-ONLY < READ-WRITE

Literal

The syntax for Literals for complex data types will be used, where the member value is one of the values in the list.

@PropertyFlag:READ-ONLY|WRITE-ONLY|READ-WRITE

Core Conversion

The following table shows the rules for conversion to another data type:

Conversion Result Sample
ToBoolean Undefined (should not be used)
ToInteger Return the index of the value in the PropertyFlags enumeration (smallest index is 0) Integer val = ToInteger(@PropertyFlag:READ-WRITE); // Returns 2
ToFloat Undefined (should not be used)
ToString Resulting string will be the name of the enumeration value String s = ToString(@PropertyFlag:READ-WRITE); // Returns "READ-WRITE"
ToByteField Undefined (should not be used)

Sample

ExternalServiceProvider.PropertyFlag PropertyFlag1 = @PropertyFlag:READ-ONLY;