Package org.isda.cdm
Class ResetPrimitive
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.ResetPrimitive
-
@RosettaClass public class ResetPrimitive extends com.rosetta.model.lib.RosettaModelObject
The primitive event to represent a reset.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResetPrimitive.ResetPrimitiveBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResetPrimitive.ResetPrimitiveBuilder
builder()
boolean
equals(java.lang.Object o)
ContractState
getAfter()
Contract state after the reset, that embeds the reset value as an updated field on the contract state.ContractState
getBefore()
Contract state before the reset, as per previous events processed on the contract.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends ResetPrimitive>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
ResetPrimitive.ResetPrimitiveBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getAfter
@RosettaSynonym(value="ignore", source="Rosetta_Workbench") public final ContractState getAfter()
Contract state after the reset, that embeds the reset value as an updated field on the contract state.
-
getBefore
@RosettaSynonym(value="ignore", source="Rosetta_Workbench") public final ContractState getBefore()
Contract state before the reset, as per previous events processed on the contract.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends ResetPrimitive> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public ResetPrimitive.ResetPrimitiveBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static ResetPrimitive.ResetPrimitiveBuilder 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
-
-