mondrian.test
Class UdfTest.BadPlusOneUdf

java.lang.Object
  extended by mondrian.test.UdfTest.PlusOneUdf
      extended by mondrian.test.UdfTest.BadPlusOneUdf
All Implemented Interfaces:
UserDefinedFunction
Enclosing class:
UdfTest

public static class UdfTest.BadPlusOneUdf
extends UdfTest.PlusOneUdf

A simple user-defined function which adds one to its argument.


Nested Class Summary
 
Nested classes/interfaces inherited from interface mondrian.spi.UserDefinedFunction
UserDefinedFunction.Argument
 
Constructor Summary
UdfTest.BadPlusOneUdf(String name)
           
 
Method Summary
 String getName()
          Returns the name with which the user-defined function will be used from within MDX expressions.
 Type getReturnType(Type[] parameterTypes)
          Returns the return-type of this function.
 
Methods inherited from class mondrian.test.UdfTest.PlusOneUdf
execute, getDescription, getParameterTypes, getReservedWords, getSyntax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdfTest.BadPlusOneUdf

public UdfTest.BadPlusOneUdf(String name)
Method Detail

getName

public String getName()
Description copied from interface: UserDefinedFunction
Returns the name with which the user-defined function will be used from within MDX expressions.

Specified by:
getName in interface UserDefinedFunction
Overrides:
getName in class UdfTest.PlusOneUdf

getReturnType

public Type getReturnType(Type[] parameterTypes)
Description copied from interface: UserDefinedFunction
Returns the return-type of this function.

Specified by:
getReturnType in interface UserDefinedFunction
Overrides:
getReturnType in class UdfTest.PlusOneUdf
Parameters:
parameterTypes - Parameter types
Returns:
Return type

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads