Package com.walkfares.odsl.var.curve
Class VarCurve
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.VersionedVar
com.walkfares.odsl.var.curve.VarCurve
- All Implemented Interfaces:
Convertible
,BasicValidation
,DatedVar
,DynamicVar
,Var
- Direct Known Subclasses:
VarEventCurve
public class VarCurve extends VersionedVar implements Var, DynamicVar, Convertible, BasicValidation, DatedVar
-
Constructor Summary
Constructors Constructor Description VarCurve(VarCurveDate ondate)
VarCurve(String id, VarCurveDate ondate)
-
Method Summary
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, getLinks, getTypeName, getUID, setLinks, tryConvert
-
Constructor Details
-
Method Details
-
getContracts
-
getType
-
getId
-
set_Id
-
_clone
-
applyChanges
- Specified by:
applyChanges
in interfaceVar
- Overrides:
applyChanges
in classBaseVar
-
getReference
- Specified by:
getReference
in interfaceVar
-
getProperties
- Specified by:
getProperties
in interfaceDynamicVar
-
setProperties
-
add
-
addNew
-
add
-
addNew
-
add
-
add
-
remove
-
contains
-
contains
-
getOndate
-
getOndateAsString
-
getCurrency
- Specified by:
getCurrency
in interfaceConvertible
-
setCurrency
-
getUnits
- Specified by:
getUnits
in interfaceConvertible
-
setUnits
-
isMerge
public boolean isMerge() -
setMerge
-
isSubstituted
public boolean isSubstituted() -
setSubstituted
-
getPrecision
-
setPrecision
-
applyPrecision
-
getTimezone
- Specified by:
getTimezone
in interfaceConvertible
-
setTimezone
-
getName
-
setName
-
getDescription
-
setDescription
-
getObjtype
-
setObjtype
-
getDataid
-
setDataid
-
getObjid
-
setObjid
-
size
-
toString
-
convert
-
convert
Description copied from interface:Convertible
Converts this Var using the conversion options- Specified by:
convert
in interfaceConvertible
- Parameters:
options
- The options to determine what to convert to- Returns:
- A **NEW** converted version of this Var
-
performBasicValidation
Description copied from interface:BasicValidation
Perform some basic validation on this entity. This is called before the entity is merged and updated. Any issues - throw an OpenDSLRuntimeException - ErrorCode: FAILED_BASIC_VALIDATION- Specified by:
performBasicValidation
in interfaceBasicValidation
- Parameters:
id
- - The object id this entity belongs to
-
getStatus
-
withStatus
-
toMatrix
-
toMatrix
-
toMatrix
-
toMatrix
-
toTimeseries
-
withDate
-