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

public class SrcgProjectAwardingScenario extends VdmEntity<SrcgProjectAwardingScenario> implements VdmEntitySet
Awarding Scenario

Original entity name from the Odata EDM: SrcgProjectAwardingScenario_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setSrcgProjAwardingScenarioUUID(@Nullable UUID srcgProjAwardingScenarioUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjAwardingScenarioUUID

      Parameters:
      srcgProjAwardingScenarioUUID - Awarding Scenario UUID
    • setSrcgProjectAwardingScenario

      public void setSrcgProjectAwardingScenario(@Nullable String srcgProjectAwardingScenario)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SrcgProjectAwardingScenario

      Parameters:
      srcgProjectAwardingScenario - Awarding Scenario ID
    • setSrcgProjectAwardingScenName

      public void setSrcgProjectAwardingScenName(@Nullable String srcgProjectAwardingScenName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SrcgProjectAwardingScenName

      Parameters:
      srcgProjectAwardingScenName - Awarding Scenario Name
    • setSrcgProjAwardingScenIsPrfrd

      public void setSrcgProjAwardingScenIsPrfrd(@Nullable Boolean srcgProjAwardingScenIsPrfrd)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjAwardingScenIsPrfrd

      Parameters:
      srcgProjAwardingScenIsPrfrd - Awarding scenario is marked as preferred
    • setSourcingProjectUUID

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

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcgProjAwdgScenLifecycleSts

      public void setSrcgProjAwdgScenLifecycleSts(@Nullable String srcgProjAwdgScenLifecycleSts)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrcgProjAwdgScenLifecycleSts

      Parameters:
      srcgProjAwdgScenLifecycleSts - Lifecycle Status of Awarding Scenario
    • setSrcgProjAwdgScenApprovalStatus

      public void setSrcgProjAwdgScenApprovalStatus(@Nullable String srcgProjAwdgScenApprovalStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrcgProjAwdgScenApprovalStatus

      Parameters:
      srcgProjAwdgScenApprovalStatus - Approval Status of Awarding Scenario
    • setSrcgProjAwdgScenAwardingStatus

      public void setSrcgProjAwdgScenAwardingStatus(@Nullable String srcgProjAwdgScenAwardingStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrcgProjAwdgScenAwardingStatus

      Parameters:
      srcgProjAwdgScenAwardingStatus - Awarding Status Code of Awarding Scenario
    • setSrcgProjAwdgScenAwardingDate

      public void setSrcgProjAwdgScenAwardingDate(@Nullable LocalDate srcgProjAwdgScenAwardingDate)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjAwdgScenAwardingDate

      Parameters:
      srcgProjAwdgScenAwardingDate - Awarding Date for Awarding Scenario
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By User
    • setCreationDateTime

      public void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Creation Date and Time
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Last Changed By User
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Last Changed On
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<List<SrcgProjAwardingScenNote>> getSrcgProjAwardingScenNoteIfPresent()
      Retrieval of associated SrcgProjAwardingScenNote entities (one to many). This corresponds to the OData navigation property _SrcgProjAwardingScenNote.

      If the navigation property for an entity SrcgProjectAwardingScenario 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 _SrcgProjAwardingScenNote is already loaded, the result will contain the SrcgProjAwardingScenNote entities. If not, an Option with result state empty is returned.
    • setSrcgProjAwardingScenNote

      public void setSrcgProjAwardingScenNote(@Nonnull List<SrcgProjAwardingScenNote> value)
      Overwrites the list of associated SrcgProjAwardingScenNote entities for the loaded navigation property _SrcgProjAwardingScenNote.

      If the navigation property _SrcgProjAwardingScenNote of a queried SrcgProjectAwardingScenario is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of SrcgProjAwardingScenNote entities.
    • addSrcgProjAwardingScenNote

      public void addSrcgProjAwardingScenNote(SrcgProjAwardingScenNote... entity)
      Adds elements to the list of associated SrcgProjAwardingScenNote entities. This corresponds to the OData navigation property _SrcgProjAwardingScenNote.

      If the navigation property _SrcgProjAwardingScenNote of a queried SrcgProjectAwardingScenario is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of SrcgProjAwardingScenNote entities.
    • getSrcgProjAwardingScenQtnIfPresent

      @Nonnull public io.vavr.control.Option<List<SrcgProjectAwardingScenarioQtn>> getSrcgProjAwardingScenQtnIfPresent()
      Retrieval of associated SrcgProjectAwardingScenarioQtn entities (one to many). This corresponds to the OData navigation property _SrcgProjAwardingScenQtn.

      If the navigation property for an entity SrcgProjectAwardingScenario 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 _SrcgProjAwardingScenQtn is already loaded, the result will contain the SrcgProjectAwardingScenarioQtn entities. If not, an Option with result state empty is returned.
    • setSrcgProjAwardingScenQtn

      public void setSrcgProjAwardingScenQtn(@Nonnull List<SrcgProjectAwardingScenarioQtn> value)
      Overwrites the list of associated SrcgProjectAwardingScenarioQtn entities for the loaded navigation property _SrcgProjAwardingScenQtn.

      If the navigation property _SrcgProjAwardingScenQtn of a queried SrcgProjectAwardingScenario is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of SrcgProjectAwardingScenarioQtn entities.
    • addSrcgProjAwardingScenQtn

      public void addSrcgProjAwardingScenQtn(SrcgProjectAwardingScenarioQtn... entity)
      Adds elements to the list of associated SrcgProjectAwardingScenarioQtn entities. This corresponds to the OData navigation property _SrcgProjAwardingScenQtn.

      If the navigation property _SrcgProjAwardingScenQtn of a queried SrcgProjectAwardingScenario is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of SrcgProjectAwardingScenarioQtn entities.
    • submitForApproval

      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • withdrawFromApproval

      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • cancel

      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

    • getSrcgProjAwardingScenarioUUID

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

      Original property name from the Odata EDM: SrcgProjAwardingScenarioUUID

      Returns:
      Awarding Scenario UUID
    • getSrcgProjectAwardingScenario

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

      Original property name from the Odata EDM: SrcgProjectAwardingScenario

      Returns:
      Awarding Scenario ID
    • getSrcgProjectAwardingScenName

      @Nullable public String getSrcgProjectAwardingScenName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SrcgProjectAwardingScenName

      Returns:
      Awarding Scenario Name
    • getSrcgProjAwardingScenIsPrfrd

      @Nullable public Boolean getSrcgProjAwardingScenIsPrfrd()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjAwardingScenIsPrfrd

      Returns:
      Awarding scenario is marked as preferred
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcgProjAwdgScenLifecycleSts

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

      Original property name from the Odata EDM: SrcgProjAwdgScenLifecycleSts

      Returns:
      Lifecycle Status of Awarding Scenario
    • getSrcgProjAwdgScenApprovalStatus

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

      Original property name from the Odata EDM: SrcgProjAwdgScenApprovalStatus

      Returns:
      Approval Status of Awarding Scenario
    • getSrcgProjAwdgScenAwardingStatus

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

      Original property name from the Odata EDM: SrcgProjAwdgScenAwardingStatus

      Returns:
      Awarding Status Code of Awarding Scenario
    • getSrcgProjAwdgScenAwardingDate

      @Nullable public LocalDate getSrcgProjAwdgScenAwardingDate()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgProjAwdgScenAwardingDate

      Returns:
      Awarding Date for Awarding Scenario
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By User
    • getCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Creation Date and Time
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Last Changed By User
    • getLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Last Changed On
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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