org.pentaho.reporting.libraries.formula.function.text
Class MessageFunctionDescription

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
      extended by org.pentaho.reporting.libraries.formula.function.text.MessageFunctionDescription
All Implemented Interfaces:
Serializable, FunctionDescription

public class MessageFunctionDescription
extends AbstractFunctionDescription

See Also:
Serialized Form

Constructor Summary
MessageFunctionDescription()
           
 
Method Summary
 FunctionCategory getCategory()
           
 int getParameterCount()
           
 Type getParameterType(int position)
          Returns the parameter type at the given position using the function metadata.
 Type getValueType()
           
 boolean isInfiniteParameterCount()
           
 boolean isParameterMandatory(int position)
          Defines, whether the parameter at the given position is mandatory.
 
Methods inherited from class org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
getCanonicalName, getDefaultValue, getDescription, getDisplayName, getParameterDescription, getParameterDisplayName, isDeprecated, isExperimental, isVolatile
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageFunctionDescription

public MessageFunctionDescription()
Method Detail

getCategory

public FunctionCategory getCategory()

getParameterCount

public int getParameterCount()

isInfiniteParameterCount

public boolean isInfiniteParameterCount()
Specified by:
isInfiniteParameterCount in interface FunctionDescription
Overrides:
isInfiniteParameterCount in class AbstractFunctionDescription

getParameterType

public Type getParameterType(int position)
Description copied from interface: FunctionDescription
Returns the parameter type at the given position using the function metadata. The first parameter is at the position 0;

Parameters:
position - The parameter index.
Returns:
The parameter type.

getValueType

public Type getValueType()

isParameterMandatory

public boolean isParameterMandatory(int position)
Description copied from interface: FunctionDescription
Defines, whether the parameter at the given position is mandatory. A mandatory parameter must be filled in, while optional parameters need not to be filled in.

Returns: