Modifier and Type | Method and Description |
---|---|
Type |
DefaultFormulaContext.resolveReferenceType(Object name) |
Type |
FormulaContext.resolveReferenceType(Object name)
Queries the type of the given reference.
|
Modifier and Type | Method and Description |
---|---|
List |
LocalizationContext.getDateFormats(Type type) |
List |
DefaultLocalizationContext.getDateFormats(Type type) |
Modifier and Type | Method and 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() |
Modifier and Type | Method and Description |
---|---|
Type |
MonthFunctionDescription.getParameterType(int position) |
Type |
DayFunctionDescription.getParameterType(int position) |
Type |
DateDifFunctionDescription.getParameterType(int position) |
Type |
DaysFunctionDescription.getParameterType(int position) |
Type |
SecondFunctionDescription.getParameterType(int position) |
Type |
DateValueFunctionDescription.getParameterType(int position) |
Type |
DateFunctionDescription.getParameterType(int position) |
Type |
YearFunctionDescription.getParameterType(int position) |
Type |
TimeFunctionDescription.getParameterType(int position) |
Type |
WeekDayFunctionDescription.getParameterType(int position) |
Type |
NowFunctionDescription.getParameterType(int position) |
Type |
HourFunctionDescription.getParameterType(int position) |
Type |
TodayFunctionDescription.getParameterType(int position) |
Type |
TimeValueFunctionDescription.getParameterType(int position) |
Type |
MinuteFunctionDescription.getParameterType(int position) |
Type |
MonthFunctionDescription.getValueType() |
Type |
DayFunctionDescription.getValueType() |
Type |
DateDifFunctionDescription.getValueType() |
Type |
DaysFunctionDescription.getValueType() |
Type |
SecondFunctionDescription.getValueType() |
Type |
DateValueFunctionDescription.getValueType() |
Type |
DateFunctionDescription.getValueType() |
Type |
YearFunctionDescription.getValueType() |
Type |
TimeFunctionDescription.getValueType() |
Type |
WeekDayFunctionDescription.getValueType() |
Type |
NowFunctionDescription.getValueType() |
Type |
HourFunctionDescription.getValueType() |
Type |
TodayFunctionDescription.getValueType() |
Type |
TimeValueFunctionDescription.getValueType() |
Type |
MinuteFunctionDescription.getValueType() |
Modifier and Type | Method and Description |
---|---|
Type |
NaFunctionDescription.getParameterType(int position) |
Type |
IsRefFunctionDescription.getParameterType(int position) |
Type |
IsEvenFunctionDescription.getParameterType(int position) |
Type |
ChooseFunctionDescription.getParameterType(int position) |
Type |
IsTextFunctionDescription.getParameterType(int position) |
Type |
CountFunctionDescription.getParameterType(int position)
Returns the parameter type at the given position using the function metadata.
|
Type |
IndexFunctionDescription.getParameterType(int position)
Returns the parameter type at the given position using the function
metadata.
|
Type |
IsBlankFunctionDescription.getParameterType(int position) |
Type |
CountAFunctionDescription.getParameterType(int position)
Returns the parameter type at the given position using the function metadata.
|
Type |
IsErrFunctionDescription.getParameterType(int position) |
Type |
IsNumberFunctionDescription.getParameterType(int position) |
Type |
IsErrorFunctionDescription.getParameterType(int position) |
Type |
IsNaFunctionDescription.getParameterType(int position) |
Type |
ValueFunctionDescription.getParameterType(int position) |
Type |
IsOddFunctionDescription.getParameterType(int position) |
Type |
IsNonTextFunctionDescription.getParameterType(int position) |
Type |
IsLogicalFunctionDescription.getParameterType(int position) |
Type |
CountBlankFunctionDescription.getParameterType(int position)
Returns the parameter type at the given position using the function metadata.
|
Type |
HasChangedFunctionDescription.getParameterType(int position) |
Type |
NaFunctionDescription.getValueType() |
Type |
IsRefFunctionDescription.getValueType() |
Type |
IsEvenFunctionDescription.getValueType() |
Type |
ChooseFunctionDescription.getValueType() |
Type |
IsTextFunctionDescription.getValueType() |
Type |
CountFunctionDescription.getValueType() |
Type |
IndexFunctionDescription.getValueType() |
Type |
IsBlankFunctionDescription.getValueType() |
Type |
CountAFunctionDescription.getValueType() |
Type |
IsErrFunctionDescription.getValueType() |
Type |
IsNumberFunctionDescription.getValueType() |
Type |
IsErrorFunctionDescription.getValueType() |
Type |
IsNaFunctionDescription.getValueType() |
Type |
ValueFunctionDescription.getValueType() |
Type |
IsOddFunctionDescription.getValueType() |
Type |
IsNonTextFunctionDescription.getValueType() |
Type |
IsLogicalFunctionDescription.getValueType() |
Type |
CountBlankFunctionDescription.getValueType() |
Type |
HasChangedFunctionDescription.getValueType() |
Modifier and Type | Method and Description |
---|---|
Type |
FalseFunctionDescription.getParameterType(int position) |
Type |
OrFunctionDescription.getParameterType(int position) |
Type |
IfFunctionDescription.getParameterType(int position) |
Type |
IfNaFunctionDescription.getParameterType(int position) |
Type |
TrueFunctionDescription.getParameterType(int position) |
Type |
AndFunctionDescription.getParameterType(int position) |
Type |
XorFunctionDescription.getParameterType(int position) |
Type |
NotFunctionDescription.getParameterType(int position) |
Type |
FalseFunctionDescription.getValueType() |
Type |
OrFunctionDescription.getValueType() |
Type |
IfFunctionDescription.getValueType() |
Type |
IfNaFunctionDescription.getValueType() |
Type |
TrueFunctionDescription.getValueType() |
Type |
AndFunctionDescription.getValueType() |
Type |
XorFunctionDescription.getValueType() |
Type |
NotFunctionDescription.getValueType() |
Modifier and Type | Method and Description |
---|---|
Type |
MaxAFunctionDescription.getParameterType(int position) |
Type |
OddFunctionDescription.getParameterType(int position) |
Type |
AtanFunctionDescription.getParameterType(int position) |
Type |
AbsFunctionDescription.getParameterType(int position) |
Type |
EvenFunctionDescription.getParameterType(int position) |
Type |
LnFunctionDescription.getParameterType(int position) |
Type |
Log10FunctionDescription.getParameterType(int position) |
Type |
MinAFunctionDescription.getParameterType(int position) |
Type |
PiFunctionDescription.getParameterType(int position) |
Type |
MinFunctionDescription.getParameterType(int position) |
Type |
AcoshFunctionDescription.getParameterType(int position) |
Type |
Atan2FunctionDescription.getParameterType(int position) |
Type |
LogFunctionDescription.getParameterType(int position) |
Type |
AsinFunctionDescription.getParameterType(int position) |
Type |
MaxFunctionDescription.getParameterType(int position) |
Type |
PowerFunctionDescription.getParameterType(int position) |
Type |
SinFunctionDescription.getParameterType(int position) |
Type |
SqrtFunctionDescription.getParameterType(int position) |
Type |
ExpFunctionDescription.getParameterType(int position) |
Type |
AverageFunctionDescription.getParameterType(int position) |
Type |
SumFunctionDescription.getParameterType(int position) |
Type |
AcosFunctionDescription.getParameterType(int position) |
Type |
CosFunctionDescription.getParameterType(int position) |
Type |
VarFunctionDescription.getParameterType(int position) |
Type |
AverageAFunctionDescription.getParameterType(int position) |
Type |
SumAFunctionDescription.getParameterType(int position) |
Type |
ModFunctionDescription.getParameterType(int position) |
Type |
MaxAFunctionDescription.getValueType() |
Type |
OddFunctionDescription.getValueType() |
Type |
AtanFunctionDescription.getValueType() |
Type |
AbsFunctionDescription.getValueType() |
Type |
EvenFunctionDescription.getValueType() |
Type |
LnFunctionDescription.getValueType() |
Type |
Log10FunctionDescription.getValueType() |
Type |
MinAFunctionDescription.getValueType() |
Type |
PiFunctionDescription.getValueType() |
Type |
MinFunctionDescription.getValueType() |
Type |
AcoshFunctionDescription.getValueType() |
Type |
Atan2FunctionDescription.getValueType() |
Type |
LogFunctionDescription.getValueType() |
Type |
AsinFunctionDescription.getValueType() |
Type |
MaxFunctionDescription.getValueType() |
Type |
PowerFunctionDescription.getValueType() |
Type |
SinFunctionDescription.getValueType() |
Type |
SqrtFunctionDescription.getValueType() |
Type |
ExpFunctionDescription.getValueType() |
Type |
AverageFunctionDescription.getValueType() |
Type |
SumFunctionDescription.getValueType() |
Type |
AcosFunctionDescription.getValueType() |
Type |
CosFunctionDescription.getValueType() |
Type |
VarFunctionDescription.getValueType() |
Type |
AverageAFunctionDescription.getValueType() |
Type |
SumAFunctionDescription.getValueType() |
Type |
ModFunctionDescription.getValueType() |
Modifier and Type | Method and Description |
---|---|
Type |
IntFunctionDescription.getParameterType(int position) |
Type |
IntFunctionDescription.getValueType() |
Modifier and Type | Method and Description |
---|---|
Type |
LeftFunctionDescription.getParameterType(int position) |
Type |
ReptFunctionDescription.getParameterType(int position) |
Type |
ExactFunctionDescription.getParameterType(int position) |
Type |
URLEncodeFunctionDescription.getParameterType(int position) |
Type |
UnicodeFunctionDescription.getParameterType(int position) |
Type |
TextFunctionDescription.getParameterType(int position) |
Type |
SubstituteFunctionDescription.getParameterType(int position) |
Type |
LowerFunctionDescription.getParameterType(int position) |
Type |
UpperFunctionDescription.getParameterType(int position) |
Type |
ReplaceFunctionDescription.getParameterType(int position) |
Type |
TFunctionDescription.getParameterType(int position) |
Type |
MidFunctionDescription.getParameterType(int position) |
Type |
RightFunctionDescription.getParameterType(int position) |
Type |
TrimFunctionDescription.getParameterType(int position) |
Type |
FindFunctionDescription.getParameterType(int position) |
Type |
UnicharFunctionDescription.getParameterType(int position) |
Type |
MessageFunctionDescription.getParameterType(int position) |
Type |
LenFunctionDescription.getParameterType(int position) |
Type |
LeftFunctionDescription.getValueType() |
Type |
ReptFunctionDescription.getValueType() |
Type |
ExactFunctionDescription.getValueType() |
Type |
URLEncodeFunctionDescription.getValueType() |
Type |
UnicodeFunctionDescription.getValueType() |
Type |
TextFunctionDescription.getValueType() |
Type |
SubstituteFunctionDescription.getValueType() |
Type |
LowerFunctionDescription.getValueType() |
Type |
UpperFunctionDescription.getValueType() |
Type |
ReplaceFunctionDescription.getValueType() |
Type |
TFunctionDescription.getValueType() |
Type |
MidFunctionDescription.getValueType() |
Type |
RightFunctionDescription.getValueType() |
Type |
TrimFunctionDescription.getValueType() |
Type |
FindFunctionDescription.getValueType() |
Type |
UnicharFunctionDescription.getValueType() |
Type |
MessageFunctionDescription.getValueType() |
Type |
LenFunctionDescription.getValueType() |
Modifier and Type | Method and 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 |
ParseDateFunctionDescription.getParameterType(int position) |
Type |
NullFunctionDescription.getParameterType(int position) |
Type |
CsvArrayFunctionDescription.getValueType() |
Type |
CsvTextFunctionDescription.getValueType() |
Type |
NormalizeArrayFunctionDescription.getValueType() |
Type |
ParseDateFunctionDescription.getValueType() |
Type |
NullFunctionDescription.getValueType() |
Modifier and Type | Method and Description |
---|---|
Type |
TypeValuePair.getType() |
Type |
ContextLookup.getValueType() |
Type |
AbstractLValue.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 |
DefaultDataTable.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.
|
Constructor and Description |
---|
StaticValue(Object value,
Type type) |
StaticValue(Object value,
Type type,
ParsePosition parsePosition) |
TypeValuePair(Type type,
Object value) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultType
Creation-Date: 02.11.2006, 09:37:54
|
Modifier and Type | Method and Description |
---|---|
Type |
StaticArrayCallback.getType(int row,
int column) |
Type |
ArrayCallback.getType(int row,
int column) |
Type |
DefaultTypeRegistry.guessTypeOfObject(Object o) |
Type |
TypeRegistry.guessTypeOfObject(Object o) |
Modifier and Type | Method and 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.
|
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) |
Modifier and Type | Class and Description |
---|---|
class |
AnyType
Creation-Date: 02.11.2006, 09:37:54
|
class |
DateTimeType
This class regroups all related Types to date and time values.
|
class |
ErrorType
Creation-Date: 02.11.2006, 09:37:54
|
class |
LogicalType
Creation-Date: 02.11.2006, 09:37:54
|
class |
NumberType
Creation-Date: 02.11.2006, 09:37:54
|
class |
TextType
Creation-Date: 02.11.2006, 09:37:54
|
Modifier and Type | Field and Description |
---|---|
static Type |
ErrorType.TYPE |
Modifier and Type | Method and 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) |