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 Summary
Modifier and TypeMethodDescriptiongetGeometryProperties
(MetaClass metaClass) Returns a collection of MetaProperties corresponding to the fields annotated withGeometry
in the entity's MetaClass.getGeometryProperty
(MetaClass metaClass) Returns a single MetaProperty corresponding to the field annotated withGeometry
in the entity's MetaClass.
-
Method Details
-
getGeometryProperties
Returns a collection of MetaProperties corresponding to the fields annotated withGeometry
in the entity's MetaClass.- Parameters:
metaClass
- entity's MetaClass- Returns:
- Geometry metaProperties
-
getGeometryProperty
Returns a single MetaProperty corresponding to the field annotated withGeometry
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
-