chemCast.data
Class ObjectPropertyFilter

java.lang.Object
  extended by chemCast.data.AbstractFilter
      extended by chemCast.data.ObjectPropertyFilter
All Implemented Interfaces:
IObjectFilter, IPropertyFilter
Direct Known Subclasses:
PropertyFilter, RangePropertyFilter, VerhaarSchemeFilter

public class ObjectPropertyFilter
extends AbstractFilter
implements IPropertyFilter


Field Summary
static java.lang.String p_tag
           
static java.lang.String p_value
           
 
Constructor Summary
ObjectPropertyFilter()
           
ObjectPropertyFilter(java.lang.Object key, java.lang.Object value)
           
 
Method Summary
 boolean accept(IChemObject object)
           
 boolean acceptProperty(java.lang.Object property, java.lang.Object value)
           
 boolean equals(java.lang.Object arg0)
           
 IAmbitEditor getEditor()
           
 java.lang.Object getTag()
           
 java.lang.Object getValue()
           
 void setProperties(java.util.Map properties)
           
 void setProperty(java.lang.String key, java.lang.Object value)
           
 void setTag(java.lang.Object property)
           
 void setValue(java.lang.Object property)
           
 java.lang.String toString()
           
 
Methods inherited from class chemCast.data.AbstractFilter
getProperties, getProperty, preprocess, removeProperty
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface chemCast.data.IObjectFilter
getProperties, getProperty, preprocess, removeProperty
 

Field Detail

p_tag

public static java.lang.String p_tag

p_value

public static java.lang.String p_value
Constructor Detail

ObjectPropertyFilter

public ObjectPropertyFilter()
                     throws FilterException
Throws:
FilterException

ObjectPropertyFilter

public ObjectPropertyFilter(java.lang.Object key,
                            java.lang.Object value)
                     throws FilterException
Throws:
FilterException
Method Detail

setProperties

public void setProperties(java.util.Map properties)
Specified by:
setProperties in interface IObjectFilter
Overrides:
setProperties in class AbstractFilter

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Specified by:
setProperty in interface IObjectFilter
Overrides:
setProperty in class AbstractFilter

accept

public boolean accept(IChemObject object)
Specified by:
accept in interface IObjectFilter

acceptProperty

public boolean acceptProperty(java.lang.Object property,
                              java.lang.Object value)
Specified by:
acceptProperty in interface IPropertyFilter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTag

public java.lang.Object getTag()
Specified by:
getTag in interface IPropertyFilter

setTag

public void setTag(java.lang.Object property)
Specified by:
setTag in interface IPropertyFilter

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object property)

equals

public boolean equals(java.lang.Object arg0)
Overrides:
equals in class java.lang.Object

getEditor

public IAmbitEditor getEditor()
Specified by:
getEditor in interface IObjectFilter
Overrides:
getEditor in class AbstractFilter