|
Syntax |
|
|||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Semantics |
Returns the type of any object at run-time. To get the type the object has had at compile-time use the staticTypeOf() Operation. |
|||||||||||||||||||
|
Substitutables |
|
Can be any variable or object attribute having the type String. |
||||||||||||||||||
|
|
Can be any object. |
|||||||||||||||||||
|
Examples |
Find below a list of all Bridge Base Types together with their type string as returned by
Other, e.g. model specific, types can be referenced via their path in the containment tree, e.g. a class customer that has been defined in the UML package Services/TypeOperationsService/Classes/Customer would have the following type string:
|
|||||||||||||||||||
Example File (Builder project Basic Modeling/ClassOperation): ClassOperation.zip
<your example path>\Basic Modeling\ClassOperation\uml\typeOperations.xml
Find below a list of all Bridge Base Types 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 containment tree, e.g. a class customer that has been defined in the UML package Services/TypeOperationsService/Classes/Customer would have the following type string:
"urn:Services.TypeOperationsService.Classes.Customer".