Class ItemParameterType<T extends BasicItem>

java.lang.Object
net.sf.basedb.core.ParameterType<T>
net.sf.basedb.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: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
  • Constructor Details

    • 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
      items - List of items to choose from.
    • ItemParameterType

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