Package com.walkfares.odsl.conversion
Interface Convertible
- All Superinterfaces:
Var
- All Known Implementing Classes:
VarCurve,VarCurveDates,VarCurveSeries,VarEventCurve,VarEventTimeSeries,VarMatrixDates,VarReportDates,VarSmartCurve,VarSmartTimeSeries,VarTimeSeries
public interface Convertible extends Var
-
Method Summary
Modifier and Type Method Description Convertibleconvert(ConversionOptions options, OpenDSLContext context)Converts this Var using the conversion optionsStringgetCurrency()StringgetTimezone()StringgetUnits()Methods inherited from interface com.walkfares.odsl.var.Var
_clone, applyChanges, DATE, DATE_NULL, DYNAMIC, getId, getReference, getType, getTypeName, getUID, isEmpty, LIST, SCALAR, set_Id, setId, tryConvert
-
Method Details
-
getCurrency
String getCurrency() -
getUnits
String getUnits() -
getTimezone
String getTimezone() -
convert
Converts this Var using the conversion options- Parameters:
options- The options to determine what to convert to- Returns:
- A **NEW** converted version of this Var
-