Package cdm.product.asset
Class AssetDeliveryInformation.AssetDeliveryInformationBuilderImpl
java.lang.Object
cdm.product.asset.AssetDeliveryInformation.AssetDeliveryInformationBuilderImpl
- All Implemented Interfaces:
AssetDeliveryInformation,AssetDeliveryInformation.AssetDeliveryInformationBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
AssetDeliveryInformation
public static class AssetDeliveryInformation.AssetDeliveryInformationBuilderImpl
extends Object
implements AssetDeliveryInformation.AssetDeliveryInformationBuilder
Builder Implementation of AssetDeliveryInformation
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.AssetDeliveryInformation
AssetDeliveryInformation.AssetDeliveryInformationBuilder, AssetDeliveryInformation.AssetDeliveryInformationBuilderImpl, AssetDeliveryInformation.AssetDeliveryInformationImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ProductGradeEnum> protected Quantity.QuantityBuilderprotected List<LocationIdentifier.LocationIdentifierBuilder> Fields inherited from interface cdm.product.asset.AssetDeliveryInformation
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommodityGrade(ProductGradeEnum _commodityGrade) addCommodityGrade(ProductGradeEnum _commodityGrade, int idx) addCommodityGrade(List<ProductGradeEnum> commodityGrades) addLocation(LocationIdentifier _location) addLocation(LocationIdentifier _location, int idx) addLocation(List<? extends LocationIdentifier> locations) build()Build MethodsbooleanGrade of product being delivered (e.g., grade of oil).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.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCommodityGrade(List<ProductGradeEnum> commodityGrades) setDeliveryCapacity(Quantity _deliveryCapacity) setLocation(List<? extends LocationIdentifier> locations) setPeriods(AssetDeliveryPeriods _periods) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.AssetDeliveryInformation
getType, metaData, processMethods inherited from interface cdm.product.asset.AssetDeliveryInformation.AssetDeliveryInformationBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
periods
-
location
-
deliveryCapacity
-
commodityGrade
-
-
Constructor Details
-
AssetDeliveryInformationBuilderImpl
public AssetDeliveryInformationBuilderImpl()
-
-
Method Details
-
getPeriods
@RosettaAttribute("periods") @RuneAttribute("periods") public AssetDeliveryPeriods.AssetDeliveryPeriodsBuilder getPeriods()Description copied from interface:AssetDeliveryInformationDefines the periods of delivery, including the delivery profile.- Specified by:
getPeriodsin interfaceAssetDeliveryInformation- Specified by:
getPeriodsin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
getOrCreatePeriods
- Specified by:
getOrCreatePeriodsin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
getLocation
@RosettaAttribute("location") @RuneAttribute("location") public List<? extends LocationIdentifier.LocationIdentifierBuilder> getLocation()Description copied from interface:AssetDeliveryInformationDefines the location of the delivery of the commodity.- Specified by:
getLocationin interfaceAssetDeliveryInformation- Specified by:
getLocationin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
getOrCreateLocation
- Specified by:
getOrCreateLocationin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
getDeliveryCapacity
@RosettaAttribute("deliveryCapacity") @RuneAttribute("deliveryCapacity") public Quantity.QuantityBuilder getDeliveryCapacity()Description copied from interface:AssetDeliveryInformationThe number of units included in the transaction for each delivery interval- Specified by:
getDeliveryCapacityin interfaceAssetDeliveryInformation- Specified by:
getDeliveryCapacityin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
getOrCreateDeliveryCapacity
- Specified by:
getOrCreateDeliveryCapacityin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
getCommodityGrade
@RosettaAttribute("commodityGrade") @RuneAttribute("commodityGrade") public List<ProductGradeEnum> getCommodityGrade()Description copied from interface:AssetDeliveryInformationGrade of product being delivered (e.g., grade of oil).- Specified by:
getCommodityGradein interfaceAssetDeliveryInformation
-
setPeriods
@RosettaAttribute("periods") @RuneAttribute("periods") public AssetDeliveryInformation.AssetDeliveryInformationBuilder setPeriods(AssetDeliveryPeriods _periods) - Specified by:
setPeriodsin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
addLocation
@RosettaAttribute("location") @RuneAttribute("location") public AssetDeliveryInformation.AssetDeliveryInformationBuilder addLocation(LocationIdentifier _location) - Specified by:
addLocationin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
addLocation
public AssetDeliveryInformation.AssetDeliveryInformationBuilder addLocation(LocationIdentifier _location, int idx) - Specified by:
addLocationin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
addLocation
public AssetDeliveryInformation.AssetDeliveryInformationBuilder addLocation(List<? extends LocationIdentifier> locations) - Specified by:
addLocationin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
setLocation
@RuneAttribute("location") public AssetDeliveryInformation.AssetDeliveryInformationBuilder setLocation(List<? extends LocationIdentifier> locations) - Specified by:
setLocationin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
setDeliveryCapacity
@RosettaAttribute("deliveryCapacity") @RuneAttribute("deliveryCapacity") public AssetDeliveryInformation.AssetDeliveryInformationBuilder setDeliveryCapacity(Quantity _deliveryCapacity) - Specified by:
setDeliveryCapacityin interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
addCommodityGrade
@RosettaAttribute("commodityGrade") @RuneAttribute("commodityGrade") public AssetDeliveryInformation.AssetDeliveryInformationBuilder addCommodityGrade(ProductGradeEnum _commodityGrade) - Specified by:
addCommodityGradein interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
addCommodityGrade
public AssetDeliveryInformation.AssetDeliveryInformationBuilder addCommodityGrade(ProductGradeEnum _commodityGrade, int idx) - Specified by:
addCommodityGradein interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
addCommodityGrade
public AssetDeliveryInformation.AssetDeliveryInformationBuilder addCommodityGrade(List<ProductGradeEnum> commodityGrades) - Specified by:
addCommodityGradein interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
setCommodityGrade
@RuneAttribute("commodityGrade") public AssetDeliveryInformation.AssetDeliveryInformationBuilder setCommodityGrade(List<ProductGradeEnum> commodityGrades) - Specified by:
setCommodityGradein interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder
-
build
Description copied from interface:AssetDeliveryInformationBuild Methods- Specified by:
buildin interfaceAssetDeliveryInformation- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceAssetDeliveryInformation- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceAssetDeliveryInformation.AssetDeliveryInformationBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public AssetDeliveryInformation.AssetDeliveryInformationBuilder 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
-