Package cdm.product.asset
Class AssetDeliveryProfile.AssetDeliveryProfileBuilderImpl
java.lang.Object
cdm.product.asset.AssetDeliveryProfile.AssetDeliveryProfileBuilderImpl
- All Implemented Interfaces:
AssetDeliveryProfile,AssetDeliveryProfile.AssetDeliveryProfileBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
AssetDeliveryProfile
public static class AssetDeliveryProfile.AssetDeliveryProfileBuilderImpl
extends Object
implements AssetDeliveryProfile.AssetDeliveryProfileBuilder
Builder Implementation of AssetDeliveryProfile
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.AssetDeliveryProfile
AssetDeliveryProfile.AssetDeliveryProfileBuilder, AssetDeliveryProfile.AssetDeliveryProfileBuilderImpl, AssetDeliveryProfile.AssetDeliveryProfileImpl -
Field Summary
FieldsFields inherited from interface cdm.product.asset.AssetDeliveryProfile
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBlock(AssetDeliveryProfileBlock _block) addBlock(AssetDeliveryProfileBlock _block, int idx) addBlock(List<? extends AssetDeliveryProfileBlock> blocks) build()Build MethodsbooleanSpecifies whether the dates defined include holidays or not.getBlock()Defines a delivery profile block, including start and end time, days of the week, duration, delivery capacity and price time interval quantity.Identification of the delivery profile.getOrCreateBlock(int index) booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setBankHolidaysTreatment(BankHolidayTreatmentEnum _bankHolidaysTreatment) setBlock(List<? extends AssetDeliveryProfileBlock> blocks) setLoadType(LoadTypeEnum _loadType) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.AssetDeliveryProfile
getType, metaData, processMethods inherited from interface cdm.product.asset.AssetDeliveryProfile.AssetDeliveryProfileBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
loadType
-
block
-
bankHolidaysTreatment
-
-
Constructor Details
-
AssetDeliveryProfileBuilderImpl
public AssetDeliveryProfileBuilderImpl()
-
-
Method Details
-
getLoadType
Description copied from interface:AssetDeliveryProfileIdentification of the delivery profile.- Specified by:
getLoadTypein interfaceAssetDeliveryProfile
-
getBlock
@RosettaAttribute("block") @RuneAttribute("block") public 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- Specified by:
getBlockin interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder
-
getOrCreateBlock
- Specified by:
getOrCreateBlockin interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder
-
getBankHolidaysTreatment
@RosettaAttribute("bankHolidaysTreatment") @RuneAttribute("bankHolidaysTreatment") public BankHolidayTreatmentEnum getBankHolidaysTreatment()Description copied from interface:AssetDeliveryProfileSpecifies whether the dates defined include holidays or not.- Specified by:
getBankHolidaysTreatmentin interfaceAssetDeliveryProfile
-
setLoadType
@RosettaAttribute("loadType") @RuneAttribute("loadType") public AssetDeliveryProfile.AssetDeliveryProfileBuilder setLoadType(LoadTypeEnum _loadType) - Specified by:
setLoadTypein interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder
-
addBlock
@RosettaAttribute("block") @RuneAttribute("block") public AssetDeliveryProfile.AssetDeliveryProfileBuilder addBlock(AssetDeliveryProfileBlock _block) - Specified by:
addBlockin interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder
-
addBlock
public AssetDeliveryProfile.AssetDeliveryProfileBuilder addBlock(AssetDeliveryProfileBlock _block, int idx) - Specified by:
addBlockin interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder
-
addBlock
public AssetDeliveryProfile.AssetDeliveryProfileBuilder addBlock(List<? extends AssetDeliveryProfileBlock> blocks) - Specified by:
addBlockin interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder
-
setBlock
@RuneAttribute("block") public AssetDeliveryProfile.AssetDeliveryProfileBuilder setBlock(List<? extends AssetDeliveryProfileBlock> blocks) - Specified by:
setBlockin interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder
-
setBankHolidaysTreatment
@RosettaAttribute("bankHolidaysTreatment") @RuneAttribute("bankHolidaysTreatment") public AssetDeliveryProfile.AssetDeliveryProfileBuilder setBankHolidaysTreatment(BankHolidayTreatmentEnum _bankHolidaysTreatment) - Specified by:
setBankHolidaysTreatmentin interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder
-
build
Description copied from interface:AssetDeliveryProfileBuild Methods- Specified by:
buildin interfaceAssetDeliveryProfile- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceAssetDeliveryProfile- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceAssetDeliveryProfile.AssetDeliveryProfileBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public AssetDeliveryProfile.AssetDeliveryProfileBuilder 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
-