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

public class ProcurementProjectPlant extends VdmEntity<ProcurementProjectPlant> implements VdmEntitySet
Plant

Original entity name from the Odata EDM: ProcurementProjectPlant_Type

  • Field Details

  • Constructor Details

    • ProcurementProjectPlant

      public ProcurementProjectPlant()
    • ProcurementProjectPlant

      public ProcurementProjectPlant(@Nullable UUID procmtProjectPlantUUID, @Nullable String procurementProjectPlant, @Nullable LocalDate productionStartDate, @Nullable LocalDate productionEndDate, @Nullable UUID procurementProjectUUID, @Nullable String companyCode, @Nullable String procurementHubSourceSystem, @Nullable String procmtHubPlantUniqueID, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable ProcurementProject to_ProcurementProject)
  • Method Details

    • getType

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

      public void setProcmtProjectPlantUUID(@Nullable UUID procmtProjectPlantUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProcmtProjectPlantUUID

      Parameters:
      procmtProjectPlantUUID - UUID of Plant in Procurement Project
    • setProcurementProjectPlant

      public void setProcurementProjectPlant(@Nullable String procurementProjectPlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProcurementProjectPlant

      Parameters:
      procurementProjectPlant - Plant
    • setProductionStartDate

      public void setProductionStartDate(@Nullable LocalDate productionStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ProductionStartDate

      Parameters:
      productionStartDate - Start of Production
    • setProductionEndDate

      public void setProductionEndDate(@Nullable LocalDate productionEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ProductionEndDate

      Parameters:
      productionEndDate - End of Production
    • setProcurementProjectUUID

      public void setProcurementProjectUUID(@Nullable UUID procurementProjectUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: ProcurementProjectUUID

      Parameters:
      procurementProjectUUID - Procurement Project UUID
    • 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
    • setProcurementHubSourceSystem

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

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Parameters:
      procurementHubSourceSystem - Connected System ID
    • setProcmtHubPlantUniqueID

      public void setProcmtHubPlantUniqueID(@Nullable String procmtHubPlantUniqueID)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcmtHubPlantUniqueID

      Parameters:
      procmtHubPlantUniqueID - Plant Unique ID
    • 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<ProcurementProjectPlant>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity ProcurementProjectPlant 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 _ProcurementProject is already loaded, the result will contain the ProcurementProject entity. If not, an Option with result state empty is returned.
    • setProcurementProject

      public void setProcurementProject(ProcurementProject value)
      Overwrites the associated ProcurementProject entity for the loaded navigation property _ProcurementProject.
      Parameters:
      value - New ProcurementProject entity.
    • builder

    • getProcmtProjectPlantUUID

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

      Original property name from the Odata EDM: ProcmtProjectPlantUUID

      Returns:
      UUID of Plant in Procurement Project
    • getProcurementProjectPlant

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

      Original property name from the Odata EDM: ProcurementProjectPlant

      Returns:
      Plant
    • getProductionStartDate

      @Nullable public LocalDate getProductionStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ProductionStartDate

      Returns:
      Start of Production
    • getProductionEndDate

      @Nullable public LocalDate getProductionEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ProductionEndDate

      Returns:
      End of Production
    • getProcurementProjectUUID

      @Nullable public UUID getProcurementProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: ProcurementProjectUUID

      Returns:
      Procurement Project UUID
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getProcurementHubSourceSystem

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

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Returns:
      Connected System ID
    • getProcmtHubPlantUniqueID

      @Nullable public String getProcmtHubPlantUniqueID()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ProcmtHubPlantUniqueID

      Returns:
      Plant Unique ID
    • 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<ProcurementProjectPlant>
    • equals

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

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

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

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