jsky.catalog
Class AbstractSearchCondition

java.lang.Object
  extended by jsky.catalog.AbstractSearchCondition
All Implemented Interfaces:
java.io.Serializable, SearchCondition
Direct Known Subclasses:
ArraySearchCondition, RangeSearchCondition, ValueSearchCondition

public abstract class AbstractSearchCondition
extends java.lang.Object
implements SearchCondition, java.io.Serializable

An abstract base class for SearchConditions. The derived classes determine the value type.

See Also:
Serialized Form

Constructor Summary
AbstractSearchCondition(FieldDesc fieldDesc)
          Create a new AbstractSearchCondition for the given column or parameter description.
 
Method Summary
 FieldDesc getFieldDesc()
          Return the column or parameter description.
 java.lang.String getId()
          Return the column or parameter id.
 java.lang.String getName()
          Return the column or parameter name.
 java.lang.String toString()
          Return a string representation of this class in the form "name=val"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jsky.catalog.SearchCondition
getValueAsString, isTrueFor, isTrueFor
 

Constructor Detail

AbstractSearchCondition

public AbstractSearchCondition(FieldDesc fieldDesc)
Create a new AbstractSearchCondition for the given column or parameter description.

Method Detail

getFieldDesc

public FieldDesc getFieldDesc()
Return the column or parameter description.

Specified by:
getFieldDesc in interface SearchCondition

getName

public java.lang.String getName()
Return the column or parameter name.

Specified by:
getName in interface SearchCondition

getId

public java.lang.String getId()
Return the column or parameter id.

Specified by:
getId in interface SearchCondition

toString

public java.lang.String toString()
Return a string representation of this class in the form "name=val"

Specified by:
toString in interface SearchCondition
Overrides:
toString in class java.lang.Object