org.jminor.framework.client.ui
Class EntityLookupProvider

java.lang.Object
  extended by org.jminor.common.ui.input.AbstractInputProvider<Entity,EntityLookupField>
      extended by org.jminor.framework.client.ui.EntityLookupProvider
All Implemented Interfaces:
InputProvider<Entity,EntityLookupField>

public final class EntityLookupProvider
extends AbstractInputProvider<Entity,EntityLookupField>

A InputProvider implementation for Entity values based on a EntityLookupField.

See Also:
EntityLookupField

Constructor Summary
EntityLookupProvider(EntityLookupModel lookupModel, Entity initalValue)
          Instantiates a new EntityLookupProvider
 
Method Summary
 Entity getValue()
          
 
Methods inherited from class org.jminor.common.ui.input.AbstractInputProvider
getInputComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityLookupProvider

public EntityLookupProvider(EntityLookupModel lookupModel,
                            Entity initalValue)
Instantiates a new EntityLookupProvider

Parameters:
lookupModel - the lookup model to base the lookup field on
initalValue - the initial value
Method Detail

getValue

public Entity getValue()

Specified by:
getValue in interface InputProvider<Entity,EntityLookupField>
Specified by:
getValue in class AbstractInputProvider<Entity,EntityLookupField>
Returns:
the value according to the input component