org.axiondb.functions
Class IsValidDateTimeFunction

java.lang.Object
  extended byorg.axiondb.BaseSelectable
      extended byorg.axiondb.functions.BaseFunction
          extended byorg.axiondb.functions.IsValidDateTimeFunction
All Implemented Interfaces:
ConcreteFunction, Function, FunctionFactory, ScalarFunction, Selectable, Serializable

public class IsValidDateTimeFunction
extends BaseFunction
implements ScalarFunction, FunctionFactory

Function to test whether the given String expression is in the same format as the given date format expression.

Version:
$Revision: 1.1 $ $Date: 2004/09/04 01:22:01 $
See Also:
Serialized Form

Constructor Summary
IsValidDateTimeFunction()
           
 
Method Summary
 Object evaluate(RowDecorator row)
           
 DataType getDataType()
           
 boolean isValid()
           
 ConcreteFunction makeNewInstance()
           
 
Methods inherited from class org.axiondb.functions.BaseFunction
addArgument, getAlias, getArgument, getArgumentCount, getLabel, getName, setAlias, setArgument, setName, setVariableContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.axiondb.Function
addArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgument
 
Methods inherited from interface org.axiondb.Selectable
getLabel, setVariableContext
 

Constructor Detail

IsValidDateTimeFunction

public IsValidDateTimeFunction()
Method Detail

getDataType

public DataType getDataType()
Specified by:
getDataType in interface Selectable
Specified by:
getDataType in class BaseFunction
See Also:
Selectable.getDataType()

isValid

public boolean isValid()
Specified by:
isValid in interface ConcreteFunction
Specified by:
isValid in class BaseFunction
See Also:
ConcreteFunction.isValid()

evaluate

public Object evaluate(RowDecorator row)
                throws AxionException
Specified by:
evaluate in interface ScalarFunction
Throws:
AxionException
See Also:
Selectable.evaluate(org.axiondb.RowDecorator)

makeNewInstance

public ConcreteFunction makeNewInstance()
Specified by:
makeNewInstance in interface FunctionFactory
See Also:
FunctionFactory.makeNewInstance()