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

public class SrcgProjQtnAllowedCurrency extends VdmEntity<SrcgProjQtnAllowedCurrency> implements VdmEntitySet
Allowed Currency

Original entity name from the Odata EDM: SrcgProjQtnAllowedCurrency_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnAllowedCurrency

      public SrcgProjQtnAllowedCurrency()
    • SrcgProjQtnAllowedCurrency

      public SrcgProjQtnAllowedCurrency(@Nullable UUID srcgProjQtnAllowedCurrencyUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String srcgProjQtnAllowedCurrency, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation)
  • Method Details

    • getType

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

      public void setSrcgProjQtnAllowedCurrencyUUID(@Nullable UUID srcgProjQtnAllowedCurrencyUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnAllowedCurrencyUUID

      Parameters:
      srcgProjQtnAllowedCurrencyUUID - Allowed Currency in Supplier Quotation (Sourcing Proj.)UUID
    • setSourcingProjectQuotationUUID

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

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - Supplier Quotation UUID
    • setSrcgProjQtnAllowedCurrency

      public void setSrcgProjQtnAllowedCurrency(@Nullable String srcgProjQtnAllowedCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SrcgProjQtnAllowedCurrency

      Parameters:
      srcgProjQtnAllowedCurrency - Allowed Currency in Supplier Quotation (Sourcing Projects)
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SrcgProjQtnAllowedCurrency>
    • 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 SrcgProjQtnAllowedCurrency 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.
    • builder

    • getSrcgProjQtnAllowedCurrencyUUID

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

      Original property name from the Odata EDM: SrcgProjQtnAllowedCurrencyUUID

      Returns:
      Allowed Currency in Supplier Quotation (Sourcing Proj.)UUID
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation UUID
    • getSrcgProjQtnAllowedCurrency

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

      Original property name from the Odata EDM: SrcgProjQtnAllowedCurrency

      Returns:
      Allowed Currency in Supplier Quotation (Sourcing Projects)
    • toString

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

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

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

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

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