Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.geometry
Class DefaultGeometryUtil

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.geometry.DefaultGeometryUtil

public abstract class DefaultGeometryUtil
extends Object

Definition/Instance related geometry utilities.

Author:
Simon Templer

Constructor Summary
DefaultGeometryUtil()
           
 
Method Summary
static Collection<GeometryProperty<?>> getDefaultGeometries(Instance instance)
          Get the default geometry of an instance.
static boolean isDefaultGeometry(EntityDefinition entityDef)
          Determines if the given entity definition is a default geometry property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGeometryUtil

public DefaultGeometryUtil()
Method Detail

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

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d