Class ComplexPropertyTests

java.lang.Object
org.opengis.cite.iso19136.general.SchemaModelFixture
org.opengis.cite.iso19136.general.ComplexPropertyTests

public class ComplexPropertyTests extends SchemaModelFixture
Checks constraints that apply to various complex properties of GML objects. The values of such properties (that typically define binary associations) include metadata descriptions, spatial geometry objects, topology objects, temporal objects, and location descriptions. Implicit property type definitions are examined to ensure they have valid content models, since invalid type derivations (i.e. restrictions of existing GML property types) should be detected when the application schema is initially assessed for XML Schema compliance.

Sources

  • ISO 19136:2007, cl. A.1.1.8: Content model of property elements
  • ISO 19136:2007, cl. 7.2.3: GML properties
  • Constructor Details

    • ComplexPropertyTests

      public ComplexPropertyTests()
  • Method Details

    • validateMetadataProperties

      public void validateMetadataProperties()
      [Test] Validates the content of metadata properties. A metadata property type must be derived by extension from gml:AbstractMetadataPropertyType; it shall follow one of the patterns specified for GML property types in clause 7.2.3, and cannot contain a wildcard particle. A property value must be specified--an empty content model is not permitted even if a reference is allowed.

      Sources

      • ISO 19136:2007, cl. A.1.1.9: Metadata and data quality properties
      • ISO 19136:2007, cl. 7.2.6: Metadata
    • validateMembersOfGmlObjectCollection

      public void validateMembersOfGmlObjectCollection()
      [Test] A GML object collection is any gml:AbstractObject having a property element whose content model is derived by extension from gml:AbstractMemberType. A member property type shall follow one of the patterns specified for GML property types in clause 7.2.3. Furthermore, the collection type may also include a reference to the attribute group gml:AggregationAttributeGroup in order to provide additional information about the semantics of the object collection.

      Sources

      • ISO 19136:2007, cl. A.1.1.14: GML Object Collections
      • ISO 19136:2007, cl. 7.2.5: Collections of GML Objects