Annotation Interface ThingworxDataShapeDefinition


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @ThingworxExtensionApiAnnotation(since={6,6}) public @interface ThingworxDataShapeDefinition
Defines a data shape describing the contents of the parent annotation. The annotation may be used to refer to a data shape entity (not all usages of this annotation support data shape entities) or to define an in-line data shape. In-line data shapes are stored with the parent entity and do not generate data shape entities.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description


    Optional parameter: a collection of field definitions belonging to the in-lined data shape.


    Optional parameter: a reference to the name of a data shape entity.
  • Element Details

    • name

      String name


      Optional parameter: a reference to the name of a data shape entity. Most usages of this annotation do not support references to data shape entities.
      Default:
      ""
    • fields



      Optional parameter: a collection of field definitions belonging to the in-lined data shape.
      Default:
      {}