Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.model.condition
Class PropertyTypeCondition

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.model.condition.PropertyTypeCondition
All Implemented Interfaces:
EntityCondition<Property>, PropertyCondition

public class PropertyTypeCondition
extends Object
implements PropertyCondition

Property condition wrapping a type condition and applying it to the property type.

Author:
Simon Templer

Constructor Summary
PropertyTypeCondition(TypeCondition typeCondition)
          Create a property condition based on the given type condition
 
Method Summary
 boolean accept(Property entity)
          Determines if the given entity matches the constraint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyTypeCondition

public PropertyTypeCondition(TypeCondition typeCondition)
Create a property condition based on the given type condition

Parameters:
typeCondition - the type condition to apply to the property type
Method Detail

accept

public boolean accept(Property entity)
Description copied from interface: EntityCondition
Determines if the given entity matches the constraint

Specified by:
accept in interface EntityCondition<Property>
Parameters:
entity - the entity
Returns:
if the entity matches the constraint
See Also:
EntityCondition.accept(Entity)

Humboldt Alignment Editor 2.5.0

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