Package org.isda.cdm
Class AllocationPrimitive.AllocationPrimitiveBuilder
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObjectBuilder
-
- org.isda.cdm.AllocationPrimitive.AllocationPrimitiveBuilder
-
- Enclosing class:
- AllocationPrimitive
public static class AllocationPrimitive.AllocationPrimitiveBuilder extends com.rosetta.model.lib.RosettaModelObjectBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected AllocationOutcome.AllocationOutcomeBuilder
after
protected Trade.TradeBuilder
before
-
Constructor Summary
Constructors Constructor Description AllocationPrimitiveBuilder()
-
Method Summary
-
-
-
Field Detail
-
after
protected AllocationOutcome.AllocationOutcomeBuilder after
-
before
protected Trade.TradeBuilder before
-
-
Method Detail
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends AllocationPrimitive> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
getAfter
public AllocationOutcome.AllocationOutcomeBuilder getAfter()
-
getOrCreateAfter
public AllocationOutcome.AllocationOutcomeBuilder getOrCreateAfter()
-
getBefore
public Trade.TradeBuilder getBefore()
-
getOrCreateBefore
public Trade.TradeBuilder getOrCreateBefore()
-
setAfter
public AllocationPrimitive.AllocationPrimitiveBuilder setAfter(AllocationOutcome after)
-
setAfterBuilder
public AllocationPrimitive.AllocationPrimitiveBuilder setAfterBuilder(AllocationOutcome.AllocationOutcomeBuilder after)
-
setBefore
public AllocationPrimitive.AllocationPrimitiveBuilder setBefore(Trade before)
-
setBeforeBuilder
public AllocationPrimitive.AllocationPrimitiveBuilder setBeforeBuilder(Trade.TradeBuilder before)
-
build
public AllocationPrimitive build()
- Specified by:
build
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
public AllocationPrimitive.AllocationPrimitiveBuilder prune()
- Specified by:
prune
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()
- Specified by:
hasData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
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
-
-