edu.columbia.cs.ref.model.matcher
Interface EntityMatcher

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AndEntityMatcher, DictionaryEntityMatcher, EqualsEntityMatcher, OrEntityMatcher

public interface EntityMatcher
extends java.io.Serializable

The Interface EntityMatcher represents is used to force the implementation of methods to determine if two entities match according to a given criterion.

The method match is used to determine if the two entities match

Since:
2011-09-27
Version:
0.1
Author:
Pablo Barrio, Goncalo Simoes

Method Summary
 boolean match(Entity original, Entity entity)
          Determines if the two input entities match
 

Method Detail

match

boolean match(Entity original,
              Entity entity)
Determines if the two input entities match

Parameters:
original - the first entity
entity - the second entity
Returns:
true, if the entities match