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

public class SourcingProjectMilestone extends VdmEntity<SourcingProjectMilestone> implements VdmEntitySet
Milestone

Original entity name from the Odata EDM: SourcingProjectMilestone_Type

  • Field Details

  • Constructor Details

    • SourcingProjectMilestone

      public SourcingProjectMilestone()
    • SourcingProjectMilestone

      public SourcingProjectMilestone(@Nullable UUID sourcingProjectMilestoneUUID, @Nullable UUID sourcingProjectUUID, @Nullable String sourcingProjectMilestone, @Nullable OffsetDateTime srcgProjMilestoneDateTime, @Nullable String sourcingProjectMilestoneStatus, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject)
  • Method Details

    • getType

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

      public void setSourcingProjectMilestoneUUID(@Nullable UUID sourcingProjectMilestoneUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectMilestoneUUID

      Parameters:
      sourcingProjectMilestoneUUID - Sourcing Project Milestone UUID
    • setSourcingProjectUUID

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

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSourcingProjectMilestone

      public void setSourcingProjectMilestone(@Nullable String sourcingProjectMilestone)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingProjectMilestone

      Parameters:
      sourcingProjectMilestone - Sourcing Project Milestone
    • setSrcgProjMilestoneDateTime

      public void setSrcgProjMilestoneDateTime(@Nullable OffsetDateTime srcgProjMilestoneDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: SrcgProjMilestoneDateTime

      Parameters:
      srcgProjMilestoneDateTime - Milestone Date in Sourcing Project
    • setSourcingProjectMilestoneStatus

      public void setSourcingProjectMilestoneStatus(@Nullable String sourcingProjectMilestoneStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingProjectMilestoneStatus

      Parameters:
      sourcingProjectMilestoneStatus - Sourcing Project Milestone Status
    • 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<SourcingProjectMilestone>
    • getKey

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

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

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

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

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

    • getSourcingProjectMilestoneUUID

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

      Original property name from the Odata EDM: SourcingProjectMilestoneUUID

      Returns:
      Sourcing Project Milestone UUID
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSourcingProjectMilestone

      @Nullable public String getSourcingProjectMilestone()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingProjectMilestone

      Returns:
      Sourcing Project Milestone
    • getSrcgProjMilestoneDateTime

      @Nullable public OffsetDateTime getSrcgProjMilestoneDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: SrcgProjMilestoneDateTime

      Returns:
      Milestone Date in Sourcing Project
    • getSourcingProjectMilestoneStatus

      @Nullable public String getSourcingProjectMilestoneStatus()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingProjectMilestoneStatus

      Returns:
      Sourcing Project Milestone Status
    • 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<SourcingProjectMilestone>
    • equals

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

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

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

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