Package cdm.product.asset
Interface AssetDeliveryInformation.AssetDeliveryInformationBuilder
- All Superinterfaces:
AssetDeliveryInformation,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
AssetDeliveryInformation.AssetDeliveryInformationBuilderImpl
- Enclosing interface:
AssetDeliveryInformation
public static interface AssetDeliveryInformation.AssetDeliveryInformationBuilder
extends AssetDeliveryInformation, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.AssetDeliveryInformation
AssetDeliveryInformation.AssetDeliveryInformationBuilder, AssetDeliveryInformation.AssetDeliveryInformationBuilderImpl, AssetDeliveryInformation.AssetDeliveryInformationImpl -
Field Summary
Fields inherited from interface cdm.product.asset.AssetDeliveryInformation
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddCommodityGrade(ProductGradeEnum commodityGrade) addCommodityGrade(ProductGradeEnum commodityGrade, int idx) addCommodityGrade(List<ProductGradeEnum> commodityGrade) addLocation(LocationIdentifier location) addLocation(LocationIdentifier location, int idx) addLocation(List<? extends LocationIdentifier> location) The number of units included in the transaction for each delivery intervalList<? extends LocationIdentifier.LocationIdentifierBuilder> Defines the location of the delivery of the commodity.getOrCreateLocation(int index) Defines the periods of delivery, including the delivery profile.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCommodityGrade(List<ProductGradeEnum> commodityGrade) setDeliveryCapacity(Quantity deliveryCapacity) setLocation(List<? extends LocationIdentifier> location) setPeriods(AssetDeliveryPeriods periods) Methods inherited from interface cdm.product.asset.AssetDeliveryInformation
build, getCommodityGrade, 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
-
getOrCreatePeriods
AssetDeliveryPeriods.AssetDeliveryPeriodsBuilder getOrCreatePeriods() -
getPeriods
AssetDeliveryPeriods.AssetDeliveryPeriodsBuilder getPeriods()Description copied from interface:AssetDeliveryInformationDefines the periods of delivery, including the delivery profile.- Specified by:
getPeriodsin interfaceAssetDeliveryInformation
-
getOrCreateLocation
-
getLocation
List<? extends LocationIdentifier.LocationIdentifierBuilder> getLocation()Description copied from interface:AssetDeliveryInformationDefines the location of the delivery of the commodity.- Specified by:
getLocationin interfaceAssetDeliveryInformation
-
getOrCreateDeliveryCapacity
Quantity.QuantityBuilder getOrCreateDeliveryCapacity() -
getDeliveryCapacity
Quantity.QuantityBuilder getDeliveryCapacity()Description copied from interface:AssetDeliveryInformationThe number of units included in the transaction for each delivery interval- Specified by:
getDeliveryCapacityin interfaceAssetDeliveryInformation
-
setPeriods
-
addLocation
-
addLocation
AssetDeliveryInformation.AssetDeliveryInformationBuilder addLocation(LocationIdentifier location, int idx) -
addLocation
AssetDeliveryInformation.AssetDeliveryInformationBuilder addLocation(List<? extends LocationIdentifier> location) -
setLocation
AssetDeliveryInformation.AssetDeliveryInformationBuilder setLocation(List<? extends LocationIdentifier> location) -
setDeliveryCapacity
AssetDeliveryInformation.AssetDeliveryInformationBuilder setDeliveryCapacity(Quantity deliveryCapacity) -
addCommodityGrade
AssetDeliveryInformation.AssetDeliveryInformationBuilder addCommodityGrade(ProductGradeEnum commodityGrade) -
addCommodityGrade
AssetDeliveryInformation.AssetDeliveryInformationBuilder addCommodityGrade(ProductGradeEnum commodityGrade, int idx) -
addCommodityGrade
AssetDeliveryInformation.AssetDeliveryInformationBuilder addCommodityGrade(List<ProductGradeEnum> commodityGrade) -
setCommodityGrade
AssetDeliveryInformation.AssetDeliveryInformationBuilder setCommodityGrade(List<ProductGradeEnum> commodityGrade) -
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
-