# Uses of Interface
org.pentaho.reporting.libraries.formula.typing.Type

Packages that use Type
Package
Description
org.pentaho.reporting.libraries.formula
org.pentaho.reporting.libraries.formula.function
org.pentaho.reporting.libraries.formula.function.datetime
org.pentaho.reporting.libraries.formula.function.information
org.pentaho.reporting.libraries.formula.function.logical
org.pentaho.reporting.libraries.formula.function.math
org.pentaho.reporting.libraries.formula.function.rounding
org.pentaho.reporting.libraries.formula.function.text
org.pentaho.reporting.libraries.formula.function.userdefined
org.pentaho.reporting.libraries.formula.lvalues
org.pentaho.reporting.libraries.formula.typing
org.pentaho.reporting.libraries.formula.typing.coretypes
org.pentaho.reporting.libraries.formula.util

## Uses of Type in org.pentaho.reporting.libraries.formula

Methods in org.pentaho.reporting.libraries.formula that return Type
Modifier and Type
Method
Description
`Type`
DefaultFormulaContext.`resolveReferenceType(Object name)`
`Type`
FormulaContext.`resolveReferenceType(Object name)`
Queries the type of the given reference.
Methods in org.pentaho.reporting.libraries.formula with parameters of type Type
Modifier and Type
Method
Description
`List`
DefaultLocalizationContext.`getDateFormats(Type type)`
`List`
LocalizationContext.`getDateFormats(Type type)`

## Uses of Type in org.pentaho.reporting.libraries.formula.function

Methods in org.pentaho.reporting.libraries.formula.function that return Type
Modifier and Type
Method
Description
`Type`
DefaultFunctionDescription.`getParameterType(int position)`
`Type`
FunctionDescription.`getParameterType(int position)`
Returns the parameter type at the given position using the function metadata.
`Type`
ParameterCallback.`getType(int position)`
`Type`
DefaultFunctionDescription.`getValueType()`
`Type`
FunctionDescription.`getValueType()`

## Uses of Type in org.pentaho.reporting.libraries.formula.function.datetime

Methods in org.pentaho.reporting.libraries.formula.function.datetime that return Type
Modifier and Type
Method
Description
`Type`
DateDifFunctionDescription.`getParameterType(int position)`
`Type`
DateFunctionDescription.`getParameterType(int position)`
`Type`
DateValueFunctionDescription.`getParameterType(int position)`
`Type`
DayFunctionDescription.`getParameterType(int position)`
`Type`
DaysFunctionDescription.`getParameterType(int position)`
`Type`
HourFunctionDescription.`getParameterType(int position)`
`Type`
MinuteFunctionDescription.`getParameterType(int position)`
`Type`
MonthFunctionDescription.`getParameterType(int position)`
`Type`
NowFunctionDescription.`getParameterType(int position)`
`Type`
SecondFunctionDescription.`getParameterType(int position)`
`Type`
TimeFunctionDescription.`getParameterType(int position)`
`Type`
TimeValueFunctionDescription.`getParameterType(int position)`
`Type`
TodayFunctionDescription.`getParameterType(int position)`
`Type`
WeekDayFunctionDescription.`getParameterType(int position)`
`Type`
YearFunctionDescription.`getParameterType(int position)`
`Type`
DateDifFunctionDescription.`getValueType()`
`Type`
DateFunctionDescription.`getValueType()`
`Type`
DateValueFunctionDescription.`getValueType()`
`Type`
DayFunctionDescription.`getValueType()`
`Type`
DaysFunctionDescription.`getValueType()`
`Type`
HourFunctionDescription.`getValueType()`
`Type`
MinuteFunctionDescription.`getValueType()`
`Type`
MonthFunctionDescription.`getValueType()`
`Type`
NowFunctionDescription.`getValueType()`
`Type`
SecondFunctionDescription.`getValueType()`
`Type`
TimeFunctionDescription.`getValueType()`
`Type`
TimeValueFunctionDescription.`getValueType()`
`Type`
TodayFunctionDescription.`getValueType()`
`Type`
WeekDayFunctionDescription.`getValueType()`
`Type`
YearFunctionDescription.`getValueType()`

## Uses of Type in org.pentaho.reporting.libraries.formula.function.information

Methods in org.pentaho.reporting.libraries.formula.function.information that return Type
Modifier and Type
Method
Description
`Type`
ChooseFunctionDescription.`getParameterType(int position)`
`Type`
CountAFunctionDescription.`getParameterType(int position)`
Returns the parameter type at the given position using the function metadata.
`Type`
CountBlankFunctionDescription.`getParameterType(int position)`
Returns the parameter type at the given position using the function metadata.
`Type`
CountFunctionDescription.`getParameterType(int position)`
Returns the parameter type at the given position using the function metadata.
`Type`
HasChangedFunctionDescription.`getParameterType(int position)`
`Type`
IndexFunctionDescription.`getParameterType(int position)`
Returns the parameter type at the given position using the function metadata.
`Type`
IsBlankFunctionDescription.`getParameterType(int position)`
`Type`
IsErrFunctionDescription.`getParameterType(int position)`
`Type`
IsErrorFunctionDescription.`getParameterType(int position)`
`Type`
IsEvenFunctionDescription.`getParameterType(int position)`
`Type`
IsLogicalFunctionDescription.`getParameterType(int position)`
`Type`
IsNaFunctionDescription.`getParameterType(int position)`
`Type`
IsNonTextFunctionDescription.`getParameterType(int position)`
`Type`
IsNumberFunctionDescription.`getParameterType(int position)`
`Type`
IsOddFunctionDescription.`getParameterType(int position)`
`Type`
IsRefFunctionDescription.`getParameterType(int position)`
`Type`
IsTextFunctionDescription.`getParameterType(int position)`
`Type`
NaFunctionDescription.`getParameterType(int position)`
`Type`
ValueFunctionDescription.`getParameterType(int position)`
`Type`
ChooseFunctionDescription.`getValueType()`
`Type`
CountAFunctionDescription.`getValueType()`
`Type`
CountBlankFunctionDescription.`getValueType()`
`Type`
CountFunctionDescription.`getValueType()`
`Type`
HasChangedFunctionDescription.`getValueType()`
`Type`
IndexFunctionDescription.`getValueType()`
`Type`
IsBlankFunctionDescription.`getValueType()`
`Type`
IsErrFunctionDescription.`getValueType()`
`Type`
IsErrorFunctionDescription.`getValueType()`
`Type`
IsEvenFunctionDescription.`getValueType()`
`Type`
IsLogicalFunctionDescription.`getValueType()`
`Type`
IsNaFunctionDescription.`getValueType()`
`Type`
IsNonTextFunctionDescription.`getValueType()`
`Type`
IsNumberFunctionDescription.`getValueType()`
`Type`
IsOddFunctionDescription.`getValueType()`
`Type`
IsRefFunctionDescription.`getValueType()`
`Type`
IsTextFunctionDescription.`getValueType()`
`Type`
NaFunctionDescription.`getValueType()`
`Type`
ValueFunctionDescription.`getValueType()`

## Uses of Type in org.pentaho.reporting.libraries.formula.function.logical

Methods in org.pentaho.reporting.libraries.formula.function.logical that return Type
Modifier and Type
Method
Description
`Type`
AndFunctionDescription.`getParameterType(int position)`
`Type`
FalseFunctionDescription.`getParameterType(int position)`
`Type`
IfFunctionDescription.`getParameterType(int position)`
`Type`
IfNaFunctionDescription.`getParameterType(int position)`
`Type`
NotFunctionDescription.`getParameterType(int position)`
`Type`
OrFunctionDescription.`getParameterType(int position)`
`Type`
TrueFunctionDescription.`getParameterType(int position)`
`Type`
XorFunctionDescription.`getParameterType(int position)`
`Type`
AndFunctionDescription.`getValueType()`
`Type`
FalseFunctionDescription.`getValueType()`
`Type`
IfFunctionDescription.`getValueType()`
`Type`
IfNaFunctionDescription.`getValueType()`
`Type`
NotFunctionDescription.`getValueType()`
`Type`
OrFunctionDescription.`getValueType()`
`Type`
TrueFunctionDescription.`getValueType()`
`Type`
XorFunctionDescription.`getValueType()`

## Uses of Type in org.pentaho.reporting.libraries.formula.function.math

Methods in org.pentaho.reporting.libraries.formula.function.math that return Type
Modifier and Type
Method
Description
`Type`
AbsFunctionDescription.`getParameterType(int position)`
`Type`
AcosFunctionDescription.`getParameterType(int position)`
`Type`
AcoshFunctionDescription.`getParameterType(int position)`
`Type`
AsinFunctionDescription.`getParameterType(int position)`
`Type`
Atan2FunctionDescription.`getParameterType(int position)`
`Type`
AtanFunctionDescription.`getParameterType(int position)`
`Type`
AverageAFunctionDescription.`getParameterType(int position)`
`Type`
AverageFunctionDescription.`getParameterType(int position)`
`Type`
CosFunctionDescription.`getParameterType(int position)`
`Type`
EvenFunctionDescription.`getParameterType(int position)`
`Type`
ExpFunctionDescription.`getParameterType(int position)`
`Type`
LnFunctionDescription.`getParameterType(int position)`
`Type`
Log10FunctionDescription.`getParameterType(int position)`
`Type`
LogFunctionDescription.`getParameterType(int position)`
`Type`
MaxAFunctionDescription.`getParameterType(int position)`
`Type`
MaxFunctionDescription.`getParameterType(int position)`
`Type`
MinAFunctionDescription.`getParameterType(int position)`
`Type`
MinFunctionDescription.`getParameterType(int position)`
`Type`
ModFunctionDescription.`getParameterType(int position)`
`Type`
OddFunctionDescription.`getParameterType(int position)`
`Type`
PiFunctionDescription.`getParameterType(int position)`
`Type`
PowerFunctionDescription.`getParameterType(int position)`
`Type`
SinFunctionDescription.`getParameterType(int position)`
`Type`
SqrtFunctionDescription.`getParameterType(int position)`
`Type`
SumAFunctionDescription.`getParameterType(int position)`
`Type`
SumFunctionDescription.`getParameterType(int position)`
`Type`
VarFunctionDescription.`getParameterType(int position)`
`Type`
AbsFunctionDescription.`getValueType()`
`Type`
AcosFunctionDescription.`getValueType()`
`Type`
AcoshFunctionDescription.`getValueType()`
`Type`
AsinFunctionDescription.`getValueType()`
`Type`
Atan2FunctionDescription.`getValueType()`
`Type`
AtanFunctionDescription.`getValueType()`
`Type`
AverageAFunctionDescription.`getValueType()`
`Type`
AverageFunctionDescription.`getValueType()`
`Type`
CosFunctionDescription.`getValueType()`
`Type`
EvenFunctionDescription.`getValueType()`
`Type`
ExpFunctionDescription.`getValueType()`
`Type`
LnFunctionDescription.`getValueType()`
`Type`
Log10FunctionDescription.`getValueType()`
`Type`
LogFunctionDescription.`getValueType()`
`Type`
MaxAFunctionDescription.`getValueType()`
`Type`
MaxFunctionDescription.`getValueType()`
`Type`
MinAFunctionDescription.`getValueType()`
`Type`
MinFunctionDescription.`getValueType()`
`Type`
ModFunctionDescription.`getValueType()`
`Type`
OddFunctionDescription.`getValueType()`
`Type`
PiFunctionDescription.`getValueType()`
`Type`
PowerFunctionDescription.`getValueType()`
`Type`
SinFunctionDescription.`getValueType()`
`Type`
SqrtFunctionDescription.`getValueType()`
`Type`
SumAFunctionDescription.`getValueType()`
`Type`
SumFunctionDescription.`getValueType()`
`Type`
VarFunctionDescription.`getValueType()`

## Uses of Type in org.pentaho.reporting.libraries.formula.function.rounding

Methods in org.pentaho.reporting.libraries.formula.function.rounding that return Type
Modifier and Type
Method
Description
`Type`
IntFunctionDescription.`getParameterType(int position)`
`Type`
IntFunctionDescription.`getValueType()`

## Uses of Type in org.pentaho.reporting.libraries.formula.function.text

Methods in org.pentaho.reporting.libraries.formula.function.text that return Type
Modifier and Type
Method
Description
`Type`
ExactFunctionDescription.`getParameterType(int position)`
`Type`
FindFunctionDescription.`getParameterType(int position)`
`Type`
LeftFunctionDescription.`getParameterType(int position)`
`Type`
LenFunctionDescription.`getParameterType(int position)`
`Type`
LowerFunctionDescription.`getParameterType(int position)`
`Type`
MessageFunctionDescription.`getParameterType(int position)`
`Type`
MidFunctionDescription.`getParameterType(int position)`
`Type`
ReplaceFunctionDescription.`getParameterType(int position)`
`Type`
ReptFunctionDescription.`getParameterType(int position)`
`Type`
RightFunctionDescription.`getParameterType(int position)`
`Type`
SubstituteFunctionDescription.`getParameterType(int position)`
`Type`
TextFunctionDescription.`getParameterType(int position)`
`Type`
TFunctionDescription.`getParameterType(int position)`
`Type`
TrimFunctionDescription.`getParameterType(int position)`
`Type`
UnicharFunctionDescription.`getParameterType(int position)`
`Type`
UnicodeFunctionDescription.`getParameterType(int position)`
`Type`
UpperFunctionDescription.`getParameterType(int position)`
`Type`
URLEncodeFunctionDescription.`getParameterType(int position)`
`Type`
ExactFunctionDescription.`getValueType()`
`Type`
FindFunctionDescription.`getValueType()`
`Type`
LeftFunctionDescription.`getValueType()`
`Type`
LenFunctionDescription.`getValueType()`
`Type`
LowerFunctionDescription.`getValueType()`
`Type`
MessageFunctionDescription.`getValueType()`
`Type`
MidFunctionDescription.`getValueType()`
`Type`
ReplaceFunctionDescription.`getValueType()`
`Type`
ReptFunctionDescription.`getValueType()`
`Type`
RightFunctionDescription.`getValueType()`
`Type`
SubstituteFunctionDescription.`getValueType()`
`Type`
TextFunctionDescription.`getValueType()`
`Type`
TFunctionDescription.`getValueType()`
`Type`
TrimFunctionDescription.`getValueType()`
`Type`
UnicharFunctionDescription.`getValueType()`
`Type`
UnicodeFunctionDescription.`getValueType()`
`Type`
UpperFunctionDescription.`getValueType()`
`Type`
URLEncodeFunctionDescription.`getValueType()`

## Uses of Type in org.pentaho.reporting.libraries.formula.function.userdefined

Methods in org.pentaho.reporting.libraries.formula.function.userdefined that return Type
Modifier and Type
Method
Description
`Type`
CsvArrayFunctionDescription.`getParameterType(int position)`
Returns the parameter type at the given position using the function metadata.
`Type`
CsvTextFunctionDescription.`getParameterType(int position)`
Returns the parameter type at the given position using the function metadata.
`Type`
NormalizeArrayFunctionDescription.`getParameterType(int position)`
Returns the parameter type at the given position using the function metadata.
`Type`
NullFunctionDescription.`getParameterType(int position)`
`Type`
ParseDateFunctionDescription.`getParameterType(int position)`
`Type`
CsvArrayFunctionDescription.`getValueType()`
`Type`
CsvTextFunctionDescription.`getValueType()`
`Type`
NormalizeArrayFunctionDescription.`getValueType()`
`Type`
NullFunctionDescription.`getValueType()`
`Type`
ParseDateFunctionDescription.`getValueType()`

## Uses of Type in org.pentaho.reporting.libraries.formula.lvalues

Methods in org.pentaho.reporting.libraries.formula.lvalues that return Type
Modifier and Type
Method
Description
`Type`
TypeValuePair.`getType()`
`Type`
AbstractLValue.`getValueType()`
Querying the value type is only valid *after* the value has been evaluated.
`Type`
ContextLookup.`getValueType()`
`Type`
DefaultDataTable.`getValueType()`
Querying the value type is only valid *after* the value has been evaluated.
`Type`
LValue.`getValueType()`
Querying the value type is only valid *after* the value has been evaluated.
`Type`
StaticValue.`getValueType()`
This function allows a program traversing the LibFormula object model to know what type this static value is.
Constructors in org.pentaho.reporting.libraries.formula.lvalues with parameters of type Type
Modifier
Constructor
Description
``
`StaticValue(Object value, Type type)`
``
`StaticValue(Object value, Type type, ParsePosition parsePosition)`
``
`TypeValuePair(Type type, Object value)`

## Uses of Type in org.pentaho.reporting.libraries.formula.typing

Classes in org.pentaho.reporting.libraries.formula.typing that implement Type
Modifier and Type
Class
Description
`class`
`DefaultType`
Creation-Date: 02.11.2006, 09:37:54
Methods in org.pentaho.reporting.libraries.formula.typing that return Type
Modifier and Type
Method
Description
`Type`
ArrayCallback.`getType(int row, int column)`
`Type`
StaticArrayCallback.`getType(int row, int column)`
`Type`
DefaultTypeRegistry.`guessTypeOfObject(Object o)`
`Type`
TypeRegistry.`guessTypeOfObject(Object o)`
Methods in org.pentaho.reporting.libraries.formula.typing with parameters of type Type
Modifier and Type
Method
Description
`int`
DefaultComparator.`compare(Type type1, Object value1, Type type2, Object value2)`
Returns null, if the types are not comparable and are not convertible at all.
`int`
ExtendedComparator.`compare(Type type1, Object value1, Type type2, Object value2)`
Returns null, if the types are not comparable and are not convertible at all.
`TypeValuePair`
DefaultTypeRegistry.`convertTo(Type targetType, TypeValuePair valuePair)`
Checks whether the target type would accept the specified value object and value type.
This method is called for auto conversion of fonction parameters using the conversion type declared by the function metadata.
`TypeValuePair`
TypeRegistry.`convertTo(Type targetType, TypeValuePair valuePair)`
Checks whether the target type would accept the specified value object and value type.
`ArrayCallback`
DefaultTypeRegistry.`convertToArray(Type type, Object value)`
`ArrayCallback`
TypeRegistry.`convertToArray(Type type, Object value)`
`Date`
DefaultTypeRegistry.`convertToDate(Type type1, Object value)`
`Date`
TypeRegistry.`convertToDate(Type type1, Object value)`
Converts the object of the given type into a date.
`Boolean`
DefaultTypeRegistry.`convertToLogical(Type type1, Object value)`
`Boolean`
TypeRegistry.`convertToLogical(Type type1, Object value)`
Converts the object of the given type into a boolean.
`Number`
DefaultTypeRegistry.`convertToNumber(Type sourceType, Object value)`
converts the object of the given type into a number.
`Number`
TypeRegistry.`convertToNumber(Type type1, Object value)`
Converts the object of the given type into a number.
`NumberSequence`
DefaultTypeRegistry.`convertToNumberSequence(Type type, Object value, boolean strict)`
`NumberSequence`
TypeRegistry.`convertToNumberSequence(Type type, Object value, boolean strictTypeChecks)`
Converts the given (type,value) pair into a numeric sequence.
`Sequence`
DefaultTypeRegistry.`convertToSequence(Type type, Object value)`
`Sequence`
TypeRegistry.`convertToSequence(Type type, Object value)`
`String`
DefaultTypeRegistry.`convertToText(Type type1, Object value)`
`String`
TypeRegistry.`convertToText(Type type1, Object value)`
(This conversion is used by the operator implementations.)
`ExtendedComparator`
DefaultTypeRegistry.`getComparator(Type type1, Type type2)`
Returns an comparator for the given types.
`ExtendedComparator`
TypeRegistry.`getComparator(Type type1, Type type2)`
Returns an comparator for the given types.
`boolean`
DefaultComparator.`isEqual(Type type1, Object value1, Type type2, Object value2)`
`boolean`
ExtendedComparator.`isEqual(Type type1, Object value1, Type type2, Object value2)`
`Number`
NumberConverter.`toNumber(Type t1, Object o1)`

## Uses of Type in org.pentaho.reporting.libraries.formula.typing.coretypes

Classes in org.pentaho.reporting.libraries.formula.typing.coretypes that implement Type
Modifier and Type
Class
Description
`final class`
`AnyType`
Creation-Date: 02.11.2006, 09:37:54
`class`
`DateTimeType`
This class regroups all related Types to date and time values.
`final class`
`ErrorType`
Creation-Date: 02.11.2006, 09:37:54
`final class`
`LogicalType`
Creation-Date: 02.11.2006, 09:37:54
`class`
`NumberType`
Creation-Date: 02.11.2006, 09:37:54
`final class`
`TextType`
Creation-Date: 02.11.2006, 09:37:54
Fields in org.pentaho.reporting.libraries.formula.typing.coretypes declared as Type
Modifier and Type
Field
Description
`static final Type`
ErrorType.`TYPE`

## Uses of Type in org.pentaho.reporting.libraries.formula.util

Methods in org.pentaho.reporting.libraries.formula.util with parameters of type Type
Modifier and Type
Method
Description
`static BigDecimal`
DateUtil.`normalizeDate(BigDecimal fromSerialDate, Type toType)`
`static Date`
DateUtil.`normalizeDate(Date fromDate, Type toType)`
Converts a `Date` value according to the requested `Type` to the proper `Date` subclasses (`java.sql.Time`, `java.sql.Date`) if needed.
`static Date`
DateUtil.`normalizeDate(Date fromDate, Type toType, boolean convertSerial)`