ch.elca.el4j.services.search.criterias
Class AbstractCriteria

java.lang.Object
  extended by ch.elca.el4j.services.search.criterias.AbstractCriteria
All Implemented Interfaces:
Criteria, Serializable
Direct Known Subclasses:
ComparisonCriteria, IncludeCriteria, LikeCriteria

public abstract class AbstractCriteria
extends Object
implements Criteria

Abstract parent class for Criteria implementations.

Author:
Martin Zeltner (MZE)
See Also:
Serialized Form
File-location:
AbstractCriteria
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Constructor Summary
protected AbstractCriteria()
          Default constructor for remoting protocols like hessian added.
protected AbstractCriteria(String field, Object value)
          Constructor.
 
Method Summary
 Boolean getBooleanValue()
           
 Byte getByteValue()
           
 Double getDoubleValue()
           
 String getField()
           
 Float getFloatValue()
           
 Integer getIntegerValue()
           
 Long getLongValue()
           
 Short getShortValue()
           
 String getStringValue()
           
 Object getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.elca.el4j.services.search.criterias.Criteria
getSqlWhereCondition, getType
 

Constructor Detail

AbstractCriteria

protected AbstractCriteria()
Default constructor for remoting protocols like hessian added.


AbstractCriteria

protected AbstractCriteria(String field,
                           Object value)
Constructor.

Parameters:
field - Is the field the criteria is made for.
value - Is the value of this criteria.
Method Detail

getField

public final String getField()
Returns:
Returns the field.

getValue

public final Object getValue()
Returns:
Returns the value.

getStringValue

public final String getStringValue()
Returns:
Returns the string value of this criteria.

getBooleanValue

public final Boolean getBooleanValue()
Returns:
Returns the boolean value of this criteria.

getIntegerValue

public final Integer getIntegerValue()
Returns:
Returns the integer value of this criteria.

getLongValue

public final Long getLongValue()
Returns:
Returns the long value of this criteria.

getShortValue

public final Short getShortValue()
Returns:
Returns the short value of this criteria.

getByteValue

public final Byte getByteValue()
Returns:
Returns the byte value of this criteria.

getDoubleValue

public final Double getDoubleValue()
Returns:
Returns the double value of this criteria.

getFloatValue

public final Float getFloatValue()
Returns:
Returns the float value of this criteria.


Copyright © 2005-2011 ELCA. All Rights Reserved.