Package cdm.product.asset
Interface AssetDeliveryProfile.AssetDeliveryProfileBuilder
- All Superinterfaces:
AssetDeliveryProfile,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
AssetDeliveryProfile.AssetDeliveryProfileBuilderImpl
- Enclosing interface:
AssetDeliveryProfile
public static interface AssetDeliveryProfile.AssetDeliveryProfileBuilder
extends AssetDeliveryProfile, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.AssetDeliveryProfile
AssetDeliveryProfile.AssetDeliveryProfileBuilder, AssetDeliveryProfile.AssetDeliveryProfileBuilderImpl, AssetDeliveryProfile.AssetDeliveryProfileImpl -
Field Summary
Fields inherited from interface cdm.product.asset.AssetDeliveryProfile
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddBlock(AssetDeliveryProfileBlock block, int idx) addBlock(List<? extends AssetDeliveryProfileBlock> block) getBlock()Defines a delivery profile block, including start and end time, days of the week, duration, delivery capacity and price time interval quantity.getOrCreateBlock(int index) default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setBankHolidaysTreatment(BankHolidayTreatmentEnum bankHolidaysTreatment) setBlock(List<? extends AssetDeliveryProfileBlock> block) setLoadType(LoadTypeEnum loadType) Methods inherited from interface cdm.product.asset.AssetDeliveryProfile
build, getBankHolidaysTreatment, getLoadType, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateBlock
-
getBlock
List<? extends AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder> getBlock()Description copied from interface:AssetDeliveryProfileDefines a delivery profile block, including start and end time, days of the week, duration, delivery capacity and price time interval quantity.- Specified by:
getBlockin interfaceAssetDeliveryProfile
-
setLoadType
-
addBlock
-
addBlock
-
addBlock
AssetDeliveryProfile.AssetDeliveryProfileBuilder addBlock(List<? extends AssetDeliveryProfileBlock> block) -
setBlock
AssetDeliveryProfile.AssetDeliveryProfileBuilder setBlock(List<? extends AssetDeliveryProfileBlock> block) -
setBankHolidaysTreatment
AssetDeliveryProfile.AssetDeliveryProfileBuilder setBankHolidaysTreatment(BankHolidayTreatmentEnum bankHolidaysTreatment) -
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-