|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.com.arsmachina.tapestrycrud.selectmodel.impl.SelectModelFactoryImpl
public class SelectModelFactoryImpl
Default SelectModelFactory implementation. It delegates all its methods for
SelectModelFactory instances.
SelectModel,
SingleTypeSelectModelFactory| Constructor Summary | |
|---|---|
SelectModelFactoryImpl(Map<Class,SingleTypeSelectModelFactory> registrations)
Single constructor. |
|
| Method Summary | ||
|---|---|---|
SelectModel |
create(Class<?> clasz)
Creates a SelectModel containing all the instances of a given type. |
|
|
create(Class<T> clasz,
List<T> objects)
Creates a SelectModel containing some given instances of a given type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectModelFactoryImpl(Map<Class,SingleTypeSelectModelFactory> registrations)
registrations - a Map<Class, LinkSingleTypeSelectModelFactory>.
It cannot be null.controllerSource - a ControllerSource. It cannot be null.encoderSource - an EncoderSource. It cannot be null.| Method Detail |
|---|
public SelectModel create(Class<?> clasz)
SelectModelFactorySelectModel containing all the instances of a given type.
create in interface SelectModelFactoryclasz - the Class that represents the wanted type. It cannot be
null.
SelectModel.SelectModelFactory.create(java.lang.Class)
public <T> SelectModel create(Class<T> clasz,
List<T> objects)
SelectModelFactorySelectModel containing some given instances of a given type.
create in interface SelectModelFactoryclasz - the Class that represents the wanted type. It cannot be
null.objects - a List containing the objects used as options.SelectModelFactory.create(java.lang.Class,
java.util.List)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||