org.apache.ws.jaxme.sqls.impl
Class FunctionImpl

java.lang.Object
  extended by org.apache.ws.jaxme.sqls.impl.PartsImpl
      extended by org.apache.ws.jaxme.sqls.impl.FunctionImpl
All Implemented Interfaces:
Function, Parts

public class FunctionImpl
extends PartsImpl
implements Function

Author:
Jochen Wiedmann

Constructor Summary
protected FunctionImpl(Statement pStatement, java.lang.String pName)
          Creates a new instance of FunctionImpl.java.
 
Method Summary
 int getMaximumParts()
          Returns the maximum number of parts.
 int getMinimumParts()
          Returns the minimum number of parts.
 java.lang.String getName()
          Returns the functions name.
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.PartsImpl
add, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPlaceholder, addRawSQLPart, createDIFFERENCE, createPRODUCT, createQUOTIENT, createSUM, getNumParts, getParts, getStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.sqls.Parts
addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPlaceholder, addRawSQLPart, createDIFFERENCE, createPRODUCT, createQUOTIENT, createSUM, getNumParts, getParts
 

Constructor Detail

FunctionImpl

protected FunctionImpl(Statement pStatement,
                       java.lang.String pName)

Creates a new instance of FunctionImpl.java.

Method Detail

getName

public java.lang.String getName()
Description copied from interface: Function

Returns the functions name.

Specified by:
getName in interface Function

getMinimumParts

public int getMinimumParts()
Description copied from interface: Parts
Returns the minimum number of parts.

Specified by:
getMinimumParts in interface Parts

getMaximumParts

public int getMaximumParts()
Description copied from interface: Parts
Returns the maximum number of parts. Zero indicates unlimited.

Specified by:
getMaximumParts in interface Parts