Requirements class Requirements Class Conformance Conformance Class

Copyright © 2012 Open Geospatial Consortium 81 Figure 11 — Conversion of association classes The encoding rule is to perform the mapping and then encode the model in the standard manner.

12.3.2 Requirements class Requirements Class

http:www.opengis.netspecGML3.3reqassocClass Target type GML application schema Name Association class conversion rule Dependency http:www.opengis.netspecGML3.3requml2gml Requirement http:www.opengis.netspecGML3.3reqassocClasstransform Before applying the GML encoding rule, any UML association class shall be transformed as follows in the following description the source class of the association is called S and the target class is called T: - The association class A is transformed into a regular class with the same name, stereotype, tagged values, constraints, attributes, relationships. - The association is replaced by two associations, one from S to A SA and one from A to T AT. - The characteristics of the association end in particular role name, navigability, multiplicity, documentation of the original association class at T are used for association ends at A of SA and at T of AT with the exception that the multiplicity at the association end at T of association AT is set to 1. - The characteristics of the association end of the original association class at S are used for association ends at S of SA and at A of AT with the exception that the multiplicity at the association end at S of association SA is set to 1. Requirement http:www.opengis.netspecGML3.3reqassocClassstereotype The UML association class shall have either no stereotype or a stereotype FeatureType.

12.3.3 Conformance Conformance Class

http:www.opengis.netspecGML3.3confassocClass Name GML application schemas converted from an ISO 19109 Application Schema in UML using the code list conversion rule Requirements http:www.opengis.netspecGML3.3reqassocClass Dependency http:www.opengis.netspecGML3.3confuml2gml Test http:www.opengis.netspecGML3.3confassocClassstereotype Requirement http:www.opengis.netspecGML3.3reqassocClassstereotype Test purpose Verify that the association class can be transformed. Test method Check the application schema that any association class has a stereotype FeatureType or no stereotype. Test type Basic 82 Copyright © 2012 Open Geospatial Consortium Test http:www.opengis.netspecGML3.3confassocClasstransform Requirement http:www.opengis.netspecGML3.3reqassocClasstransform Test purpose Verify the conversion of any association class. Test method Check each schema document of the GML application schema and verify that each association class of the application schema has been converted as specified. Test type Capability

12.4 Encoding rule extensions