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

public class SrcgProjProcurementProject extends VdmEntity<SrcgProjProcurementProject> implements VdmEntitySet
Procurement Project

Original entity name from the Odata EDM: SrcgProjProcurementProject_Type

  • Field Details

  • Constructor Details

    • SrcgProjProcurementProject

      public SrcgProjProcurementProject()
    • SrcgProjProcurementProject

      public SrcgProjProcurementProject(@Nullable UUID srcgProjProcmtProjectUUID, @Nullable UUID sourcingProjectUUID, @Nullable String srcgProjProcurementProject, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject)
  • Method Details

    • getType

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

      public void setSrcgProjProcmtProjectUUID(@Nullable UUID srcgProjProcmtProjectUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjProcmtProjectUUID

      Parameters:
      srcgProjProcmtProjectUUID - Procurement Project UUID
    • setSourcingProjectUUID

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

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcgProjProcurementProject

      public void setSrcgProjProcurementProject(@Nullable String srcgProjProcurementProject)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SrcgProjProcurementProject

      Parameters:
      srcgProjProcurementProject - Procurement 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<SrcgProjProcurementProject>
    • getKey

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

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

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

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

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

    • getSrcgProjProcmtProjectUUID

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

      Original property name from the Odata EDM: SrcgProjProcmtProjectUUID

      Returns:
      Procurement Project UUID
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcgProjProcurementProject

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

      Original property name from the Odata EDM: SrcgProjProcurementProject

      Returns:
      Procurement 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<SrcgProjProcurementProject>
    • equals

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

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

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

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