Class DataTypeBuilders
java.lang.Object
net.sf.dynamicreports.report.builder.datatype.DataTypeBuilders
A set of build in data types
- Author:
- Ricardo Mariaca
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbigDecimalType.bigIntegerType.booleanType.byteType()
byteType.characterType.dateDayType.dateMonthType.dateType()
dateType.dateYearToFractionType.dateYearToHourType.dateYearToMinuteType.dateYearToMonthType.dateYearToSecondType.dateYearType.<U,
T extends DRIDataType<? super U, U>>
TdetectType
(Class<U> dataType) detectType.<T extends DRIDataType<?,
?>>
TdetectType
(String dataType) detectType.doubleType.floatType.integerType.listType()
listType.longType()
longType.percentageType.shortType.stringType.timeHourToFractionType.timeHourToMinuteType.timeHourToSecondType.
-
Constructor Details
-
DataTypeBuilders
public DataTypeBuilders()
-
-
Method Details
-
detectType
detectType.
- Type Parameters:
U
- a U object.- Parameters:
dataType
- aClass
object.- Returns:
- a T object.
- Throws:
DRException
- if any.
-
detectType
detectType.
- Parameters:
dataType
- aString
object.- Returns:
- a T object.
- Throws:
DRException
- if any.
-
bigDecimalType
bigDecimalType.
- Returns:
- a
BigDecimalType
object.
-
bigIntegerType
bigIntegerType.
- Returns:
- a
BigIntegerType
object.
-
booleanType
booleanType.
- Returns:
- a
BooleanType
object.
-
byteType
byteType.
- Returns:
- a
ByteType
object.
-
dateType
dateType.
- Returns:
- a
DateType
object.
-
dateYearToFractionType
dateYearToFractionType.
- Returns:
- a
DateYearToFractionType
object.
-
dateYearToHourType
dateYearToHourType.
- Returns:
- a
DateYearToHourType
object.
-
dateYearToMinuteType
dateYearToMinuteType.
- Returns:
- a
DateYearToMinuteType
object.
-
dateYearToMonthType
dateYearToMonthType.
- Returns:
- a
DateYearToMonthType
object.
-
dateYearToSecondType
dateYearToSecondType.
- Returns:
- a
DateYearToSecondType
object.
-
dateYearType
dateYearType.
- Returns:
- a
DateYearType
object.
-
dateMonthType
dateMonthType.
- Returns:
- a
DateMonthType
object.
-
dateDayType
dateDayType.
- Returns:
- a
DateDayType
object.
-
doubleType
doubleType.
- Returns:
- a
DoubleType
object.
-
floatType
floatType.
- Returns:
- a
FloatType
object.
-
characterType
characterType.
- Returns:
- a
CharacterType
object.
-
integerType
integerType.
- Returns:
- a
IntegerType
object.
-
longType
longType.
- Returns:
- a
LongType
object.
-
shortType
shortType.
- Returns:
- a
ShortType
object.
-
stringType
stringType.
- Returns:
- a
StringType
object.
-
listType
listType.
- Returns:
- a
ListType
object.
-
timeHourToFractionType
timeHourToFractionType.
- Returns:
- a
TimeHourToFractionType
object.
-
timeHourToMinuteType
timeHourToMinuteType.
- Returns:
- a
TimeHourToMinuteType
object.
-
timeHourToSecondType
timeHourToSecondType.
- Returns:
- a
TimeHourToSecondType
object.
-
percentageType
percentageType.
- Returns:
- a
PercentageType
object.
-