ontopoly.models
Class FieldValueModel

java.lang.Object
  extended by org.apache.wicket.model.LoadableDetachableModel<java.lang.Object>
      extended by ontopoly.models.FieldValueModel
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<java.lang.Object>

public class FieldValueModel
extends org.apache.wicket.model.LoadableDetachableModel<java.lang.Object>

See Also:
Serialized Form

Method Summary
static FieldValueModel createModel(FieldInstanceModel fieldInstanceModel, java.lang.Object value, boolean isExistingValue)
           
 void detach()
           
 FieldInstanceModel getFieldInstanceModel()
           
 java.lang.Object getFieldValue()
           
 boolean isExistingValue()
           
 java.lang.Object load()
           
 void setExistingValue(java.lang.Object value)
           
 
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
getObject, isAttached, onAttach, onDetach, setObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createModel

public static FieldValueModel createModel(FieldInstanceModel fieldInstanceModel,
                                          java.lang.Object value,
                                          boolean isExistingValue)

getFieldInstanceModel

public FieldInstanceModel getFieldInstanceModel()

getFieldValue

public java.lang.Object getFieldValue()

isExistingValue

public boolean isExistingValue()

setExistingValue

public void setExistingValue(java.lang.Object value)

load

public java.lang.Object load()
Specified by:
load in class org.apache.wicket.model.LoadableDetachableModel<java.lang.Object>

detach

public void detach()
Specified by:
detach in interface org.apache.wicket.model.IDetachable
Overrides:
detach in class org.apache.wicket.model.LoadableDetachableModel<java.lang.Object>


Copyright © 2000-2012 Ontopia.