org.kuali.rice.krad.web.bind
Class UifTimestampEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.kuali.rice.krad.web.bind.UifDateEditor
org.kuali.rice.krad.web.bind.UifTimestampEditor
- All Implemented Interfaces:
- PropertyEditor, Serializable
public class UifTimestampEditor
- extends UifDateEditor
- implements Serializable
PropertyEditor converts between date display strings and
java.sql.Timestamp
objects using the
org.kuali.rice.core.api.datetime.DateTimeService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Method Summary |
String |
getAsText()
This overridden method uses the
org.kuali.rice.core.api.datetime.DateTimeService to convert
the time stamp object to the display string. |
void |
setAsText(String text)
This overridden method converts the display string to a
java.sql.Timestamp object using the
org.kuali.rice.core.api.datetime.DateTimeService . |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UifTimestampEditor
public UifTimestampEditor()
getAsText
public String getAsText()
- This overridden method uses the
org.kuali.rice.core.api.datetime.DateTimeService
to convert
the time stamp object to the display string.
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class UifDateEditor
- See Also:
UifDateEditor.getAsText()
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- This overridden method converts the display string to a
java.sql.Timestamp
object using the
org.kuali.rice.core.api.datetime.DateTimeService
.
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class UifDateEditor
- Throws:
IllegalArgumentException
- See Also:
UifDateEditor.setAsText(java.lang.String)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.