ontopoly.models
Class FieldInstanceModel
java.lang.Object
org.apache.wicket.model.LoadableDetachableModel<FieldInstance>
ontopoly.models.FieldInstanceModel
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<FieldInstance>
public class FieldInstanceModel
- extends org.apache.wicket.model.LoadableDetachableModel<FieldInstance>
- See Also:
- Serialized Form
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel |
detach, getObject, isAttached, onAttach, onDetach, setObject, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FieldInstanceModel
public FieldInstanceModel(FieldInstance fieldInstance)
getFieldType
public int getFieldType()
getFieldInstance
public FieldInstance getFieldInstance()
load
protected FieldInstance load()
- Specified by:
load
in class org.apache.wicket.model.LoadableDetachableModel<FieldInstance>
newFieldInstance
protected FieldInstance newFieldInstance(Topic topic,
FieldAssignment fieldAssignment)
wrapInFieldInstanceModels
public static java.util.List<FieldInstanceModel> wrapInFieldInstanceModels(java.util.List<FieldInstance> fieldInstances)
Copyright © 2000-2012 Ontopia.