br.com.arsmachina.tapestrycrud.selectmodel
Interface SingleTypeSelectModelFactory<T>

Type Parameters:
T - the type related to this factory.
All Known Implementing Classes:
DefaultSingleTypeSelectModelFactory

public interface SingleTypeSelectModelFactory<T>

Interface that defines a factory of SelectModel instances for a given type.

Author:
Thiago H. de Paula Figueiredo
See Also:
SelectModel, SingleTypeSelectModelFactory

Method Summary
 SelectModel create(List<T> objects)
          Creates a SelectModel with given options.
 

Method Detail

create

SelectModel create(List<T> objects)
Creates a SelectModel with given options.

Parameters:
objects - a List containing the objects used as options. It it is null, it means that all instances must be used as options.
Returns:
a SelectModel.


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.