@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @ThingworxExtensionApiAnnotation(since={6,6}) public @interface ThingworxImplementedShapeDefinition
Specifies the name of a thing shape that this class implements. Any properties, events, services, and subscriptions belonging to the thing shape will be applied to this template or thing. Note that this is functionally identical to specifying the implemented thing shape in the metadata.xml for the thing template.
It is recommended to use the annotation over metadata if the entity is backed by a Java class.
ThingworxImplementedShapeDefinitions
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Optional parameter: the name of the thing shape that this entity implements. |