set aString = anObject.attribute if anObject.attribute.typeOf() = "urn:Base_Types.String";
aString
gets the value of anObject.attribute
assigned, if the type matches.
Find below a list of all Base Types of the Designer together with their type string as returned by typeOf()
and staticTypeOf()
.
Bridge Base Type |
Type String |
Any |
urn:Base_Types.Any |
Array |
urn:Base_Types.Array |
Blob |
urn:Base_Types.Blob |
Boolean |
urn:Base_Types.Boolean |
DateTime |
urn:Base_Types.DateTime |
Float |
urn:Base_Types.Float |
Integer |
urn:Base_Types.Integer |
String |
urn:Base_Types.String |
Other, e.g. model specific, types can be referenced via their path in the service panel, e.g. a class Customer that has been defined in a package Service/Classes/Customer would have the following type string: "urn:Service.Classes.Customer".