org.apache.wicket
Class AttributeModifier.ValuelessAttributeAddModel

java.lang.Object
  extended by org.apache.wicket.model.AbstractReadOnlyModel<Serializable>
      extended by org.apache.wicket.AttributeModifier.ValuelessAttributeAddModel
All Implemented Interfaces:
Serializable, IDetachable, IModel<Serializable>, IClusterable
Enclosing class:
AttributeModifier

public static class AttributeModifier.ValuelessAttributeAddModel
extends AbstractReadOnlyModel<Serializable>

A dynamic model that returns the marker value AttributeModifier.VALUELESS_ATTRIBUTE_ADD to prevent making copies of it via (de)serialization

See Also:
Serialized Form

Constructor Summary
AttributeModifier.ValuelessAttributeAddModel()
           
 
Method Summary
 Serializable getObject()
          Gets the model object.
 
Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel
detach, setObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeModifier.ValuelessAttributeAddModel

public AttributeModifier.ValuelessAttributeAddModel()
Method Detail

getObject

public Serializable getObject()
Description copied from interface: IModel
Gets the model object.

Specified by:
getObject in interface IModel<Serializable>
Specified by:
getObject in class AbstractReadOnlyModel<Serializable>
Returns:
The model object
See Also:
IModel.getObject()


Copyright © 2006–2016 Apache Software Foundation. All rights reserved.