org.makumba.providers.query.mql
Class MQLFunctionArgument

java.lang.Object
  extended by org.makumba.providers.query.mql.MQLFunctionArgument

 class MQLFunctionArgument
extends Object

Represents a single argument in an MQL function.

Version:
$Id: MQLFunctionArgument.java,v 1.1 Dec 20, 2008 3:33:06 AM rudi Exp $
Author:
Rudolf Mayer

Constructor Summary
MQLFunctionArgument(String type)
           
MQLFunctionArgument(String type, boolean optional, boolean multiple)
           
 
Method Summary
 String getType()
           
 String getTypeNice()
           
 boolean isMultiple()
          Whether the argument can be repeated multiple times.
 boolean isOptional()
          Whether the argument is optional.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MQLFunctionArgument

public MQLFunctionArgument(String type)

MQLFunctionArgument

public MQLFunctionArgument(String type,
                           boolean optional,
                           boolean multiple)
Method Detail

getType

public String getType()

getTypeNice

public String getTypeNice()

isMultiple

public boolean isMultiple()
Whether the argument can be repeated multiple times.


isOptional

public boolean isOptional()
Whether the argument is optional.


toString

public String toString()
Overrides:
toString in class Object