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

java.lang.Object
  extended by com.spoledge.audao.parser.gql.impl.soft.func.Func
      extended by com.spoledge.audao.parser.gql.impl.soft.func.FuncTO_CHAR
All Implemented Interfaces:
SoftFunction

public class FuncTO_CHAR
extends Func

TO_CHAR( date[, fmt ]) .
TO_CHAR( number[, fmt ]) .
TO_CHAR( whatever ) .
fmt: optional format - uses java.text.SimpleDateFormat for dates and java.text.DecimalFormat for numbers Converts misc types to the String type.


Constructor Summary
FuncTO_CHAR()
           
 
Method Summary
protected  void checkNumOfParams(java.util.List<java.lang.Object> args)
           
protected  java.lang.Object getFunctionValueImpl(java.util.List<java.lang.Object> args)
           
 
Methods inherited from class com.spoledge.audao.parser.gql.impl.soft.func.Func
checkNumOfParams, checkNumOfParams, getFunctionName, getFunctionValue, getFunctionWithParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuncTO_CHAR

public FuncTO_CHAR()
Method Detail

getFunctionValueImpl

protected java.lang.Object getFunctionValueImpl(java.util.List<java.lang.Object> args)
Specified by:
getFunctionValueImpl in class Func

checkNumOfParams

protected void checkNumOfParams(java.util.List<java.lang.Object> args)
Specified by:
checkNumOfParams in class Func


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