org.opennms.core.soa.filter
Class AttributeComparisonFilter

java.lang.Object
  extended by org.opennms.core.soa.filter.AbstractFilter
      extended by org.opennms.core.soa.filter.AttributeComparisonFilter
All Implemented Interfaces:
Filter
Direct Known Subclasses:
EqFilter, GreaterThanFilter, LessThanFilter, PatternMatchingFilter, PresenceFilter

public abstract class AttributeComparisonFilter
extends AbstractFilter

AttributeComparisonFilter

Author:
brozow

Constructor Summary
protected AttributeComparisonFilter(String attribute)
           
 
Method Summary
protected  String getAttribute()
           
 boolean match(Map<String,String> properties)
           
abstract  String toString()
           
protected abstract  boolean valueMatches(String value)
           
 
Methods inherited from class org.opennms.core.soa.filter.AbstractFilter
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeComparisonFilter

protected AttributeComparisonFilter(String attribute)
Method Detail

getAttribute

protected String getAttribute()

match

public boolean match(Map<String,String> properties)
Specified by:
match in interface Filter
Specified by:
match in class AbstractFilter

valueMatches

protected abstract boolean valueMatches(String value)

toString

public abstract String toString()
Specified by:
toString in interface Filter
Specified by:
toString in class AbstractFilter


Copyright © 2011. All Rights Reserved.