Package lumis.doui.source.field.type
Class DateDataType.Data
- java.lang.Object
-
- java.util.Date
-
- java.sql.Date
-
- lumis.doui.source.field.type.DateDataType.Data
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Date>
,IRenderable
- Enclosing class:
- DateDataType
public static class DateDataType.Data extends Date implements IRenderable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayString(IRenderer renderer)
Returns the string to be displayed for representing this instance, when a short display is required.String
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.-
Methods inherited from class java.sql.Date
getHours, getMinutes, getSeconds, setHours, setMinutes, setSeconds, setTime, toInstant, toLocalDate, toString, valueOf, valueOf
-
-
-
-
Constructor Detail
-
Data
public Data(Date date)
-
-
Method Detail
-
getRenderData
public String getRenderData(IRenderer renderer) throws PortalException
Description copied from interface:IRenderable
Returns the data of this object in a standard xml format.- Specified by:
getRenderData
in interfaceIRenderable
- Parameters:
renderer
- the renderer object that will use the returned render data.- Returns:
- the xml data for this object.
- Throws:
PortalException
-
getDisplayString
public String getDisplayString(IRenderer renderer) throws PortalException
Description copied from interface:IRenderable
Returns the string to be displayed for representing this instance, when a short display is required.- Specified by:
getDisplayString
in interfaceIRenderable
- Parameters:
renderer
- the renderer object that will use the returned render data.- Returns:
- the string to be used to friendly display this instance.
- Throws:
PortalException
-
-