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

public class CentralRFQItemDistribution extends VdmEntity<CentralRFQItemDistribution> implements VdmEntitySet
Distribution

Original entity name from the Odata EDM: CentralRFQItemDistributionType

  • Field Details

  • Constructor Details

    • CentralRFQItemDistribution

      public CentralRFQItemDistribution()
    • CentralRFQItemDistribution

      public CentralRFQItemDistribution(@Nullable String centralRequestForQuotation, @Nullable String centralRequestForQuotationItem, @Nullable String distributionKey, @Nullable String purchasingDocumentCategory, @Nullable String purchasingDocumentType, @Nullable String purchasingOrganization, @Nullable String companyCode, @Nullable String plant, @Nullable String logicalSystem, @Nullable String purchasingGroup, @Nullable String storageLocation, @Nullable BigDecimal cntrlPurgDistributionInPercent, @Nullable BigDecimal targetQuantity, @Nullable String purgDocItmDistrLineDeltnCode, @Nullable String orderQuantityUnit, @Nullable String orderQuantityUnitISOCode, @Nullable String distributionType, @Nullable String procurementHubSourceSystem, @Nullable String procmtHubPurchaseRequisition, @Nullable String procmtHubPurRequisitionItem, @Nullable String purReqnReleaseStatus, @Nullable OffsetDateTime lastChangeDateTime, @Nullable CentralReqForQuotationItem to_CentralReqForQuotationItem, @Nullable CentralRequestForQuotation to_CntrlRFQ)
  • Method Details

    • getType

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

      public void setCentralRequestForQuotation(@Nullable String centralRequestForQuotation)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CentralRequestForQuotation

      Parameters:
      centralRequestForQuotation - Purchasing Document Number
    • setCentralRequestForQuotationItem

      public void setCentralRequestForQuotationItem(@Nullable String centralRequestForQuotationItem)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CentralRequestForQuotationItem

      Parameters:
      centralRequestForQuotationItem - Item Number of Purchasing Document
    • setDistributionKey

      public void setDistributionKey(@Nullable String distributionKey)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DistributionKey

      Parameters:
      distributionKey - Distribution Number of Central Purchasing Document
    • setPurchasingDocumentCategory

      public void setPurchasingDocumentCategory(@Nullable String purchasingDocumentCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentCategory

      Parameters:
      purchasingDocumentCategory - Purchasing Document Category
    • setPurchasingDocumentType

      public void setPurchasingDocumentType(@Nullable String purchasingDocumentType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingDocumentType

      Parameters:
      purchasingDocumentType - Purchasing Document Type
    • setPurchasingOrganization

      public void setPurchasingOrganization(@Nullable String purchasingOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Parameters:
      purchasingOrganization - Purchasing Organization
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setLogicalSystem

      public void setLogicalSystem(@Nullable String logicalSystem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LogicalSystem

      Parameters:
      logicalSystem - Logical System
    • setPurchasingGroup

      public void setPurchasingGroup(@Nullable String purchasingGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchasingGroup

      Parameters:
      purchasingGroup - Purchasing Group
    • setStorageLocation

      public void setStorageLocation(@Nullable String storageLocation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageLocation

      Parameters:
      storageLocation - Storage Location
    • setCntrlPurgDistributionInPercent

      public void setCntrlPurgDistributionInPercent(@Nullable BigDecimal cntrlPurgDistributionInPercent)
      Constraints: Not nullable, Precision: 6, Scale: 3

      Original property name from the Odata EDM: CntrlPurgDistributionInPercent

      Parameters:
      cntrlPurgDistributionInPercent - Distribution Percentage in Central Purchasing Document
    • setTargetQuantity

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

      Original property name from the Odata EDM: TargetQuantity

      Parameters:
      targetQuantity - Target Quantity
    • setPurgDocItmDistrLineDeltnCode

      public void setPurgDocItmDistrLineDeltnCode(@Nullable String purgDocItmDistrLineDeltnCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurgDocItmDistrLineDeltnCode

      Parameters:
      purgDocItmDistrLineDeltnCode - Deletion Indicator for Item Distribution
    • setOrderQuantityUnit

      public void setOrderQuantityUnit(@Nullable String orderQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: OrderQuantityUnit

      Parameters:
      orderQuantityUnit - Purchase Order Unit of Measure
    • setOrderQuantityUnitISOCode

      public void setOrderQuantityUnitISOCode(@Nullable String orderQuantityUnitISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: OrderQuantityUnitISOCode

      Parameters:
      orderQuantityUnitISOCode - ISO Code for Unit of Measurement
    • setDistributionType

      public void setDistributionType(@Nullable String distributionType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionType

      Parameters:
      distributionType - Distribution Type for Central Purchase Contract Item
    • setProcurementHubSourceSystem

      public void setProcurementHubSourceSystem(@Nullable String procurementHubSourceSystem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Parameters:
      procurementHubSourceSystem - Logical System
    • setProcmtHubPurchaseRequisition

      public void setProcmtHubPurchaseRequisition(@Nullable String procmtHubPurchaseRequisition)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcmtHubPurchaseRequisition

      Parameters:
      procmtHubPurchaseRequisition - Purchase Requisition Number
    • setProcmtHubPurRequisitionItem

      public void setProcmtHubPurRequisitionItem(@Nullable String procmtHubPurRequisitionItem)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ProcmtHubPurRequisitionItem

      Parameters:
      procmtHubPurRequisitionItem - Item number of purchase requisition
    • setPurReqnReleaseStatus

      public void setPurReqnReleaseStatus(@Nullable String purReqnReleaseStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurReqnReleaseStatus

      Parameters:
      purReqnReleaseStatus - Requisition Processing State
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Change Time Stamp
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity CentralRFQItemDistribution 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 _CentralReqForQuotationItem is already loaded, the result will contain the CentralReqForQuotationItem entity. If not, an Option with result state empty is returned.
    • setCentralReqForQuotationItem

      public void setCentralReqForQuotationItem(CentralReqForQuotationItem value)
      Overwrites the associated CentralReqForQuotationItem entity for the loaded navigation property _CentralReqForQuotationItem.
      Parameters:
      value - New CentralReqForQuotationItem entity.
    • getCntrlRFQIfPresent

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

      If the navigation property for an entity CentralRFQItemDistribution 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 _CntrlRFQ is already loaded, the result will contain the CentralRequestForQuotation entity. If not, an Option with result state empty is returned.
    • setCntrlRFQ

      public void setCntrlRFQ(CentralRequestForQuotation value)
      Overwrites the associated CentralRequestForQuotation entity for the loaded navigation property _CntrlRFQ.
      Parameters:
      value - New CentralRequestForQuotation entity.
    • builder

    • getCentralRequestForQuotation

      @Nullable public String getCentralRequestForQuotation()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CentralRequestForQuotation

      Returns:
      Purchasing Document Number
    • getCentralRequestForQuotationItem

      @Nullable public String getCentralRequestForQuotationItem()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CentralRequestForQuotationItem

      Returns:
      Item Number of Purchasing Document
    • getDistributionKey

      @Nullable public String getDistributionKey()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DistributionKey

      Returns:
      Distribution Number of Central Purchasing Document
    • getPurchasingDocumentCategory

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

      Original property name from the Odata EDM: PurchasingDocumentCategory

      Returns:
      Purchasing Document Category
    • getPurchasingDocumentType

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

      Original property name from the Odata EDM: PurchasingDocumentType

      Returns:
      Purchasing Document Type
    • getPurchasingOrganization

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

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      Purchasing Organization
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getLogicalSystem

      @Nullable public String getLogicalSystem()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LogicalSystem

      Returns:
      Logical System
    • getPurchasingGroup

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

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      Purchasing Group
    • getStorageLocation

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

      Original property name from the Odata EDM: StorageLocation

      Returns:
      Storage Location
    • getCntrlPurgDistributionInPercent

      @Nullable public BigDecimal getCntrlPurgDistributionInPercent()
      Constraints: Not nullable, Precision: 6, Scale: 3

      Original property name from the Odata EDM: CntrlPurgDistributionInPercent

      Returns:
      Distribution Percentage in Central Purchasing Document
    • getTargetQuantity

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

      Original property name from the Odata EDM: TargetQuantity

      Returns:
      Target Quantity
    • getPurgDocItmDistrLineDeltnCode

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

      Original property name from the Odata EDM: PurgDocItmDistrLineDeltnCode

      Returns:
      Deletion Indicator for Item Distribution
    • getOrderQuantityUnit

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

      Original property name from the Odata EDM: OrderQuantityUnit

      Returns:
      Purchase Order Unit of Measure
    • getOrderQuantityUnitISOCode

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

      Original property name from the Odata EDM: OrderQuantityUnitISOCode

      Returns:
      ISO Code for Unit of Measurement
    • getDistributionType

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

      Original property name from the Odata EDM: DistributionType

      Returns:
      Distribution Type for Central Purchase Contract Item
    • getProcurementHubSourceSystem

      @Nullable public String getProcurementHubSourceSystem()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Returns:
      Logical System
    • getProcmtHubPurchaseRequisition

      @Nullable public String getProcmtHubPurchaseRequisition()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcmtHubPurchaseRequisition

      Returns:
      Purchase Requisition Number
    • getProcmtHubPurRequisitionItem

      @Nullable public String getProcmtHubPurRequisitionItem()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ProcmtHubPurRequisitionItem

      Returns:
      Item number of purchase requisition
    • getPurReqnReleaseStatus

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

      Original property name from the Odata EDM: PurReqnReleaseStatus

      Returns:
      Requisition Processing State
    • getLastChangeDateTime

      @Nullable public OffsetDateTime getLastChangeDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Change Time Stamp
    • toString

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

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

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

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

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