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

public class SrcgProjPubdSuplrListBP extends VdmEntity<SrcgProjPubdSuplrListBP> implements VdmEntitySet
Business Partner in Pubd Supplier List

Original entity name from the Odata EDM: SrcgProjPubdSuplrListBP_Type

  • Field Details

  • Constructor Details

    • SrcgProjPubdSuplrListBP

      public SrcgProjPubdSuplrListBP()
    • SrcgProjPubdSuplrListBP

      public SrcgProjPubdSuplrListBP(@Nullable UUID srcgProjPubdSuplrListUUID, @Nullable UUID sourcingProjectUUID, @Nullable UUID sourcingSupplierListUUID, @Nullable UUID supplierListUUID, @Nullable UUID srcgSuplrListBusPartUUID, @Nullable String supplier, @Nullable String businessPartner, @Nullable String addressID, @Nullable String supplierCountryGroup, @Nullable String srcgProjParticipationStatus, @Nullable Boolean suplrListSupplierIsMandatory, @Nullable String srcgProjSuplrPartcipnDclnRsn, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable Boolean businessPartnerIsBlocked, @Nullable OffsetDateTime qtnExtendedLatestSubmsnDteTime, @Nullable Boolean srcgProjSupplierIsLocked, @Nullable Boolean supplierIsParticipating, @Nullable Boolean srcgProjIsAfterSubmsnDeadline, @Nullable Collection<SAP__Message> _Messages, @Nullable SourcingProject to_SourcingProject, List<SrcgProjPubdSuplrActnHist> to_SrcgProjPubdSuplrActnHist)
  • Method Details

    • getType

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

      public void setSrcgProjPubdSuplrListUUID(@Nullable UUID srcgProjPubdSuplrListUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjPubdSuplrListUUID

      Parameters:
      srcgProjPubdSuplrListUUID - UUID of Supplier List Published with Sourcing Project
    • setSourcingProjectUUID

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

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSourcingSupplierListUUID

      public void setSourcingSupplierListUUID(@Nullable UUID sourcingSupplierListUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SourcingSupplierListUUID

      Parameters:
      sourcingSupplierListUUID - UUID of Sourcing Supplier List
    • setSupplierListUUID

      public void setSupplierListUUID(@Nullable UUID supplierListUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SupplierListUUID

      Parameters:
      supplierListUUID - Supplier List UUID
    • setSrcgSuplrListBusPartUUID

      public void setSrcgSuplrListBusPartUUID(@Nullable UUID srcgSuplrListBusPartUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgSuplrListBusPartUUID

      Parameters:
      srcgSuplrListBusPartUUID - Business Partner GUID
    • setSupplier

      public void setSupplier(@Nullable String supplier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Account Number of Supplier
    • setBusinessPartner

      public void setBusinessPartner(@Nullable String businessPartner)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner
    • setAddressID

      public void setAddressID(@Nullable String addressID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressID

      Parameters:
      addressID - Address
    • setSupplierCountryGroup

      public void setSupplierCountryGroup(@Nullable String supplierCountryGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierCountryGroup

      Parameters:
      supplierCountryGroup - Country/Region Group of Supplier
    • setSrcgProjParticipationStatus

      public void setSrcgProjParticipationStatus(@Nullable String srcgProjParticipationStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SrcgProjParticipationStatus

      Parameters:
      srcgProjParticipationStatus - Participation Status of a Supplier for Sourcing Project
    • setSuplrListSupplierIsMandatory

      public void setSuplrListSupplierIsMandatory(@Nullable Boolean suplrListSupplierIsMandatory)
      Constraints: Not nullable

      Original property name from the Odata EDM: SuplrListSupplierIsMandatory

      Parameters:
      suplrListSupplierIsMandatory - Supplier Is Mandatory
    • setSrcgProjSuplrPartcipnDclnRsn

      public void setSrcgProjSuplrPartcipnDclnRsn(@Nullable String srcgProjSuplrPartcipnDclnRsn)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SrcgProjSuplrPartcipnDclnRsn

      Parameters:
      srcgProjSuplrPartcipnDclnRsn - Reason for New Version of 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
    • setBusinessPartnerIsBlocked

      public void setBusinessPartnerIsBlocked(@Nullable Boolean businessPartnerIsBlocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: BusinessPartnerIsBlocked

      Parameters:
      businessPartnerIsBlocked - Central Block for Business Partner
    • setQtnExtendedLatestSubmsnDteTime

      public void setQtnExtendedLatestSubmsnDteTime(@Nullable OffsetDateTime qtnExtendedLatestSubmsnDteTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: QtnExtendedLatestSubmsnDteTime

      Parameters:
      qtnExtendedLatestSubmsnDteTime - Latest Submission Date for Supplier Quotations
    • setSrcgProjSupplierIsLocked

      public void setSrcgProjSupplierIsLocked(@Nullable Boolean srcgProjSupplierIsLocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjSupplierIsLocked

      Parameters:
      srcgProjSupplierIsLocked - Sourcing Project Indicator for Attachments Allowed
    • setSupplierIsParticipating

      public void setSupplierIsParticipating(@Nullable Boolean supplierIsParticipating)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierIsParticipating

      Parameters:
      supplierIsParticipating - Indicator for Declined Participation in Sourcing Project
    • setSrcgProjIsAfterSubmsnDeadline

      public void setSrcgProjIsAfterSubmsnDeadline(@Nullable Boolean srcgProjIsAfterSubmsnDeadline)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjIsAfterSubmsnDeadline

      Parameters:
      srcgProjIsAfterSubmsnDeadline - Indicator for Passed Submission Deadline in Sourcing Project
    • 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<SrcgProjPubdSuplrListBP>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjPubdSuplrListBP 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 _SrcgProjPubdSuplrActnHist is already loaded, the result will contain the SrcgProjPubdSuplrActnHist entities. If not, an Option with result state empty is returned.
    • setSrcgProjPubdSuplrActnHist

      public void setSrcgProjPubdSuplrActnHist(@Nonnull List<SrcgProjPubdSuplrActnHist> value)
      Overwrites the list of associated SrcgProjPubdSuplrActnHist entities for the loaded navigation property _SrcgProjPubdSuplrActnHist.

      If the navigation property _SrcgProjPubdSuplrActnHist of a queried SrcgProjPubdSuplrListBP 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 SrcgProjPubdSuplrActnHist entities.
    • addSrcgProjPubdSuplrActnHist

      public void addSrcgProjPubdSuplrActnHist(SrcgProjPubdSuplrActnHist... entity)
      Adds elements to the list of associated SrcgProjPubdSuplrActnHist entities. This corresponds to the OData navigation property _SrcgProjPubdSuplrActnHist.

      If the navigation property _SrcgProjPubdSuplrActnHist of a queried SrcgProjPubdSuplrListBP 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 SrcgProjPubdSuplrActnHist entities.
    • unlockSupplier

      @Nonnull public static BoundAction.SingleToSingle<SrcgProjPubdSuplrListBP,SrcgProjPubdSuplrListBP> unlockSupplier(@Nullable OffsetDateTime qtnExtendedLatestSubmsnDteTime, @Nonnull String srcgProjSuplrUnlockingReason)
      Action that can be applied to any entity object of this class.

      Parameters:
      srcgProjSuplrUnlockingReason - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: SrcgProjSuplrUnlockingReason

      qtnExtendedLatestSubmsnDteTime - Constraints: Nullable, Precision: 7

      Original parameter name from the Odata EDM: QtnExtendedLatestSubmsnDteTime

      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.
    • declineParticipation

      @Nonnull public static BoundAction.SingleToSingle<SrcgProjPubdSuplrListBP,SrcgProjPubdSuplrListBP> declineParticipation(@Nonnull String sourcingProjectType, @Nonnull String srcgProjSuplrPartcipnDclnRsn)
      Action that can be applied to any entity object of this class.

      Parameters:
      sourcingProjectType - Constraints: Not nullable, Maximum length: 2

      Original parameter name from the Odata EDM: SourcingProjectType

      srcgProjSuplrPartcipnDclnRsn - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: SrcgProjSuplrPartcipnDclnRsn

      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.
    • lockSupplier

      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

    • getSrcgProjPubdSuplrListUUID

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

      Original property name from the Odata EDM: SrcgProjPubdSuplrListUUID

      Returns:
      UUID of Supplier List Published with Sourcing Project
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSourcingSupplierListUUID

      @Nullable public UUID getSourcingSupplierListUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SourcingSupplierListUUID

      Returns:
      UUID of Sourcing Supplier List
    • getSupplierListUUID

      @Nullable public UUID getSupplierListUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SupplierListUUID

      Returns:
      Supplier List UUID
    • getSrcgSuplrListBusPartUUID

      @Nullable public UUID getSrcgSuplrListBusPartUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SrcgSuplrListBusPartUUID

      Returns:
      Business Partner GUID
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Account Number of Supplier
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner
    • getAddressID

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

      Original property name from the Odata EDM: AddressID

      Returns:
      Address
    • getSupplierCountryGroup

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

      Original property name from the Odata EDM: SupplierCountryGroup

      Returns:
      Country/Region Group of Supplier
    • getSrcgProjParticipationStatus

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

      Original property name from the Odata EDM: SrcgProjParticipationStatus

      Returns:
      Participation Status of a Supplier for Sourcing Project
    • getSuplrListSupplierIsMandatory

      @Nullable public Boolean getSuplrListSupplierIsMandatory()
      Constraints: Not nullable

      Original property name from the Odata EDM: SuplrListSupplierIsMandatory

      Returns:
      Supplier Is Mandatory
    • getSrcgProjSuplrPartcipnDclnRsn

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

      Original property name from the Odata EDM: SrcgProjSuplrPartcipnDclnRsn

      Returns:
      Reason for New Version of 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
    • getBusinessPartnerIsBlocked

      @Nullable public Boolean getBusinessPartnerIsBlocked()
      Constraints: Not nullable

      Original property name from the Odata EDM: BusinessPartnerIsBlocked

      Returns:
      Central Block for Business Partner
    • getQtnExtendedLatestSubmsnDteTime

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

      Original property name from the Odata EDM: QtnExtendedLatestSubmsnDteTime

      Returns:
      Latest Submission Date for Supplier Quotations
    • getSrcgProjSupplierIsLocked

      @Nullable public Boolean getSrcgProjSupplierIsLocked()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjSupplierIsLocked

      Returns:
      Sourcing Project Indicator for Attachments Allowed
    • getSupplierIsParticipating

      @Nullable public Boolean getSupplierIsParticipating()
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierIsParticipating

      Returns:
      Indicator for Declined Participation in Sourcing Project
    • getSrcgProjIsAfterSubmsnDeadline

      @Nullable public Boolean getSrcgProjIsAfterSubmsnDeadline()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjIsAfterSubmsnDeadline

      Returns:
      Indicator for Passed Submission Deadline in Sourcing Project
    • 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<SrcgProjPubdSuplrListBP>
    • equals

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

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

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

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