Package cdm.product.asset
Class AssetDeliveryInformation.AssetDeliveryInformationImpl
java.lang.Object
cdm.product.asset.AssetDeliveryInformation.AssetDeliveryInformationImpl
- All Implemented Interfaces:
AssetDeliveryInformation,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
AssetDeliveryInformation
public static class AssetDeliveryInformation.AssetDeliveryInformationImpl
extends Object
implements AssetDeliveryInformation
Immutable Implementation of AssetDeliveryInformation
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()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> Defines the location of the delivery of the commodity.Defines the periods of delivery, including the delivery profile.inthashCode()protected voidtoString()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 com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
AssetDeliveryInformationImpl
protected AssetDeliveryInformationImpl(AssetDeliveryInformation.AssetDeliveryInformationBuilder builder)
-
-
Method Details
-
getPeriods
Description copied from interface:AssetDeliveryInformationDefines the periods of delivery, including the delivery profile.- Specified by:
getPeriodsin interfaceAssetDeliveryInformation
-
getLocation
@RosettaAttribute("location") @RuneAttribute("location") public List<? extends LocationIdentifier> getLocation()Description copied from interface:AssetDeliveryInformationDefines the location of the delivery of the commodity.- Specified by:
getLocationin interfaceAssetDeliveryInformation
-
getDeliveryCapacity
@RosettaAttribute("deliveryCapacity") @RuneAttribute("deliveryCapacity") public Quantity getDeliveryCapacity()Description copied from interface:AssetDeliveryInformationThe number of units included in the transaction for each delivery interval- Specified by:
getDeliveryCapacityin interfaceAssetDeliveryInformation
-
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
-
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
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-