org.wicketopia.model.label
Class PluralizedModel

java.lang.Object
  extended by org.apache.wicket.model.AbstractReadOnlyModel<String>
      extended by org.wicketopia.model.label.PluralizedModel
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<String>, org.apache.wicket.util.io.IClusterable

public class PluralizedModel
extends org.apache.wicket.model.AbstractReadOnlyModel<String>

Since:
1.0
See Also:
Serialized Form

Constructor Summary
PluralizedModel(org.apache.wicket.model.IModel<String> singular)
           
 
Method Summary
 void detach()
           
 String getObject()
           
 
Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel
setObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluralizedModel

public PluralizedModel(org.apache.wicket.model.IModel<String> singular)
Method Detail

detach

public void detach()
Specified by:
detach in interface org.apache.wicket.model.IDetachable
Overrides:
detach in class org.apache.wicket.model.AbstractReadOnlyModel<String>

getObject

public String getObject()
Specified by:
getObject in interface org.apache.wicket.model.IModel<String>
Specified by:
getObject in class org.apache.wicket.model.AbstractReadOnlyModel<String>


Copyright © 2010-2013. All Rights Reserved.