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

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

Original entity name from the Odata EDM: SrcgProjAllowedCurrency_Type

  • Field Details

  • Constructor Details

    • SrcgProjAllowedCurrency

      public SrcgProjAllowedCurrency()
    • SrcgProjAllowedCurrency

      public SrcgProjAllowedCurrency(@Nullable UUID srcgProjAllowedCurrencyUUID, @Nullable UUID sourcingProjectUUID, @Nullable String srcgProjAllowedCurrency, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject)
  • Method Details

    • getType

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

      public void setSrcgProjAllowedCurrencyUUID(@Nullable UUID srcgProjAllowedCurrencyUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjAllowedCurrencyUUID

      Parameters:
      srcgProjAllowedCurrencyUUID - Allowed Currency in Supplier Quotation (Sourcing Proj.) UUID
    • setSourcingProjectUUID

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

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcgProjAllowedCurrency

      public void setSrcgProjAllowedCurrency(@Nullable String srcgProjAllowedCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SrcgProjAllowedCurrency

      Parameters:
      srcgProjAllowedCurrency - Allowed Currency in Supplier Quotation (Sourcing Project)
    • 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
    • getEntityCollection

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

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

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

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

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

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

    • getSrcgProjAllowedCurrencyUUID

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

      Original property name from the Odata EDM: SrcgProjAllowedCurrencyUUID

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

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcgProjAllowedCurrency

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

      Original property name from the Odata EDM: SrcgProjAllowedCurrency

      Returns:
      Allowed Currency in Supplier Quotation (Sourcing Project)
    • 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
    • toString

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

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

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

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

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