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

public class SrcgProjQtnDmndDistrDetails extends VdmEntity<SrcgProjQtnDmndDistrDetails> implements VdmEntitySet
Demand Distribution Details

Original entity name from the Odata EDM: SrcgProjQtnDmndDistrDetails_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnDmndDistrDetails

      public SrcgProjQtnDmndDistrDetails()
    • SrcgProjQtnDmndDistrDetails

      public SrcgProjQtnDmndDistrDetails(@Nullable UUID srcgProjQtnDmndDistrDetsUUID, @Nullable UUID srcgProjQtnDmndDistrUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String fiscalYear, @Nullable BigDecimal requestedQuantity, @Nullable String requestedQuantityUnit, @Nullable String requestedQuantityISOUnit, @Nullable BigDecimal srcgProjQtnOfferedQuantity, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, @Nullable SrcgProjQtnDmndDistr to_SrcgProjQtnDmndDistr)
  • Method Details

    • getType

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

      public void setSrcgProjQtnDmndDistrDetsUUID(@Nullable UUID srcgProjQtnDmndDistrDetsUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnDmndDistrDetsUUID

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

      public void setSrcgProjQtnDmndDistrUUID(@Nullable UUID srcgProjQtnDmndDistrUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnDmndDistrUUID

      Parameters:
      srcgProjQtnDmndDistrUUID - Demand Distribution UUID in Quotation
    • setSourcingProjectQuotationUUID

      public void setSourcingProjectQuotationUUID(@Nullable UUID sourcingProjectQuotationUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - Supplier Quotation 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
    • 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
    • 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
    • setRequestedQuantityISOUnit

      public void setRequestedQuantityISOUnit(@Nullable String requestedQuantityISOUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: RequestedQuantityISOUnit

      Parameters:
      requestedQuantityISOUnit - ISO Unit Code for 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
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjQtnDmndDistrDetails 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 _SourcingProjectQuotation is already loaded, the result will contain the SourcingProjectQuotation entity. If not, an Option with result state empty is returned.
    • setSourcingProjectQuotation

      public void setSourcingProjectQuotation(SourcingProjectQuotation value)
      Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.
      Parameters:
      value - New SourcingProjectQuotation entity.
    • getSrcgProjQtnDmndDistrIfPresent

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

      If the navigation property for an entity SrcgProjQtnDmndDistrDetails 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 _SrcgProjQtnDmndDistr is already loaded, the result will contain the SrcgProjQtnDmndDistr entity. If not, an Option with result state empty is returned.
    • setSrcgProjQtnDmndDistr

      public void setSrcgProjQtnDmndDistr(SrcgProjQtnDmndDistr value)
      Overwrites the associated SrcgProjQtnDmndDistr entity for the loaded navigation property _SrcgProjQtnDmndDistr.
      Parameters:
      value - New SrcgProjQtnDmndDistr entity.
    • builder

    • getSrcgProjQtnDmndDistrDetsUUID

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

      Original property name from the Odata EDM: SrcgProjQtnDmndDistrDetsUUID

      Returns:
      Sourcing Project Quotation Demand Distribution Details UUID
    • getSrcgProjQtnDmndDistrUUID

      @Nullable public UUID getSrcgProjQtnDmndDistrUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnDmndDistrUUID

      Returns:
      Demand Distribution UUID in Quotation
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation UUID
    • getFiscalYear

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

      Original property name from the Odata EDM: FiscalYear

      Returns:
      Fiscal Year
    • getRequestedQuantity

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

      Original property name from the Odata EDM: RequestedQuantity

      Returns:
      Requested Quantity
    • getRequestedQuantityUnit

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

      Original property name from the Odata EDM: RequestedQuantityUnit

      Returns:
      Requested Quantity Unit
    • getRequestedQuantityISOUnit

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

      Original property name from the Odata EDM: RequestedQuantityISOUnit

      Returns:
      ISO Unit Code for 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
    • toString

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

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

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

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

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