Package cdm.product.asset
Class AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilderImpl
java.lang.Object
cdm.product.asset.AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilderImpl
- All Implemented Interfaces:
AssetDeliveryProfileBlock,AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
AssetDeliveryProfileBlock
public static class AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilderImpl
extends Object
implements AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
Builder Implementation of AssetDeliveryProfileBlock
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.AssetDeliveryProfileBlock
AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder, AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilderImpl, AssetDeliveryProfileBlock.AssetDeliveryProfileBlockImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DayOfWeekEnum> protected Quantity.QuantityBuilderprotected LocalTimeprotected Price.PriceBuilderprotected LocalTimeFields inherited from interface cdm.product.asset.AssetDeliveryProfileBlock
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDayOfWeek(DayOfWeekEnum _dayOfWeek) addDayOfWeek(DayOfWeekEnum _dayOfWeek, int idx) addDayOfWeek(List<DayOfWeekEnum> dayOfWeeks) build()Build MethodsbooleanThe days of the week of the delivery.The number of units included in the transaction for each delivery intervalThe end time of the delivery interval for each block or shape.Price per quantity per delivery time interval.The start time of the delivery interval for each block or shape.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDayOfWeek(List<DayOfWeekEnum> dayOfWeeks) setDeliveryCapacity(Quantity _deliveryCapacity) setEndTime(LocalTime _endTime) setPriceTimeIntervalQuantity(Price _priceTimeIntervalQuantity) setStartTime(LocalTime _startTime) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.AssetDeliveryProfileBlock
getType, metaData, processMethods inherited from interface cdm.product.asset.AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
startTime
-
endTime
-
dayOfWeek
-
deliveryCapacity
-
priceTimeIntervalQuantity
-
-
Constructor Details
-
AssetDeliveryProfileBlockBuilderImpl
public AssetDeliveryProfileBlockBuilderImpl()
-
-
Method Details
-
getStartTime
Description copied from interface:AssetDeliveryProfileBlockThe start time of the delivery interval for each block or shape.- Specified by:
getStartTimein interfaceAssetDeliveryProfileBlock
-
getEndTime
Description copied from interface:AssetDeliveryProfileBlockThe end time of the delivery interval for each block or shape.- Specified by:
getEndTimein interfaceAssetDeliveryProfileBlock
-
getDayOfWeek
@RosettaAttribute("dayOfWeek") @RuneAttribute("dayOfWeek") public List<DayOfWeekEnum> getDayOfWeek()Description copied from interface:AssetDeliveryProfileBlockThe days of the week of the delivery.- Specified by:
getDayOfWeekin interfaceAssetDeliveryProfileBlock
-
getDeliveryCapacity
@RosettaAttribute("deliveryCapacity") @RuneAttribute("deliveryCapacity") public Quantity.QuantityBuilder getDeliveryCapacity()Description copied from interface:AssetDeliveryProfileBlockThe number of units included in the transaction for each delivery interval- Specified by:
getDeliveryCapacityin interfaceAssetDeliveryProfileBlock- Specified by:
getDeliveryCapacityin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
getOrCreateDeliveryCapacity
- Specified by:
getOrCreateDeliveryCapacityin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
getPriceTimeIntervalQuantity
@RosettaAttribute("priceTimeIntervalQuantity") @RuneAttribute("priceTimeIntervalQuantity") public Price.PriceBuilder getPriceTimeIntervalQuantity()Description copied from interface:AssetDeliveryProfileBlockPrice per quantity per delivery time interval.- Specified by:
getPriceTimeIntervalQuantityin interfaceAssetDeliveryProfileBlock- Specified by:
getPriceTimeIntervalQuantityin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
getOrCreatePriceTimeIntervalQuantity
- Specified by:
getOrCreatePriceTimeIntervalQuantityin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
setStartTime
@RosettaAttribute("startTime") @RuneAttribute("startTime") public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder setStartTime(LocalTime _startTime) - Specified by:
setStartTimein interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
setEndTime
@RosettaAttribute("endTime") @RuneAttribute("endTime") public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder setEndTime(LocalTime _endTime) - Specified by:
setEndTimein interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
addDayOfWeek
@RosettaAttribute("dayOfWeek") @RuneAttribute("dayOfWeek") public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder addDayOfWeek(DayOfWeekEnum _dayOfWeek) - Specified by:
addDayOfWeekin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
addDayOfWeek
public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder addDayOfWeek(DayOfWeekEnum _dayOfWeek, int idx) - Specified by:
addDayOfWeekin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
addDayOfWeek
public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder addDayOfWeek(List<DayOfWeekEnum> dayOfWeeks) - Specified by:
addDayOfWeekin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
setDayOfWeek
@RuneAttribute("dayOfWeek") public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder setDayOfWeek(List<DayOfWeekEnum> dayOfWeeks) - Specified by:
setDayOfWeekin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
setDeliveryCapacity
@RosettaAttribute("deliveryCapacity") @RuneAttribute("deliveryCapacity") public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder setDeliveryCapacity(Quantity _deliveryCapacity) - Specified by:
setDeliveryCapacityin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
setPriceTimeIntervalQuantity
@RosettaAttribute("priceTimeIntervalQuantity") @RuneAttribute("priceTimeIntervalQuantity") public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder setPriceTimeIntervalQuantity(Price _priceTimeIntervalQuantity) - Specified by:
setPriceTimeIntervalQuantityin interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder
-
build
Description copied from interface:AssetDeliveryProfileBlockBuild Methods- Specified by:
buildin interfaceAssetDeliveryProfileBlock- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceAssetDeliveryProfileBlock- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceAssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public AssetDeliveryProfileBlock.AssetDeliveryProfileBlockBuilder 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
-