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

public class SuplrListPrpsdBusinessPartner extends VdmEntity<SuplrListPrpsdBusinessPartner> implements VdmEntitySet
Proposed Supplier for Supplier List

Original entity name from the Odata EDM: SuplrListPrpsdBusinessPartnerType

  • Field Details

  • Constructor Details

    • SuplrListPrpsdBusinessPartner

      public SuplrListPrpsdBusinessPartner()
    • SuplrListPrpsdBusinessPartner

      public SuplrListPrpsdBusinessPartner(@Nullable UUID suplrListProposedSupplierUUID, @Nullable UUID businessPartnerUUID, @Nullable String businessPartner, @Nullable UUID supplierListUUID, @Nullable String supplier, @Nullable Boolean businessPartnerIsBlocked, @Nullable String addressID, @Nullable String supplierCountryGroup, @Nullable OffsetDateTime suplrListSuplrProposedDateTime, @Nullable String suplrListSupplierProposalText, @Nullable String supplierProposedByUser, @Nullable String suplrListSupplierApprovalText, @Nullable String suplrListSuplrProposalStatus, @Nullable Boolean isDeleted, @Nullable String suplrListSuplrProposalAction, @Nullable String country, @Nullable Collection<SAP__Message> _Messages, @Nullable SupplierList to_SupplierListTP)
  • Method Details

    • getType

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

      public void setSuplrListProposedSupplierUUID(@Nullable UUID suplrListProposedSupplierUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SuplrListProposedSupplierUUID

      Parameters:
      suplrListProposedSupplierUUID - Proposed Supplier UUID
    • setBusinessPartnerUUID

      public void setBusinessPartnerUUID(@Nullable UUID businessPartnerUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: BusinessPartnerUUID

      Parameters:
      businessPartnerUUID - Business Partner UUID
    • 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
    • setSupplierListUUID

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

      Original property name from the Odata EDM: SupplierListUUID

      Parameters:
      supplierListUUID - Supplier List UUID
    • 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
    • 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
    • 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
    • setSuplrListSuplrProposedDateTime

      public void setSuplrListSuplrProposedDateTime(@Nullable OffsetDateTime suplrListSuplrProposedDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: SuplrListSuplrProposedDateTime

      Parameters:
      suplrListSuplrProposedDateTime - Supplier Proposal Date and Time
    • setSuplrListSupplierProposalText

      public void setSuplrListSupplierProposalText(@Nullable String suplrListSupplierProposalText)
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListSupplierProposalText

      Parameters:
      suplrListSupplierProposalText - Supplier Proposal Comments For Supplier List
    • setSupplierProposedByUser

      public void setSupplierProposedByUser(@Nullable String supplierProposedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: SupplierProposedByUser

      Parameters:
      supplierProposedByUser - Created By User
    • setSuplrListSupplierApprovalText

      public void setSuplrListSupplierApprovalText(@Nullable String suplrListSupplierApprovalText)
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListSupplierApprovalText

      Parameters:
      suplrListSupplierApprovalText - Supplier Approver Comments For Supplier List
    • setSuplrListSuplrProposalStatus

      public void setSuplrListSuplrProposalStatus(@Nullable String suplrListSuplrProposalStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SuplrListSuplrProposalStatus

      Parameters:
      suplrListSuplrProposalStatus - Proposed supplier status
    • setIsDeleted

      public void setIsDeleted(@Nullable Boolean isDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - “Is Deleted” Indicator
    • setSuplrListSuplrProposalAction

      public void setSuplrListSuplrProposalAction(@Nullable String suplrListSuplrProposalAction)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SuplrListSuplrProposalAction

      Parameters:
      suplrListSuplrProposalAction - Supplier Proposal Action
    • setCountry

      public void setCountry(@Nullable String country)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Parameters:
      country - Country/Region Key
    • 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<SuplrListPrpsdBusinessPartner>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity SuplrListPrpsdBusinessPartner 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 _SupplierListTP is already loaded, the result will contain the SupplierList entity. If not, an Option with result state empty is returned.
    • setSupplierListTP

      public void setSupplierListTP(SupplierList value)
      Overwrites the associated SupplierList entity for the loaded navigation property _SupplierListTP.
      Parameters:
      value - New SupplierList entity.
    • approve

      @Nonnull public static BoundAction.SingleToSingle<SuplrListPrpsdBusinessPartner,SuplrListPrpsdBusinessPartner> approve(@Nonnull String suplrListSupplierApprovalText)
      Action that can be applied to any entity object of this class.

      Parameters:
      suplrListSupplierApprovalText - Constraints: Not nullable, Maximum length: 45

      Original parameter name from the Odata EDM: SuplrListSupplierApprovalText

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

      @Nonnull public static BoundAction.SingleToSingle<SuplrListPrpsdBusinessPartner,SuplrListPrpsdBusinessPartner> reject(@Nonnull String suplrListSupplierApprovalText)
      Action that can be applied to any entity object of this class.

      Parameters:
      suplrListSupplierApprovalText - Constraints: Not nullable, Maximum length: 45

      Original parameter name from the Odata EDM: SuplrListSupplierApprovalText

      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

    • getSuplrListProposedSupplierUUID

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

      Original property name from the Odata EDM: SuplrListProposedSupplierUUID

      Returns:
      Proposed Supplier UUID
    • getBusinessPartnerUUID

      @Nullable public UUID getBusinessPartnerUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: BusinessPartnerUUID

      Returns:
      Business Partner UUID
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner
    • getSupplierListUUID

      @Nullable public UUID getSupplierListUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierListUUID

      Returns:
      Supplier List UUID
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Account Number of Supplier
    • getBusinessPartnerIsBlocked

      @Nullable public Boolean getBusinessPartnerIsBlocked()
      Constraints: Not nullable

      Original property name from the Odata EDM: BusinessPartnerIsBlocked

      Returns:
      Central Block for 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
    • getSuplrListSuplrProposedDateTime

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

      Original property name from the Odata EDM: SuplrListSuplrProposedDateTime

      Returns:
      Supplier Proposal Date and Time
    • getSuplrListSupplierProposalText

      @Nullable public String getSuplrListSupplierProposalText()
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListSupplierProposalText

      Returns:
      Supplier Proposal Comments For Supplier List
    • getSupplierProposedByUser

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

      Original property name from the Odata EDM: SupplierProposedByUser

      Returns:
      Created By User
    • getSuplrListSupplierApprovalText

      @Nullable public String getSuplrListSupplierApprovalText()
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListSupplierApprovalText

      Returns:
      Supplier Approver Comments For Supplier List
    • getSuplrListSuplrProposalStatus

      @Nullable public String getSuplrListSuplrProposalStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SuplrListSuplrProposalStatus

      Returns:
      Proposed supplier status
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      “Is Deleted” Indicator
    • getSuplrListSuplrProposalAction

      @Nullable public String getSuplrListSuplrProposalAction()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SuplrListSuplrProposalAction

      Returns:
      Supplier Proposal Action
    • getCountry

      @Nullable public String getCountry()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region Key
    • 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<SuplrListPrpsdBusinessPartner>
    • equals

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

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

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

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