ontopoly.models
Class FieldInstanceModel

java.lang.Object
  extended by org.apache.wicket.model.LoadableDetachableModel<FieldInstance>
      extended by 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

Constructor Summary
FieldInstanceModel(FieldInstance fieldInstance)
           
 
Method Summary
 FieldInstance getFieldInstance()
           
 int getFieldType()
           
protected  FieldInstance load()
           
protected  FieldInstance newFieldInstance(Topic topic, FieldAssignment fieldAssignment)
           
static java.util.List<FieldInstanceModel> wrapInFieldInstanceModels(java.util.List<FieldInstance> fieldInstances)
           
 
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
 

Constructor Detail

FieldInstanceModel

public FieldInstanceModel(FieldInstance fieldInstance)
Method Detail

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.