eu.esdihumboldt.hale.ui.geometry
Class DefaultGeometryUtil
java.lang.Object
eu.esdihumboldt.hale.ui.geometry.DefaultGeometryUtil
public abstract class DefaultGeometryUtil
- extends Object
Definition/Instance related geometry utilities.
- Author:
- Simon Templer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGeometryUtil
public DefaultGeometryUtil()
getDefaultGeometries
public static Collection<GeometryProperty<?>> getDefaultGeometries(Instance instance)
- Get the default geometry of an instance.
- Parameters:
instance
- the instance
- Returns:
- the default geometries or an empty collection if there is none
isDefaultGeometry
public static boolean isDefaultGeometry(EntityDefinition entityDef)
- Determines if the given entity definition is a default geometry property.
- Parameters:
entityDef
- the entity definition
- Returns:
- if the entity definition represents a default geometry property
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d