org.axiondb

Interface Function

public interface Function extends Selectable

A database function.

Version: $Revision: 1.11 $ $Date: 2004/08/27 03:21:21 $

Author: Rodney Waldhoff

Method Summary
voidaddArgument(Selectable arg)
Append the given Selectableto my argument list.
StringgetAlias()
Returns the Alias name of this function.
SelectablegetArgument(int i)
Returns the Selectableat the given index.
intgetArgumentCount()
Returns the number of arguments in my argument list.
StringgetName()
Returns the cannonical name of this function.
voidsetAlias(String alias)
Set the Alias name of this function.
voidsetArgument(int i, Selectable arg)

Method Detail

addArgument

public void addArgument(Selectable arg)
Append the given Selectableto my argument list.

getAlias

public String getAlias()
Returns the Alias name of this function.

getArgument

public Selectable getArgument(int i)
Returns the Selectableat the given index.

Throws: IndexOutOfBoundsException if there is no argument at the given index

getArgumentCount

public int getArgumentCount()
Returns the number of arguments in my argument list.

getName

public String getName()
Returns the cannonical name of this function.

setAlias

public void setAlias(String alias)
Set the Alias name of this function.

setArgument

public void setArgument(int i, Selectable arg)