org.apache.wicket.threadtest.apps.app1
Class FormInputModel

java.lang.Object
  extended by org.apache.wicket.threadtest.apps.app1.FormInputModel
All Implemented Interfaces:
Serializable

public final class FormInputModel
extends Object
implements Serializable

Simple model object for FormInput example. Has a number of simple properties that can be retrieved and set.

See Also:
Serialized Form

Nested Class Summary
 class FormInputModel.Line
          Represents a line of text.
 
Constructor Summary
FormInputModel()
          Construct.
 
Method Summary
 Boolean getBooleanProperty()
          Gets the booleanProperty.
 Date getDateProperty()
          Gets dateProperty.
 Double getDoubleProperty()
          Gets doubleProperty.
 Integer getIntegerInRangeProperty()
          Gets integerInRangeProperty.
 Integer getIntegerProperty()
          Gets integerProperty.
 List<FormInputModel.Line> getLines()
          Gets lines.
 String getNumberRadioChoice()
          Gets the favoriteColor.
 List<String> getNumbersCheckGroup()
           
 String getNumbersGroup()
           
 UsPhoneNumber getPhoneNumberUS()
           
 Set<String> getSiteSelection()
          Gets the selectedSites.
 String getStringProperty()
          Gets stringProperty.
 URL getUrlProperty()
          Gets the urlProperty.
 void setBooleanProperty(Boolean booleanProperty)
          Sets the booleanProperty.
 void setDateProperty(Date dateProperty)
          Sets dateProperty.
 void setDoubleProperty(Double doubleProperty)
          Sets doubleProperty.
 void setIntegerInRangeProperty(Integer integerInRangeProperty)
          Sets integerInRangeProperty.
 void setIntegerProperty(Integer integerProperty)
          Sets integerProperty.
 void setLines(List<FormInputModel.Line> lines)
          Sets lines.
 void setNumberRadioChoice(String favoriteColor)
          Sets the favoriteColor.
 void setNumbersGroup(String group)
          Sets the number.
 void setPhoneNumberUS(UsPhoneNumber phoneNumberUS)
           
 void setSiteSelection(Set<String> selectedSites)
          Sets the selectedSites.
 void setStringProperty(String stringProperty)
          Sets stringProperty.
 void setUrlProperty(URL urlProperty)
          Sets the urlProperty.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormInputModel

public FormInputModel()
Construct.

Method Detail

getBooleanProperty

public Boolean getBooleanProperty()
Gets the booleanProperty.

Returns:
booleanProperty

getDateProperty

public Date getDateProperty()
Gets dateProperty.

Returns:
dateProperty

getDoubleProperty

public Double getDoubleProperty()
Gets doubleProperty.

Returns:
doubleProperty

getIntegerInRangeProperty

public Integer getIntegerInRangeProperty()
Gets integerInRangeProperty.

Returns:
integerInRangeProperty

getIntegerProperty

public Integer getIntegerProperty()
Gets integerProperty.

Returns:
integerProperty

getLines

public List<FormInputModel.Line> getLines()
Gets lines.

Returns:
lines

getNumberRadioChoice

public String getNumberRadioChoice()
Gets the favoriteColor.

Returns:
favoriteColor

getNumbersCheckGroup

public List<String> getNumbersCheckGroup()
Returns:
the numbers list

getNumbersGroup

public String getNumbersGroup()
Returns:
the group number

getPhoneNumberUS

public UsPhoneNumber getPhoneNumberUS()
Returns:
the phoneNumberUS

getSiteSelection

public Set<String> getSiteSelection()
Gets the selectedSites.

Returns:
selectedSites

getStringProperty

public String getStringProperty()
Gets stringProperty.

Returns:
stringProperty

getUrlProperty

public URL getUrlProperty()
Gets the urlProperty.

Returns:
urlProperty

setBooleanProperty

public void setBooleanProperty(Boolean booleanProperty)
Sets the booleanProperty.

Parameters:
booleanProperty - booleanProperty

setDateProperty

public void setDateProperty(Date dateProperty)
Sets dateProperty.

Parameters:
dateProperty - dateProperty

setDoubleProperty

public void setDoubleProperty(Double doubleProperty)
Sets doubleProperty.

Parameters:
doubleProperty - doubleProperty

setIntegerInRangeProperty

public void setIntegerInRangeProperty(Integer integerInRangeProperty)
Sets integerInRangeProperty.

Parameters:
integerInRangeProperty - integerInRangeProperty

setIntegerProperty

public void setIntegerProperty(Integer integerProperty)
Sets integerProperty.

Parameters:
integerProperty - integerProperty

setLines

public void setLines(List<FormInputModel.Line> lines)
Sets lines.

Parameters:
lines - lines

setNumberRadioChoice

public void setNumberRadioChoice(String favoriteColor)
Sets the favoriteColor.

Parameters:
favoriteColor - favoriteColor

setNumbersGroup

public void setNumbersGroup(String group)
Sets the number.

Parameters:
group - number

setPhoneNumberUS

public void setPhoneNumberUS(UsPhoneNumber phoneNumberUS)
Parameters:
phoneNumberUS - the phoneNumberUS to set

setSiteSelection

public void setSiteSelection(Set<String> selectedSites)
Sets the selectedSites.

Parameters:
selectedSites - selectedSites

setStringProperty

public void setStringProperty(String stringProperty)
Sets stringProperty.

Parameters:
stringProperty - stringProperty

setUrlProperty

public void setUrlProperty(URL urlProperty)
Sets the urlProperty.

Parameters:
urlProperty - urlProperty

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.