Package io.jmix.maps

Interface GeometryPropertiesResolver

All Known Implementing Classes:
GeometryPropertiesResolverImpl

@Deprecated(since="2.1.2") public interface GeometryPropertiesResolver
Deprecated.
no appropriate alternatives. Instead of Geometry annotation use "property" attribute in "dataVectorSource" XML element.
Component used to find MetaProperties having Geometry annotation in a given MetaClass.
  • Method Details

    • getGeometryProperties

      Collection<MetaProperty> getGeometryProperties(MetaClass metaClass)
      Deprecated.
      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)
      Deprecated.
      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