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

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

Original entity name from the Odata EDM: SrcgProjDmndDistrDetails_Type

  • Field Details

  • Constructor Details

    • SrcgProjDmndDistrDetails

      public SrcgProjDmndDistrDetails()
    • SrcgProjDmndDistrDetails

      public SrcgProjDmndDistrDetails(@Nullable UUID srcgProjDmndDistrDetailsUUID, @Nullable UUID sourcingProjectUUID, @Nullable UUID srcgProjDmndDistributionUUID, @Nullable String fiscalYear, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable BigDecimal requestedQuantity, @Nullable String requestedQuantityUnit, @Nullable String requestedQuantityISOUnit, @Nullable SourcingProject to_SourcingProject, @Nullable SrcgProjDemandDistribution to_SrcgProjDemandDistribution)
  • Method Details

    • getType

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

      public void setSrcgProjDmndDistrDetailsUUID(@Nullable UUID srcgProjDmndDistrDetailsUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjDmndDistrDetailsUUID

      Parameters:
      srcgProjDmndDistrDetailsUUID - Demand Distribution Details
    • setSourcingProjectUUID

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

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcgProjDmndDistributionUUID

      public void setSrcgProjDmndDistributionUUID(@Nullable UUID srcgProjDmndDistributionUUID)
      Constraints: Not 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
    • setSourcingOrigin

      public void setSourcingOrigin(@Nullable String sourcingOrigin)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingOrigin

      Parameters:
      sourcingOrigin - Sourcing Origin
    • setSourcingScenario

      public void setSourcingScenario(@Nullable String sourcingScenario)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingScenario

      Parameters:
      sourcingScenario - Sourcing Integration Scenario
    • 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
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjDmndDistrDetails 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 _SourcingProject is already loaded, the result will contain the SourcingProject entity. If not, an Option with result state empty is returned.
    • setSourcingProject

      public void setSourcingProject(SourcingProject value)
      Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.
      Parameters:
      value - New SourcingProject entity.
    • getSrcgProjDemandDistributionIfPresent

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

      If the navigation property for an entity SrcgProjDmndDistrDetails 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 _SrcgProjDemandDistribution is already loaded, the result will contain the SrcgProjDemandDistribution entity. If not, an Option with result state empty is returned.
    • setSrcgProjDemandDistribution

      public void setSrcgProjDemandDistribution(SrcgProjDemandDistribution value)
      Overwrites the associated SrcgProjDemandDistribution entity for the loaded navigation property _SrcgProjDemandDistribution.
      Parameters:
      value - New SrcgProjDemandDistribution entity.
    • builder

    • getSrcgProjDmndDistrDetailsUUID

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

      Original property name from the Odata EDM: SrcgProjDmndDistrDetailsUUID

      Returns:
      Demand Distribution Details
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcgProjDmndDistributionUUID

      @Nullable public UUID getSrcgProjDmndDistributionUUID()
      Constraints: Not 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
    • getSourcingOrigin

      @Nullable public String getSourcingOrigin()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingOrigin

      Returns:
      Sourcing Origin
    • getSourcingScenario

      @Nullable public String getSourcingScenario()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingScenario

      Returns:
      Sourcing Integration Scenario
    • 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
    • toString

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

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

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

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

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