Package cdm.base.datetime
Interface CalculationFrequency
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
CalculationFrequency.CalculationFrequencyBuilder
- All Known Implementing Classes:
CalculationFrequency.CalculationFrequencyBuilderImpl,CalculationFrequency.CalculationFrequencyImpl
@RosettaDataType(value="CalculationFrequency",
builder=CalculationFrequencyBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="CalculationFrequency",
model="cdm",
builder=CalculationFrequencyBuilderImpl.class,
version="5.30.0")
public interface CalculationFrequency
extends com.rosetta.model.lib.RosettaModelObject
Represents the parameters for describing how often something (such as collateral interest) is to be calculated.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of CalculationFrequencystatic classImmutable Implementation of CalculationFrequency -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()Specifies the business center for adjustment of calculation period.Specifies where is the time measured.Specifies the day of the month if used.Specifies the day of the week if used.Specifies the month of the year if used.Specifies how many days from the trigger event should the payment occur.Specifies the time period at which calculation is performed, e.g. 1 month.default Class<? extends CalculationFrequency> getType()Specifies the week of the month if used.default com.rosetta.model.lib.meta.RosettaMetaData<? extends CalculationFrequency> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getPeriod
Period getPeriod()Specifies the time period at which calculation is performed, e.g. 1 month. -
getMonthOfYear
BigDecimal getMonthOfYear()Specifies the month of the year if used. -
getDayOfMonth
BigDecimal getDayOfMonth()Specifies the day of the month if used. -
getDayOfWeek
DayOfWeekEnum getDayOfWeek()Specifies the day of the week if used. -
getWeekOfMonth
BigDecimal getWeekOfMonth()Specifies the week of the month if used. -
getOffsetDays
BigDecimal getOffsetDays()Specifies how many days from the trigger event should the payment occur. -
getDateLocation
BusinessCenterTime getDateLocation()Specifies where is the time measured. -
getBusinessCenter
List<BusinessCenterEnum> getBusinessCenter()Specifies the business center for adjustment of calculation period. -
build
CalculationFrequency build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
CalculationFrequency.CalculationFrequencyBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-