com.spoledge.audao.parser.gql.impl.soft.func
Class Func

java.lang.Object
  extended by com.spoledge.audao.parser.gql.impl.soft.func.Func
All Implemented Interfaces:
SoftFunction
Direct Known Subclasses:
Func0, Func1, Func2, Func3, FuncDECODE, FuncINSTR, FuncLIST, FuncSUBSTR, FuncTO_CHAR

public abstract class Func
extends java.lang.Object
implements SoftFunction

The parent of all functions.


Constructor Summary
Func()
           
 
Method Summary
protected  void checkNumOfParams(int minCount, int maxCount, java.util.List<java.lang.Object> args)
           
protected  void checkNumOfParams(int expectedCount, java.util.List<java.lang.Object> args)
           
protected abstract  void checkNumOfParams(java.util.List<java.lang.Object> args)
           
protected  java.lang.String getFunctionName()
           
 java.lang.Object getFunctionValue(java.util.List<java.lang.Object> args)
           
protected abstract  java.lang.Object getFunctionValueImpl(java.util.List<java.lang.Object> args)
           
protected  java.lang.String getFunctionWithParams(java.util.List<java.lang.Object> args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Func

public Func()
Method Detail

getFunctionValue

public final java.lang.Object getFunctionValue(java.util.List<java.lang.Object> args)
Specified by:
getFunctionValue in interface SoftFunction

getFunctionValueImpl

protected abstract java.lang.Object getFunctionValueImpl(java.util.List<java.lang.Object> args)

checkNumOfParams

protected abstract void checkNumOfParams(java.util.List<java.lang.Object> args)

checkNumOfParams

protected final void checkNumOfParams(int expectedCount,
                                      java.util.List<java.lang.Object> args)

checkNumOfParams

protected final void checkNumOfParams(int minCount,
                                      int maxCount,
                                      java.util.List<java.lang.Object> args)

getFunctionName

protected java.lang.String getFunctionName()

getFunctionWithParams

protected final java.lang.String getFunctionWithParams(java.util.List<java.lang.Object> args)


Copyright © 2010 Spolecne s.r.o. All Rights Reserved.