This project has retired. For details please refer to its
Attic page .
DateWrapper (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.forms.samples.bindings
Class DateWrapper
java.lang.Object
org.apache.cocoon.forms.samples.bindings.DateWrapper
public class DateWrapper extends Object
DateWrapper is a specific sample test-class to demo the aggregate-binding.
This class must loook quite awkward, but is specially designed to look
similar to the XML structure used in the same sample.
That is also why all field types here are simply kept to String
This will cause the binding-conversion to be applied.
DateWrapper
public DateWrapper (String day,
String month,
String year)
getCombined
public String getCombined ()
setCombined
public void setCombined (String fullDate)
getSplit
public Map getSplit ()
getDay
public String getDay ()
Returns: Returns the day.
setDay
public void setDay (String day)
Parameters: day
- The day to set.
getMonth
public String getMonth ()
Returns: Returns the month.
setMonth
public void setMonth (String month)
Parameters: month
- The month to set.
getYear
public String getYear ()
Returns: Returns the year.
setYear
public void setYear (String year)
Parameters: year
- The year to set.
toString
public String toString ()
Overrides: toString
in class Object
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.