Package io.jmix.maps

Interface GeometryPropertiesResolver

All Known Implementing Classes:
GeometryPropertiesResolverImpl

public interface GeometryPropertiesResolver
Component used to find MetaProperties having Geometry annotation in a given MetaClass.
  • Method Details

    • getGeometryProperties

      Collection<MetaProperty> getGeometryProperties(MetaClass metaClass)
      Returns a collection of MetaProperties corresponding to the fields annotated with Geometry in the entity's MetaClass.
      Parameters:
      metaClass - entity's MetaClass
      Returns:
      Geometry metaProperties
    • getGeometryProperty

      MetaProperty getGeometryProperty(MetaClass metaClass)
      Returns a single MetaProperty corresponding to the field annotated with Geometry in the entity's MetaClass.
      Parameters:
      metaClass - entity's MetaClass
      Returns:
      Geometry metaProperty
      Throws:
      IllegalStateException - when metaClass does not have declared Geometry property or has more than one Geometry property