net.sf.dynamicreports.report.definition.datatype
Interface DRIDataType<U,T extends U>

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractDataType, BigDecimalType, BigIntegerType, BooleanType, ByteType, DateDayType, DateMonthType, DateType, DateYearToFractionType, DateYearToHourType, DateYearToMinuteType, DateYearToMonthType, DateYearToSecondType, DateYearType, DoubleType, DRDataType, FloatType, CharacterType, IntegerType, ListType, LongType, NumberType, PercentageType, ShortType, StringType, TimeHourToFractionType, TimeHourToMinuteType, TimeHourToSecondType

public interface DRIDataType<U,T extends U>
extends Serializable

Author:
Ricardo Mariaca (r.mariaca@dynamicreports.org)

Method Summary
 HorizontalAlignment getHorizontalAlignment()
           
 String getPattern()
           
 Class<T> getValueClass()
           
 DRIValueFormatter<?,? extends U> getValueFormatter()
           
 T stringToValue(DRIValue<String> value, ReportParameters reportParameters)
           
 T stringToValue(String value, Locale locale)
           
 T stringToValue(String name, ReportParameters reportParameters)
           
 String valueToString(DRIValue<? extends U> value, ReportParameters reportParameters)
           
 String valueToString(String name, ReportParameters reportParameters)
           
 String valueToString(U value, Locale locale)
           
 

Method Detail

getPattern

String getPattern()

getValueFormatter

DRIValueFormatter<?,? extends U> getValueFormatter()

getHorizontalAlignment

HorizontalAlignment getHorizontalAlignment()

valueToString

String valueToString(U value,
                     Locale locale)

valueToString

String valueToString(DRIValue<? extends U> value,
                     ReportParameters reportParameters)

valueToString

String valueToString(String name,
                     ReportParameters reportParameters)

stringToValue

T stringToValue(String value,
                Locale locale)
                          throws DRException
Throws:
DRException

stringToValue

T stringToValue(DRIValue<String> value,
                ReportParameters reportParameters)
                          throws DRException
Throws:
DRException

stringToValue

T stringToValue(String name,
                ReportParameters reportParameters)
                          throws DRException
Throws:
DRException

getValueClass

Class<T> getValueClass()


Copyright © 2010-2014. All Rights Reserved.