2.17.2: 2011-06-17

net.sf.basedb.core
Class ParameterInfo

java.lang.Object
  extended by net.sf.basedb.core.ParameterInfo

public class ParameterInfo
extends Object

Get information about a plugin configuration or parameter. The information include the label, description and values of the parameter.

Version:
2.0
Author:
nicklas
Last modified
$Date: 2010-10-01 13:51:57 +0200 (Fri, 01 Oct 2010) $

Field Summary
private  String description
           
private  String label
           
private  List<?> values
           
private  Type valueType
           
 
Constructor Summary
ParameterInfo(DbControl dc, ParameterValueData parameter)
           
 
Method Summary
 String getDescription()
           
 String getLabel()
           
 List<?> getValues()
           
 Type getValueType()
          Get the matching Type for the values stored in this parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

private final String label

description

private final String description

values

private final List<?> values

valueType

private final Type valueType
Constructor Detail

ParameterInfo

ParameterInfo(DbControl dc,
              ParameterValueData parameter)
Method Detail

getLabel

public String getLabel()

getDescription

public String getDescription()

getValueType

public Type getValueType()
Get the matching Type for the values stored in this parameter. Can be null since not all parameter types have a matching value type.

Returns:
A Type object or null
Since:
2.16

getValues

public List<?> getValues()

2.17.2: 2011-06-17