Last update: 2011-06-23

org.proteios.core
Class ItemParameterType<T extends BasicItem>

java.lang.Object
  extended by org.proteios.core.ParameterType<T>
      extended by org.proteios.core.ItemParameterType<T>

public class ItemParameterType<T extends BasicItem>
extends ParameterType<T>

This class represent a parameter type that is an object derived from BasicData. It will have a list of BasicItem derived objects of the same type to choose from.

Version:
2.0
Author:
Samuel, Nicklas
Last modified
$Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $

Constructor Summary
ItemParameterType(Class<T> clazz, List<T> items)
          Create a new item parameter type, allowing null values.
ItemParameterType(Class<T> clazz, T defaultValue, boolean notNull, int multiplicity, List<T> items)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.proteios.core.ParameterType
getDefaultValue, getHeight, getItems, getMultiplicity, getNotNull, getParameterClass, getWidth, isEnumeration, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemParameterType

public ItemParameterType(Class<T> clazz,
                         List<T> items)
Create a new item parameter type, allowing null values.

Parameters:
clazz - The class object of the type of items that are accepted

ItemParameterType

public ItemParameterType(Class<T> clazz,
                         T defaultValue,
                         boolean notNull,
                         int multiplicity,
                         List<T> items)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

Last update: 2011-06-23