Package cdm.base.math
Class Schedule.ScheduleBuilderImpl
java.lang.Object
cdm.base.math.Schedule.ScheduleBuilderImpl
- All Implemented Interfaces:
Schedule,Schedule.ScheduleBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Direct Known Subclasses:
AmountSchedule.AmountScheduleBuilderImpl
- Enclosing interface:
Schedule
Builder Implementation of Schedule
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.math.Schedule
Schedule.ScheduleBuilder, Schedule.ScheduleBuilderImpl, Schedule.ScheduleImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DatedValue.DatedValueBuilder> protected BigDecimal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDatedValue(DatedValue _datedValue) addDatedValue(DatedValue _datedValue, int idx) addDatedValue(List<? extends DatedValue> datedValues) build()Build MethodsbooleanList<? extends DatedValue.DatedValueBuilder> The schedule of step date and value pairs.getOrCreateDatedValue(int index) getValue()The initial rate or amount, as the case may be.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDatedValue(List<? extends DatedValue> datedValues) setValue(BigDecimal _value) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosettaMethods inherited from interface cdm.base.math.Schedule.ScheduleBuilder
process
-
Field Details
-
value
-
datedValue
-
-
Constructor Details
-
ScheduleBuilderImpl
public ScheduleBuilderImpl()
-
-
Method Details
-
getValue
@RosettaAttribute(value="value", isRequired=true) @RuneAttribute(value="value", isRequired=true) public BigDecimal getValue()Description copied from interface:ScheduleThe initial rate or amount, as the case may be. An initial rate of 5% would be represented as 0.05. -
getDatedValue
@RosettaAttribute("datedValue") @RuneAttribute("datedValue") public List<? extends DatedValue.DatedValueBuilder> getDatedValue()Description copied from interface:ScheduleThe schedule of step date and value pairs. On each step date the associated step value becomes effective. A list of steps may be ordered in the document by ascending step date. An FpML document containing an unordered list of steps is still regarded as a conformant document.- Specified by:
getDatedValuein interfaceSchedule- Specified by:
getDatedValuein interfaceSchedule.ScheduleBuilder
-
getOrCreateDatedValue
- Specified by:
getOrCreateDatedValuein interfaceSchedule.ScheduleBuilder
-
setValue
@RosettaAttribute(value="value", isRequired=true) @RuneAttribute(value="value", isRequired=true) public Schedule.ScheduleBuilder setValue(BigDecimal _value) - Specified by:
setValuein interfaceSchedule.ScheduleBuilder
-
addDatedValue
@RosettaAttribute("datedValue") @RuneAttribute("datedValue") public Schedule.ScheduleBuilder addDatedValue(DatedValue _datedValue) - Specified by:
addDatedValuein interfaceSchedule.ScheduleBuilder
-
addDatedValue
- Specified by:
addDatedValuein interfaceSchedule.ScheduleBuilder
-
addDatedValue
- Specified by:
addDatedValuein interfaceSchedule.ScheduleBuilder
-
setDatedValue
@RuneAttribute("datedValue") public Schedule.ScheduleBuilder setDatedValue(List<? extends DatedValue> datedValues) - Specified by:
setDatedValuein interfaceSchedule.ScheduleBuilder
-
build
Description copied from interface:ScheduleBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Specified by:
prunein interfaceSchedule.ScheduleBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Schedule.ScheduleBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-