java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<ObjectT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmComplex<D_SPQtnSmltePrcgCmmdtyQtyP>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.supplierquotationforsourcingproject.D_SPQtnSmltePrcgCmmdtyQtyP

public class D_SPQtnSmltePrcgCmmdtyQtyP extends VdmComplex<D_SPQtnSmltePrcgCmmdtyQtyP>

Original complex type name from the Odata EDM: D_SPQtnSmltePrcgCmmdtyQtyP

  • Field Details

  • Constructor Details

    • D_SPQtnSmltePrcgCmmdtyQtyP

      public D_SPQtnSmltePrcgCmmdtyQtyP()
    • D_SPQtnSmltePrcgCmmdtyQtyP

      public D_SPQtnSmltePrcgCmmdtyQtyP(@Nullable UUID srcgProjQtnItemUUID, @Nullable UUID srcgProjQtnCmmdtyQuantityUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String commodity, @Nullable LocalDate validityEndDate, @Nullable LocalDate validityStartDate, @Nullable BigDecimal commodityQuantity, @Nullable String commodityUnit, @Nullable BigDecimal purgDocCmmdtyRefDocItmQty, @Nullable String itemQuantityUnit)
  • Method Details

    • getType

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

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

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<D_SPQtnSmltePrcgCmmdtyQtyP>
    • setSrcgProjQtnItemUUID

      public void setSrcgProjQtnItemUUID(@Nullable UUID srcgProjQtnItemUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnItemUUID

      Parameters:
      srcgProjQtnItemUUID - The srcgProjQtnItemUUID to set.
    • setSrcgProjQtnCmmdtyQuantityUUID

      public void setSrcgProjQtnCmmdtyQuantityUUID(@Nullable UUID srcgProjQtnCmmdtyQuantityUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnCmmdtyQuantityUUID

      Parameters:
      srcgProjQtnCmmdtyQuantityUUID - The srcgProjQtnCmmdtyQuantityUUID to set.
    • setSourcingProjectQuotationUUID

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

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - The sourcingProjectQuotationUUID to set.
    • setCommodity

      public void setCommodity(@Nullable String commodity)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Commodity

      Parameters:
      commodity - The commodity to set.
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDate validityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - The validityEndDate to set.
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDate validityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - The validityStartDate to set.
    • setCommodityQuantity

      public void setCommodityQuantity(@Nullable BigDecimal commodityQuantity)
      Constraints: Not nullable, Precision: 17, Scale: 3

      Original property name from the Odata EDM: CommodityQuantity

      Parameters:
      commodityQuantity - The commodityQuantity to set.
    • setCommodityUnit

      public void setCommodityUnit(@Nullable String commodityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CommodityUnit

      Parameters:
      commodityUnit - The commodityUnit to set.
    • setPurgDocCmmdtyRefDocItmQty

      public void setPurgDocCmmdtyRefDocItmQty(@Nullable BigDecimal purgDocCmmdtyRefDocItmQty)
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: PurgDocCmmdtyRefDocItmQty

      Parameters:
      purgDocCmmdtyRefDocItmQty - The purgDocCmmdtyRefDocItmQty to set.
    • setItemQuantityUnit

      public void setItemQuantityUnit(@Nullable String itemQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ItemQuantityUnit

      Parameters:
      itemQuantityUnit - The itemQuantityUnit to set.
    • builder

    • getSrcgProjQtnItemUUID

      @Nullable public UUID getSrcgProjQtnItemUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnItemUUID

      Returns:
      The srcgProjQtnItemUUID contained in this VdmComplex.
    • getSrcgProjQtnCmmdtyQuantityUUID

      @Nullable public UUID getSrcgProjQtnCmmdtyQuantityUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjQtnCmmdtyQuantityUUID

      Returns:
      The srcgProjQtnCmmdtyQuantityUUID contained in this VdmComplex.
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      The sourcingProjectQuotationUUID contained in this VdmComplex.
    • getCommodity

      @Nullable public String getCommodity()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Commodity

      Returns:
      The commodity contained in this VdmComplex.
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      The validityEndDate contained in this VdmComplex.
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      The validityStartDate contained in this VdmComplex.
    • getCommodityQuantity

      @Nullable public BigDecimal getCommodityQuantity()
      Constraints: Not nullable, Precision: 17, Scale: 3

      Original property name from the Odata EDM: CommodityQuantity

      Returns:
      The commodityQuantity contained in this VdmComplex.
    • getCommodityUnit

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

      Original property name from the Odata EDM: CommodityUnit

      Returns:
      The commodityUnit contained in this VdmComplex.
    • getPurgDocCmmdtyRefDocItmQty

      @Nullable public BigDecimal getPurgDocCmmdtyRefDocItmQty()
      Constraints: Not nullable, Precision: 5

      Original property name from the Odata EDM: PurgDocCmmdtyRefDocItmQty

      Returns:
      The purgDocCmmdtyRefDocItmQty contained in this VdmComplex.
    • getItemQuantityUnit

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

      Original property name from the Odata EDM: ItemQuantityUnit

      Returns:
      The itemQuantityUnit contained in this VdmComplex.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmObject<D_SPQtnSmltePrcgCmmdtyQtyP>
    • getOdataType

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