nl.coderight.jazz.form.binding
Class SingleValueBinding<V>

java.lang.Object
  extended by nl.coderight.jazz.form.binding.SingleValueBinding<V>
All Implemented Interfaces:
DataBinding<V>

public class SingleValueBinding<V>
extends Object
implements DataBinding<V>

Data Binding implementation for fields with a single value.


Constructor Summary
SingleValueBinding(FormField<V> field)
           
 
Method Summary
 void commit(FormModel model)
           
 void update(FormModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleValueBinding

public SingleValueBinding(FormField<V> field)
Method Detail

update

public void update(FormModel model)
            throws DataBindingException
Specified by:
update in interface DataBinding<V>
Throws:
DataBindingException

commit

public void commit(FormModel model)
            throws DataBindingException
Specified by:
commit in interface DataBinding<V>
Throws:
DataBindingException


Copyright 2010 CodeRight, All rights reserved.