org.kuali.rice.krad.web.bind
Class UifTimestampEditor
java.lang.Object
   java.beans.PropertyEditorSupport
java.beans.PropertyEditorSupport
       org.kuali.rice.krad.web.bind.UifDateEditor
org.kuali.rice.krad.web.bind.UifDateEditor
           org.kuali.rice.krad.web.bind.UifTimestampEditor
org.kuali.rice.krad.web.bind.UifTimestampEditor
- All Implemented Interfaces: 
- PropertyEditor
- public class UifTimestampEditor 
- extends UifDateEditor
This 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)
 
| Method Summary | 
|  String | getAsText()This overridden method uses the
 org.kuali.rice.core.api.datetime.DateTimeServiceto convert
 the time stamp object to the display string. | 
|  void | setAsText(String text)This overridden method converts the display string to a
 java.sql.Timestampobject using theorg.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.DateTimeServiceto convert
 the time stamp object to the display string.
 
- 
- Specified by:
- getAsTextin interface- PropertyEditor
- Overrides:
- getAsTextin 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.Timestampobject using theorg.kuali.rice.core.api.datetime.DateTimeService.
 
- 
- Specified by:
- setAsTextin interface- PropertyEditor
- Overrides:
- setAsTextin class- UifDateEditor
 
- 
- Throws:
- IllegalArgumentException
- See Also:
- UifDateEditor.setAsText(java.lang.String)
 
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.