Package org.isda.cdm
Class AggregationParameters
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.AggregationParameters
-
@RosettaClass @RosettaQualified(attribute="productQualifier", qualifiedClass=EconomicTerms.class) public class AggregationParameters extends com.rosetta.model.lib.RosettaModelObject
Parameters to be used to filter events that are relevant to a given portfolio in order to calculate the state of this portfolio. The attributes correspond to all the possible aggregation criteria that can be used and these criteria can be combined. All the attributes are optional.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregationParameters.AggregationParametersBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AggregationParameters.AggregationParametersBuilder
builder()
boolean
equals(java.lang.Object o)
java.util.List<ReferenceWithMetaContract>
getContractReference()
To aggregate based only on given Contract(s).java.time.ZonedDateTime
getDateTime()
To aggregate as of a particular datejava.util.List<ReferenceWithMetaExecution>
getExecutionReference()
To aggregate based only on given Execution(s).java.util.List<ReferenceWithMetaParty>
getParty()
To aggregate based on a selection of party(ies) / legal entity(ies).PositionStatusEnum
getPositionStatus()
To aggregate based on position status (EXECUTED, SETTLED etc)java.util.List<Product>
getProduct()
To aggregate based on a selection of products.java.util.List<java.lang.String>
getProductQualifier()
To aggregate based on a selection of product type(s).java.lang.Boolean
getTotalPosition()
Specifies whether to calculate total position to given date, or only daily position for the given date.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends AggregationParameters>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
AggregationParameters.AggregationParametersBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getContractReference
public final java.util.List<ReferenceWithMetaContract> getContractReference()
To aggregate based only on given Contract(s).
-
getDateTime
public final java.time.ZonedDateTime getDateTime()
To aggregate as of a particular date
-
getExecutionReference
public final java.util.List<ReferenceWithMetaExecution> getExecutionReference()
To aggregate based only on given Execution(s).
-
getParty
public final java.util.List<ReferenceWithMetaParty> getParty()
To aggregate based on a selection of party(ies) / legal entity(ies).
-
getPositionStatus
public final PositionStatusEnum getPositionStatus()
To aggregate based on position status (EXECUTED, SETTLED etc)
-
getProduct
public final java.util.List<Product> getProduct()
To aggregate based on a selection of products.
-
getProductQualifier
public final java.util.List<java.lang.String> getProductQualifier()
To aggregate based on a selection of product type(s).
-
getTotalPosition
public final java.lang.Boolean getTotalPosition()
Specifies whether to calculate total position to given date, or only daily position for the given date.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends AggregationParameters> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public AggregationParameters.AggregationParametersBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static AggregationParameters.AggregationParametersBuilder 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
-
-