org.jminor.framework.client.ui
Class EntityLookupProvider
java.lang.Object
org.jminor.common.ui.input.AbstractInputProvider<Entity,EntityLookupField>
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityLookupProvider
public EntityLookupProvider(EntityLookupModel lookupModel,
Entity initalValue)
- Instantiates a new EntityLookupProvider
- Parameters:
lookupModel
- the lookup model to base the lookup field oninitalValue
- the initial value
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