java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SPNegttnQtnItmDmndDistrDet>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.sourcingprojectnegotiation.SPNegttnQtnItmDmndDistrDet
All Implemented Interfaces:
VdmEntitySet

public class SPNegttnQtnItmDmndDistrDet extends VdmEntity<SPNegttnQtnItmDmndDistrDet> implements VdmEntitySet
Dmnd Distr Details for Srcg Proj Negttn

Original entity name from the Odata EDM: SPNegttnQtnItmDmndDistrDet_Type

  • Field Details

  • Constructor Details

    • SPNegttnQtnItmDmndDistrDet

      public SPNegttnQtnItmDmndDistrDet()
    • SPNegttnQtnItmDmndDistrDet

      public SPNegttnQtnItmDmndDistrDet(@Nullable UUID sPNegttnQtnItmDmndDistrDetUUID, @Nullable UUID sPNegttnQtnItemDemandDistrUUID, @Nullable UUID sourcingProjectNegotiationUUID, @Nullable UUID srcgProjQtnDmndDistrDetsUUID, @Nullable UUID srcgProjDmndDistributionUUID, @Nullable String fiscalYear, @Nullable BigDecimal srcgProjNegttnTargetQuantity, @Nullable BigDecimal requestedQuantity, @Nullable BigDecimal srcgProjQtnOfferedQuantity, @Nullable String requestedQuantityUnit, @Nullable UUID sourcingProjectUUID, @Nullable String srcgProjNegttnItmInclusionType, @Nullable SourcingProjectNegotiation to_SourcingProjectNegotiation, @Nullable SPNegttnQtnItemDemandDistr to_SPNegttnQtnItemDemandDistrTP)
  • Method Details

    • getType

      @Nonnull public Class<SPNegttnQtnItmDmndDistrDet> getType()
      Specified by:
      getType in class VdmObject<SPNegttnQtnItmDmndDistrDet>
    • setSPNegttnQtnItmDmndDistrDetUUID

      public void setSPNegttnQtnItmDmndDistrDetUUID(@Nullable UUID sPNegttnQtnItmDmndDistrDetUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SPNegttnQtnItmDmndDistrDetUUID

      Parameters:
      sPNegttnQtnItmDmndDistrDetUUID - Negotiation Quotation Item Demand Distribution Detail UUID
    • setSPNegttnQtnItemDemandDistrUUID

      public void setSPNegttnQtnItemDemandDistrUUID(@Nullable UUID sPNegttnQtnItemDemandDistrUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SPNegttnQtnItemDemandDistrUUID

      Parameters:
      sPNegttnQtnItemDemandDistrUUID - Demand Distribution UUID of Quotation Item in Negotiation
    • setSourcingProjectNegotiationUUID

      public void setSourcingProjectNegotiationUUID(@Nullable UUID sourcingProjectNegotiationUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectNegotiationUUID

      Parameters:
      sourcingProjectNegotiationUUID - Negotiation UUID
    • setSrcgProjQtnDmndDistrDetsUUID

      public void setSrcgProjQtnDmndDistrDetsUUID(@Nullable UUID srcgProjQtnDmndDistrDetsUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnDmndDistrDetsUUID

      Parameters:
      srcgProjQtnDmndDistrDetsUUID - Sourcing Project Quotation Demand Distribution Details UUID
    • setSrcgProjDmndDistributionUUID

      public void setSrcgProjDmndDistributionUUID(@Nullable UUID srcgProjDmndDistributionUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjDmndDistributionUUID

      Parameters:
      srcgProjDmndDistributionUUID - Sourcing Project Demand Distribution UUID
    • setFiscalYear

      public void setFiscalYear(@Nullable String fiscalYear)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Parameters:
      fiscalYear - Fiscal Year
    • setSrcgProjNegttnTargetQuantity

      public void setSrcgProjNegttnTargetQuantity(@Nullable BigDecimal srcgProjNegttnTargetQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjNegttnTargetQuantity

      Parameters:
      srcgProjNegttnTargetQuantity - Negotiation Target Quantity
    • setRequestedQuantity

      public void setRequestedQuantity(@Nullable BigDecimal requestedQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: RequestedQuantity

      Parameters:
      requestedQuantity - Requested Quantity
    • setSrcgProjQtnOfferedQuantity

      public void setSrcgProjQtnOfferedQuantity(@Nullable BigDecimal srcgProjQtnOfferedQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjQtnOfferedQuantity

      Parameters:
      srcgProjQtnOfferedQuantity - Offered Quantity Supplier Quotation
    • setRequestedQuantityUnit

      public void setRequestedQuantityUnit(@Nullable String requestedQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RequestedQuantityUnit

      Parameters:
      requestedQuantityUnit - Requested Quantity Unit
    • setSourcingProjectUUID

      public void setSourcingProjectUUID(@Nullable UUID sourcingProjectUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcgProjNegttnItmInclusionType

      public void setSrcgProjNegttnItmInclusionType(@Nullable String srcgProjNegttnItmInclusionType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrcgProjNegttnItmInclusionType

      Parameters:
      srcgProjNegttnItmInclusionType - Include Type Code of Negotiation Item
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<SPNegttnQtnItmDmndDistrDet>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<SPNegttnQtnItmDmndDistrDet>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<SPNegttnQtnItmDmndDistrDet>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<SPNegttnQtnItmDmndDistrDet>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SPNegttnQtnItmDmndDistrDet>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SPNegttnQtnItmDmndDistrDet>
    • getSourcingProjectNegotiationIfPresent

      @Nonnull public io.vavr.control.Option<SourcingProjectNegotiation> getSourcingProjectNegotiationIfPresent()
      Retrieval of associated SourcingProjectNegotiation entity (one to one). This corresponds to the OData navigation property _SourcingProjectNegotiation.

      If the navigation property for an entity SPNegttnQtnItmDmndDistrDet has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _SourcingProjectNegotiation is already loaded, the result will contain the SourcingProjectNegotiation entity. If not, an Option with result state empty is returned.
    • setSourcingProjectNegotiation

      public void setSourcingProjectNegotiation(SourcingProjectNegotiation value)
      Overwrites the associated SourcingProjectNegotiation entity for the loaded navigation property _SourcingProjectNegotiation.
      Parameters:
      value - New SourcingProjectNegotiation entity.
    • getSPNegttnQtnItemDemandDistrTPIfPresent

      @Nonnull public io.vavr.control.Option<SPNegttnQtnItemDemandDistr> getSPNegttnQtnItemDemandDistrTPIfPresent()
      Retrieval of associated SPNegttnQtnItemDemandDistr entity (one to one). This corresponds to the OData navigation property _SPNegttnQtnItemDemandDistrTP.

      If the navigation property for an entity SPNegttnQtnItmDmndDistrDet has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _SPNegttnQtnItemDemandDistrTP is already loaded, the result will contain the SPNegttnQtnItemDemandDistr entity. If not, an Option with result state empty is returned.
    • setSPNegttnQtnItemDemandDistrTP

      public void setSPNegttnQtnItemDemandDistrTP(SPNegttnQtnItemDemandDistr value)
      Overwrites the associated SPNegttnQtnItemDemandDistr entity for the loaded navigation property _SPNegttnQtnItemDemandDistrTP.
      Parameters:
      value - New SPNegttnQtnItemDemandDistr entity.
    • builder

    • getSPNegttnQtnItmDmndDistrDetUUID

      @Nullable public UUID getSPNegttnQtnItmDmndDistrDetUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SPNegttnQtnItmDmndDistrDetUUID

      Returns:
      Negotiation Quotation Item Demand Distribution Detail UUID
    • getSPNegttnQtnItemDemandDistrUUID

      @Nullable public UUID getSPNegttnQtnItemDemandDistrUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SPNegttnQtnItemDemandDistrUUID

      Returns:
      Demand Distribution UUID of Quotation Item in Negotiation
    • getSourcingProjectNegotiationUUID

      @Nullable public UUID getSourcingProjectNegotiationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectNegotiationUUID

      Returns:
      Negotiation UUID
    • getSrcgProjQtnDmndDistrDetsUUID

      @Nullable public UUID getSrcgProjQtnDmndDistrDetsUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnDmndDistrDetsUUID

      Returns:
      Sourcing Project Quotation Demand Distribution Details UUID
    • getSrcgProjDmndDistributionUUID

      @Nullable public UUID getSrcgProjDmndDistributionUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjDmndDistributionUUID

      Returns:
      Sourcing Project Demand Distribution UUID
    • getFiscalYear

      @Nullable public String getFiscalYear()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Returns:
      Fiscal Year
    • getSrcgProjNegttnTargetQuantity

      @Nullable public BigDecimal getSrcgProjNegttnTargetQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjNegttnTargetQuantity

      Returns:
      Negotiation Target Quantity
    • getRequestedQuantity

      @Nullable public BigDecimal getRequestedQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: RequestedQuantity

      Returns:
      Requested Quantity
    • getSrcgProjQtnOfferedQuantity

      @Nullable public BigDecimal getSrcgProjQtnOfferedQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: SrcgProjQtnOfferedQuantity

      Returns:
      Offered Quantity Supplier Quotation
    • getRequestedQuantityUnit

      @Nullable public String getRequestedQuantityUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RequestedQuantityUnit

      Returns:
      Requested Quantity Unit
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcgProjNegttnItmInclusionType

      @Nullable public String getSrcgProjNegttnItmInclusionType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SrcgProjNegttnItmInclusionType

      Returns:
      Include Type Code of Negotiation Item
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<SPNegttnQtnItmDmndDistrDet>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<SPNegttnQtnItmDmndDistrDet>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<SPNegttnQtnItmDmndDistrDet>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<SPNegttnQtnItmDmndDistrDet>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<SPNegttnQtnItmDmndDistrDet>