public class FieldInstanceModel extends org.apache.wicket.model.LoadableDetachableModel<FieldInstance>
Constructor and Description |
---|
FieldInstanceModel(FieldInstance fieldInstance) |
Modifier and Type | Method and Description |
---|---|
FieldInstance |
getFieldInstance() |
int |
getFieldType() |
protected FieldInstance |
load() |
protected FieldInstance |
newFieldInstance(Topic topic,
FieldAssignment fieldAssignment) |
static List<FieldInstanceModel> |
wrapInFieldInstanceModels(List<FieldInstance> fieldInstances) |
public FieldInstanceModel(FieldInstance fieldInstance)
public int getFieldType()
public FieldInstance getFieldInstance()
protected FieldInstance load()
load
in class org.apache.wicket.model.LoadableDetachableModel<FieldInstance>
protected FieldInstance newFieldInstance(Topic topic, FieldAssignment fieldAssignment)
public static List<FieldInstanceModel> wrapInFieldInstanceModels(List<FieldInstance> fieldInstances)