4.2.4 RESQML Example
|For Standard||CTA v2.1|
This example (Figure 4.2.4-1) shows how to create an activity template named “GenericCreationActivity” which can be used to describe the creation of one or more data objects. The example also shows how to create an instance of the generic creation activity, in this case, a triangulated representation based on a 2D grid representation.
The left box shows that this creation activity may have zero (see MinOccurs) to unlimited (see MaxOccurs) creation input parameters (see IsInput and IsOutput).
The right box shows at least one mandatory output (see MinOccurs, MaxOccurs, IsInput and IsOutput) which must be a data object (see the lower right box).
This activity template/description can then be used to describe the specifics of the creation of any data object. For example, in Figure 4.2.4-2 , we created a triangulated representation based on 2D grid representation.
The triangulation activity (top yellow box) uses the creation activity template/description that we previously defined. This particular triangulation activity indicates that we have created a particular triangulated set representation (called MyTriangulatedGrid) from a particular 2D grid representation (called My2dGrid).