org.kuali.student.common.ui.client.configurable.mvc.binding
Class MultiplicityTableBinding
java.lang.Object
org.kuali.student.common.ui.client.configurable.mvc.binding.ModelWidgetBindingSupport<MultiplicityTable>
org.kuali.student.common.ui.client.configurable.mvc.binding.MultiplicityTableBinding
- All Implemented Interfaces:
- ModelWidgetBinding<MultiplicityTable>
public class MultiplicityTableBinding
- extends ModelWidgetBindingSupport<MultiplicityTable>
This class handles transferring data between the model and the widgets
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiplicityTableBinding
public MultiplicityTableBinding()
setModelValue
public void setModelValue(MultiplicityTable table,
DataModel model,
String path)
- Description copied from interface:
ModelWidgetBinding
- Sets the model with the value from the widget
- Parameters:
table
- Widget to interpret the data frompath
- where in the model to store the data- See Also:
ModelWidgetBinding.setModelValue(Object,
org.kuali.student.common.ui.client.mvc.DataModel, String)
setWidgetValue
public void setWidgetValue(MultiplicityTable table,
DataModel model,
String path)
- Description copied from interface:
ModelWidgetBinding
- Sets the passed in widget with the appropriate data from the model
- Parameters:
table
- the widget to have its value setmodel
- DataModel to retrieve the data frompath
- where in the model to get the data- See Also:
ModelWidgetBinding.setWidgetValue(Object,
org.kuali.student.common.ui.client.mvc.DataModel, String)
translatePath
private QueryPath translatePath(String path,
QueryPath fullPath,
DataModel model)
- This method checks the meta data for an initial lookup for this field. If found, the field path
is translated to lookup the id_translation data in the _runtimeData structure in the model
- Parameters:
path
- fullPath
- model
-
- Returns:
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.