Package cdm.event.common
Class BillingRecordInstruction.BillingRecordInstructionBuilderImpl
java.lang.Object
cdm.event.common.BillingRecordInstruction.BillingRecordInstructionBuilderImpl
- All Implemented Interfaces:
BillingRecordInstruction,BillingRecordInstruction.BillingRecordInstructionBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
BillingRecordInstruction
public static class BillingRecordInstruction.BillingRecordInstructionBuilderImpl
extends Object
implements BillingRecordInstruction.BillingRecordInstructionBuilder
Builder Implementation of BillingRecordInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.BillingRecordInstruction
BillingRecordInstruction.BillingRecordInstructionBuilder, BillingRecordInstruction.BillingRecordInstructionBuilderImpl, BillingRecordInstruction.BillingRecordInstructionImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<Observation.ObservationBuilder> protected com.rosetta.model.lib.records.Dateprotected com.rosetta.model.lib.records.Dateprotected com.rosetta.model.lib.records.DateFields inherited from interface cdm.event.common.BillingRecordInstruction
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddObservation(Observation _observation) addObservation(Observation _observation, int idx) addObservation(List<? extends Observation> observations) build()Build MethodsbooleanList<? extends Observation.ObservationBuilder> The observations used to calculate the billing amount.getOrCreateObservation(int index) com.rosetta.model.lib.records.DateThe ending date of the period described by this recordcom.rosetta.model.lib.records.DateThe starting date of the period described by this recordcom.rosetta.model.lib.records.DateThe date for settlement of the transfer.The trade for the individual billing record.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setObservation(List<? extends Observation> observations) setRecordEndDate(com.rosetta.model.lib.records.Date _recordEndDate) setRecordStartDate(com.rosetta.model.lib.records.Date _recordStartDate) setSettlementDate(com.rosetta.model.lib.records.Date _settlementDate) setTradeState(ReferenceWithMetaTradeState _tradeState) setTradeStateValue(TradeState _tradeState) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.BillingRecordInstruction
getType, metaData, processMethods inherited from interface cdm.event.common.BillingRecordInstruction.BillingRecordInstructionBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
tradeState
-
observation
-
recordStartDate
protected com.rosetta.model.lib.records.Date recordStartDate -
recordEndDate
protected com.rosetta.model.lib.records.Date recordEndDate -
settlementDate
protected com.rosetta.model.lib.records.Date settlementDate
-
-
Constructor Details
-
BillingRecordInstructionBuilderImpl
public BillingRecordInstructionBuilderImpl()
-
-
Method Details
-
getTradeState
@RosettaAttribute(value="tradeState", isRequired=true) @RuneAttribute(value="tradeState", isRequired=true) public ReferenceWithMetaTradeState.ReferenceWithMetaTradeStateBuilder getTradeState()Description copied from interface:BillingRecordInstructionThe trade for the individual billing record.- Specified by:
getTradeStatein interfaceBillingRecordInstruction- Specified by:
getTradeStatein interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
getOrCreateTradeState
- Specified by:
getOrCreateTradeStatein interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
getObservation
@RosettaAttribute(value="observation", isRequired=true) @RuneAttribute(value="observation", isRequired=true) public List<? extends Observation.ObservationBuilder> getObservation()Description copied from interface:BillingRecordInstructionThe observations used to calculate the billing amount.- Specified by:
getObservationin interfaceBillingRecordInstruction- Specified by:
getObservationin interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
getOrCreateObservation
- Specified by:
getOrCreateObservationin interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
getRecordStartDate
@RosettaAttribute(value="recordStartDate", isRequired=true) @RuneAttribute(value="recordStartDate", isRequired=true) public com.rosetta.model.lib.records.Date getRecordStartDate()Description copied from interface:BillingRecordInstructionThe starting date of the period described by this record- Specified by:
getRecordStartDatein interfaceBillingRecordInstruction
-
getRecordEndDate
@RosettaAttribute(value="recordEndDate", isRequired=true) @RuneAttribute(value="recordEndDate", isRequired=true) public com.rosetta.model.lib.records.Date getRecordEndDate()Description copied from interface:BillingRecordInstructionThe ending date of the period described by this record- Specified by:
getRecordEndDatein interfaceBillingRecordInstruction
-
getSettlementDate
@RosettaAttribute(value="settlementDate", isRequired=true) @RuneAttribute(value="settlementDate", isRequired=true) public com.rosetta.model.lib.records.Date getSettlementDate()Description copied from interface:BillingRecordInstructionThe date for settlement of the transfer.- Specified by:
getSettlementDatein interfaceBillingRecordInstruction
-
setTradeState
@RosettaAttribute(value="tradeState", isRequired=true) @RuneAttribute(value="tradeState", isRequired=true) public BillingRecordInstruction.BillingRecordInstructionBuilder setTradeState(ReferenceWithMetaTradeState _tradeState) - Specified by:
setTradeStatein interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
setTradeStateValue
public BillingRecordInstruction.BillingRecordInstructionBuilder setTradeStateValue(TradeState _tradeState) - Specified by:
setTradeStateValuein interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
addObservation
@RosettaAttribute(value="observation", isRequired=true) @RuneAttribute(value="observation", isRequired=true) public BillingRecordInstruction.BillingRecordInstructionBuilder addObservation(Observation _observation) - Specified by:
addObservationin interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
addObservation
public BillingRecordInstruction.BillingRecordInstructionBuilder addObservation(Observation _observation, int idx) - Specified by:
addObservationin interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
addObservation
public BillingRecordInstruction.BillingRecordInstructionBuilder addObservation(List<? extends Observation> observations) - Specified by:
addObservationin interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
setObservation
@RuneAttribute("observation") public BillingRecordInstruction.BillingRecordInstructionBuilder setObservation(List<? extends Observation> observations) - Specified by:
setObservationin interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
setRecordStartDate
@RosettaAttribute(value="recordStartDate", isRequired=true) @RuneAttribute(value="recordStartDate", isRequired=true) public BillingRecordInstruction.BillingRecordInstructionBuilder setRecordStartDate(com.rosetta.model.lib.records.Date _recordStartDate) - Specified by:
setRecordStartDatein interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
setRecordEndDate
@RosettaAttribute(value="recordEndDate", isRequired=true) @RuneAttribute(value="recordEndDate", isRequired=true) public BillingRecordInstruction.BillingRecordInstructionBuilder setRecordEndDate(com.rosetta.model.lib.records.Date _recordEndDate) - Specified by:
setRecordEndDatein interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
setSettlementDate
@RosettaAttribute(value="settlementDate", isRequired=true) @RuneAttribute(value="settlementDate", isRequired=true) public BillingRecordInstruction.BillingRecordInstructionBuilder setSettlementDate(com.rosetta.model.lib.records.Date _settlementDate) - Specified by:
setSettlementDatein interfaceBillingRecordInstruction.BillingRecordInstructionBuilder
-
build
Description copied from interface:BillingRecordInstructionBuild Methods- Specified by:
buildin interfaceBillingRecordInstruction- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceBillingRecordInstruction- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceBillingRecordInstruction.BillingRecordInstructionBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public BillingRecordInstruction.BillingRecordInstructionBuilder 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
-