Modifier and Type | Method | Description |
---|---|---|
Type |
DefaultFormulaContext.resolveReferenceType(java.lang.Object name) |
|
Type |
FormulaContext.resolveReferenceType(java.lang.Object name) |
Queries the type of the given reference.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List |
DefaultLocalizationContext.getDateFormats(Type type) |
|
java.util.List |
LocalizationContext.getDateFormats(Type 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() |
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() |
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() |
Modifier and Type | Method | Description |
---|---|---|
Type |
AndFunctionDescription.getParameterType(int position) |
|
Type |
FalseFunctionDescription.getParameterType(int position) |
|
Type |
IfFunctionDescription.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 |
NotFunctionDescription.getValueType() |
|
Type |
OrFunctionDescription.getValueType() |
|
Type |
TrueFunctionDescription.getValueType() |
|
Type |
XorFunctionDescription.getValueType() |
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() |
Modifier and Type | Method | Description |
---|---|---|
Type |
IntFunctionDescription.getParameterType(int position) |
|
Type |
IntFunctionDescription.getValueType() |
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() |
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 |
CsvArrayFunctionDescription.getValueType() |
|
Type |
CsvTextFunctionDescription.getValueType() |
|
Type |
NormalizeArrayFunctionDescription.getValueType() |
|
Type |
NullFunctionDescription.getValueType() |
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.
|
Constructor | Description |
---|---|
StaticValue(java.lang.Object value,
Type type) |
|
StaticValue(java.lang.Object value,
Type type,
ParsePosition parsePosition) |
|
TypeValuePair(Type type,
java.lang.Object value) |
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultType |
Creation-Date: 02.11.2006, 09:37:54
|
Modifier and Type | Method | Description |
---|---|---|
Type |
ArrayCallback.getType(int row,
int column) |
|
Type |
StaticArrayCallback.getType(int row,
int column) |
|
Type |
DefaultTypeRegistry.guessTypeOfObject(java.lang.Object o) |
|
Type |
TypeRegistry.guessTypeOfObject(java.lang.Object o) |
Modifier and Type | Method | Description |
---|---|---|
int |
DefaultComparator.compare(Type type1,
java.lang.Object value1,
Type type2,
java.lang.Object value2) |
Returns null, if the types are not comparable and are not convertible at
all.
|
int |
ExtendedComparator.compare(Type type1,
java.lang.Object value1,
Type type2,
java.lang.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,
java.lang.Object value) |
|
ArrayCallback |
TypeRegistry.convertToArray(Type type,
java.lang.Object value) |
|
java.util.Date |
DefaultTypeRegistry.convertToDate(Type type1,
java.lang.Object value) |
|
java.util.Date |
TypeRegistry.convertToDate(Type type1,
java.lang.Object value) |
Converts the object of the given type into a date.
|
java.lang.Boolean |
DefaultTypeRegistry.convertToLogical(Type type1,
java.lang.Object value) |
|
java.lang.Boolean |
TypeRegistry.convertToLogical(Type type1,
java.lang.Object value) |
Converts the object of the given type into a boolean.
|
java.lang.Number |
DefaultTypeRegistry.convertToNumber(Type sourceType,
java.lang.Object value) |
converts the object of the given type into a number.
|
java.lang.Number |
TypeRegistry.convertToNumber(Type type1,
java.lang.Object value) |
Converts the object of the given type into a number.
|
NumberSequence |
DefaultTypeRegistry.convertToNumberSequence(Type type,
java.lang.Object value,
boolean strict) |
|
NumberSequence |
TypeRegistry.convertToNumberSequence(Type type,
java.lang.Object value,
boolean strictTypeChecks) |
Converts the given (type,value) pair into a numeric sequence.
|
Sequence |
DefaultTypeRegistry.convertToSequence(Type type,
java.lang.Object value) |
|
Sequence |
TypeRegistry.convertToSequence(Type type,
java.lang.Object value) |
|
java.lang.String |
DefaultTypeRegistry.convertToText(Type type1,
java.lang.Object value) |
|
java.lang.String |
TypeRegistry.convertToText(Type type1,
java.lang.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,
java.lang.Object value1,
Type type2,
java.lang.Object value2) |
|
boolean |
ExtendedComparator.isEqual(Type type1,
java.lang.Object value1,
Type type2,
java.lang.Object value2) |
|
java.lang.Number |
NumberConverter.toNumber(Type t1,
java.lang.Object o1) |
Modifier and Type | Class | 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 | Description |
---|---|---|
static Type |
ErrorType.TYPE |
Modifier and Type | Method | Description |
---|---|---|
static java.math.BigDecimal |
DateUtil.normalizeDate(java.math.BigDecimal fromSerialDate,
Type toType) |
|
static java.util.Date |
DateUtil.normalizeDate(java.util.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 java.util.Date |
DateUtil.normalizeDate(java.util.Date fromDate,
Type toType,
boolean convertSerial) |