Package org.isda.cdm
Class ClosedState
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.ClosedState
-
@RosettaClass public class ClosedState extends com.rosetta.model.lib.RosettaModelObject
A class to qualify the closed state of an execution or a contract through the combination or a state (e.g. terminated, novated) and a set of dates: activity date, effective date and, when relevant, last payment date.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClosedState.ClosedStateBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClosedState.ClosedStateBuilder
builder()
boolean
equals(java.lang.Object o)
com.rosetta.model.lib.records.Date
getActivityDate()
The activity date on which the closing state took place, i.e.com.rosetta.model.lib.records.Date
getEffectiveDate()
The date on which the closing event contractually takes effect, when different from the activity date.com.rosetta.model.lib.records.Date
getLastPaymentDate()
The date associated with the last payment in relation to the artefact (e.g.ClosedStateEnum
getState()
The qualification of what gave way to the contract or execution closure, e.g.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends ClosedState>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
ClosedState.ClosedStateBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getActivityDate
@RosettaSynonym(value="activityDate", source="Rosetta_Workbench") public final com.rosetta.model.lib.records.Date getActivityDate()
The 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.
-
getEffectiveDate
@RosettaSynonym(value="effectiveDate", source="Rosetta_Workbench") public final com.rosetta.model.lib.records.Date getEffectiveDate()
The 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.
-
getLastPaymentDate
@RosettaSynonym(value="lastPaymentDate", source="Rosetta_Workbench") public final com.rosetta.model.lib.records.Date getLastPaymentDate()
The 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.
-
getState
@RosettaSynonym(value="state", source="Rosetta_Workbench") public final ClosedStateEnum getState()
The qualification of what gave way to the contract or execution closure, e.g. allocation, termination, ...
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends ClosedState> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public ClosedState.ClosedStateBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static ClosedState.ClosedStateBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-