Customization > SySim- SysML model execution > SySim profile package > <<SySim TWDataShapeField>> stereotype (SySim)
  
<<SySim TWDataShapeField>> stereotype (SySim)
Apply to members of objects that are stereotyped by the «SySim TWDataShape» stereotype.
The «SySim TWDataShapeField» stereotype provides further control for the field generation at the ThingWorx side and more.
The «SySim TWDataShapeField» stereotype applies the following Tag Definition:
SySim TWBaseType
When set to a value, forces mapping to the ThingWorx type specified in the tagged value. When a value is not set, an automatic mapping is attempted, see the following section for more information.
SySim TWAspects
Contains an optional list of ThingWorx aspects that allow you to further refine the property definition. Each aspect is in the form "name:value" (the quotes are required) and the list of aspects must appear as a pipe ( | ) separated list in the actual tagged value.
SySim TWDescription
Contains the optional value of the ThingWorx property Description field.
SySim TWIsPrimaryKey
When set to TRUE, indicates this is a primary key of the ThingWorx DataShape
SySim TWValueSet
Reserved for future use (leave blank).
SySim TWValueGet
Reserved for future use (leave blank).
Type mappings are as follows:
If the value of the SySim TWBaseType tag definition is set, the object is mapped to the ThingWorx type specified in the tagged value, otherwise the following applies:
If the object is typed by a type object, and the type object is stereotyped by the «SySim TWDataShape» stereotype, mapping occurs to a ThingWorx INFOTABLE, otherwise:
Decimal, Integer, Double, Long and Single are mapped to the ThingWorx NUMBER type.
Boolean is mapped to ThingWorx BOOLEAN type.
DateTime is mapped to ThingWorx DATETIME type.
Everything else is mapped to a ThingWorx STRING type.
The ThingWorx SDK receives values as Object. The SDK uses the ToString() method when it does not recognize the type value and the ThingWorx type is a string.