appli.sqlplayer.util
Class SqlcmdParam

java.lang.Object
  extended byappli.sqlplayer.util.SqlcmdParam

public class SqlcmdParam
extends java.lang.Object

Defines a sql command parameter

Version:
1.0 Nov 2003
Author:
Marc Wenger

Field Summary
private  java.lang.String currentValue
           
private  java.lang.String defaultValue
           
private  java.lang.String description
           
private  java.lang.String example
           
private  java.lang.String name
           
private  java.lang.String type
           
static int TYPE_INT
           
static int TYPE_STRING
           
static int TYPE_TEXT
           
private  java.util.ArrayList valueList
           
 
Constructor Summary
SqlcmdParam(java.lang.String name, java.lang.String paramData)
          Constructor
 
Method Summary
 java.lang.String getCurrentValue()
           
 java.lang.String getDefaultValue()
           
 java.lang.String getDescription()
           
 java.lang.String getExample()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 java.util.ArrayList getValueList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_INT

public static final int TYPE_INT
See Also:
Constant Field Values

TYPE_STRING

public static final int TYPE_STRING
See Also:
Constant Field Values

TYPE_TEXT

public static final int TYPE_TEXT
See Also:
Constant Field Values

name

private java.lang.String name

description

private java.lang.String description

example

private java.lang.String example

valueList

private java.util.ArrayList valueList

type

private java.lang.String type

defaultValue

private java.lang.String defaultValue

currentValue

private java.lang.String currentValue
Constructor Detail

SqlcmdParam

public SqlcmdParam(java.lang.String name,
                   java.lang.String paramData)
Constructor

Parameters:
name - name of the parameter
paramData - data string for the parameter definition. The syntax is a kind of tex syntax:
\description{...}\type{...}...
Method Detail

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

getExample

public java.lang.String getExample()

getValueList

public java.util.ArrayList getValueList()

getType

public java.lang.String getType()

getDefaultValue

public java.lang.String getDefaultValue()

getCurrentValue

public java.lang.String getCurrentValue()