org.zeroexchange.representation
Class DateTimeRepresentation
java.lang.Object
org.zeroexchange.representation.DateTimeRepresentation
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, DataProcessor, Representation<Date>
public class DateTimeRepresentation
- extends Object
- implements Representation<Date>, DataProcessor, org.springframework.beans.factory.InitializingBean
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeRepresentation
public DateTimeRepresentation()
setFormat
public void setFormat(String formatSpec)
- Parameters:
format
- the format to set
getProcessingClass
public Class<Date> getProcessingClass()
- Returns root hierarchy current processor can operate
- Specified by:
getProcessingClass
in interface DataProcessor
getRepresentation
public String getRepresentation(Date date,
int limit)
throws BusinessLogicException
- Returns string representation of the specified entity.
- Specified by:
getRepresentation
in interface Representation<Date>
- Throws:
BusinessLogicException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2013. All Rights Reserved.