Package cdm.legaldocumentation.common
Class ClosedState.ClosedStateBuilderImpl
java.lang.Object
cdm.legaldocumentation.common.ClosedState.ClosedStateBuilderImpl
- All Implemented Interfaces:
ClosedState,ClosedState.ClosedStateBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ClosedState
public static class ClosedState.ClosedStateBuilderImpl
extends Object
implements ClosedState.ClosedStateBuilder
Builder Implementation of ClosedState
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.common.ClosedState
ClosedState.ClosedStateBuilder, ClosedState.ClosedStateBuilderImpl, ClosedState.ClosedStateImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.records.Dateprotected com.rosetta.model.lib.records.Dateprotected com.rosetta.model.lib.records.Dateprotected ClosedStateEnumFields inherited from interface cdm.legaldocumentation.common.ClosedState
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbooleancom.rosetta.model.lib.records.DateThe activity date on which the closing state took place, i.e. either the event date of the closing event (e.g. option exercise, contract early termination) or the contractual termination date.com.rosetta.model.lib.records.DateThe date on which the closing event contractually takes effect, when different from the activity date.com.rosetta.model.lib.records.DateThe date associated with the last payment in relation to the artefact (e.g. contract) to which this closed state applies.getState()The qualification of what gave way to the contract or execution closure, e.g. allocation, termination, ...booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setActivityDate(com.rosetta.model.lib.records.Date _activityDate) setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) setLastPaymentDate(com.rosetta.model.lib.records.Date _lastPaymentDate) setState(ClosedStateEnum _state) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.legaldocumentation.common.ClosedState
getType, metaData, processMethods inherited from interface cdm.legaldocumentation.common.ClosedState.ClosedStateBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
state
-
activityDate
protected com.rosetta.model.lib.records.Date activityDate -
effectiveDate
protected com.rosetta.model.lib.records.Date effectiveDate -
lastPaymentDate
protected com.rosetta.model.lib.records.Date lastPaymentDate
-
-
Constructor Details
-
ClosedStateBuilderImpl
public ClosedStateBuilderImpl()
-
-
Method Details
-
getState
@RosettaAttribute(value="state", isRequired=true) @RuneAttribute(value="state", isRequired=true) public ClosedStateEnum getState()Description copied from interface:ClosedStateThe qualification of what gave way to the contract or execution closure, e.g. allocation, termination, ...- Specified by:
getStatein interfaceClosedState
-
getActivityDate
@RosettaAttribute(value="activityDate", isRequired=true) @RuneAttribute(value="activityDate", isRequired=true) public com.rosetta.model.lib.records.Date getActivityDate()Description copied from interface:ClosedStateThe activity date on which the closing state took place, i.e. either the event date of the closing event (e.g. option exercise, contract early termination) or the contractual termination date.- Specified by:
getActivityDatein interfaceClosedState
-
getEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()Description copied from interface:ClosedStateThe date on which the closing event contractually takes effect, when different from the activity date. When an explicit event effective date attribute is associated with the closing event, it will be that date. In the case of a cancellation event, it will be the date on which the cancelled event took place.- Specified by:
getEffectiveDatein interfaceClosedState
-
getLastPaymentDate
@RosettaAttribute("lastPaymentDate") @RuneAttribute("lastPaymentDate") public com.rosetta.model.lib.records.Date getLastPaymentDate()Description copied from interface:ClosedStateThe date associated with the last payment in relation to the artefact (e.g. contract) to which this closed state applies. As an example, in the case of an early termination event, it would be the settlement date of the associated fee, if applicable.- Specified by:
getLastPaymentDatein interfaceClosedState
-
setState
@RosettaAttribute(value="state", isRequired=true) @RuneAttribute(value="state", isRequired=true) public ClosedState.ClosedStateBuilder setState(ClosedStateEnum _state) - Specified by:
setStatein interfaceClosedState.ClosedStateBuilder
-
setActivityDate
@RosettaAttribute(value="activityDate", isRequired=true) @RuneAttribute(value="activityDate", isRequired=true) public ClosedState.ClosedStateBuilder setActivityDate(com.rosetta.model.lib.records.Date _activityDate) - Specified by:
setActivityDatein interfaceClosedState.ClosedStateBuilder
-
setEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public ClosedState.ClosedStateBuilder setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) - Specified by:
setEffectiveDatein interfaceClosedState.ClosedStateBuilder
-
setLastPaymentDate
@RosettaAttribute("lastPaymentDate") @RuneAttribute("lastPaymentDate") public ClosedState.ClosedStateBuilder setLastPaymentDate(com.rosetta.model.lib.records.Date _lastPaymentDate) - Specified by:
setLastPaymentDatein interfaceClosedState.ClosedStateBuilder
-
build
Description copied from interface:ClosedStateBuild Methods- Specified by:
buildin interfaceClosedState- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceClosedState- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceClosedState.ClosedStateBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public ClosedState.ClosedStateBuilder 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
-