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

public class SupplierListBusinessPartner extends VdmEntity<SupplierListBusinessPartner> implements VdmEntitySet
Business Partner for Supplier List

Original entity name from the Odata EDM: SupplierListBusinessPartner_Type

  • Field Details

  • Constructor Details

    • SupplierListBusinessPartner

      public SupplierListBusinessPartner()
    • SupplierListBusinessPartner

      public SupplierListBusinessPartner(@Nullable UUID suplrListBusinessPartnerUUID, @Nullable UUID businessPartnerUUID, @Nullable UUID supplierListUUID, @Nullable String supplier, @Nullable Boolean businessPartnerIsBlocked, @Nullable Boolean supplierIsProposed, @Nullable Boolean suplrListSupplierIsMandatory, @Nullable String addressID, @Nullable String supplierCountryGroup, @Nullable String businessPartner, @Nullable String suplrListSuplrProposalStatus, @Nullable String suplrListSuplrProposalAction, @Nullable Boolean isDeleted, @Nullable String region, @Nullable String country, @Nullable Collection<SAP__Message> _Messages, @Nullable SupplierList to_SupplierListTP)
  • Method Details

    • getType

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

      public void setSuplrListBusinessPartnerUUID(@Nullable UUID suplrListBusinessPartnerUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SuplrListBusinessPartnerUUID

      Parameters:
      suplrListBusinessPartnerUUID - Supplier Business Partner UUID
    • setBusinessPartnerUUID

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

      Original property name from the Odata EDM: BusinessPartnerUUID

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

      public void setSupplierIsProposed(@Nullable Boolean supplierIsProposed)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierIsProposed

      Parameters:
      supplierIsProposed - Supplier Is Proposed
    • setSuplrListSupplierIsMandatory

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

      Original property name from the Odata EDM: SuplrListSupplierIsMandatory

      Parameters:
      suplrListSupplierIsMandatory - Supplier Is Mandatory
    • 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
    • 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
    • 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
    • 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
    • setIsDeleted

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

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - “Is Deleted” Indicator
    • setRegion

      public void setRegion(@Nullable String region)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Region

      Parameters:
      region - Region (State, Province, County)
    • 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<SupplierListBusinessPartner>
    • getKey

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

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

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

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

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

      @Nonnull public static BoundAction.CollectionToSingle<SupplierListBusinessPartner,SupplierListBusinessPartner> addSupplier(@Nullable UUID supplierListUUID, @Nonnull String businessPartner, @Nonnull Boolean suplrListSupplierIsMandatory)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      suplrListSupplierIsMandatory - Constraints: Not nullable

      Original parameter name from the Odata EDM: SuplrListSupplierIsMandatory

      businessPartner - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: BusinessPartner

      supplierListUUID - Constraints: Nullable

      Original parameter name from the Odata EDM: SupplierListUUID

      Returns:
      Action object prepared with the given parameters to be applied to a collection of entities of this class.

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

      @Nonnull public static BoundAction.SingleToSingle<SupplierListBusinessPartner,SupplierListBusinessPartner> setBusinessPartnerToDeleted()
      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

    • getSuplrListBusinessPartnerUUID

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

      Original property name from the Odata EDM: SuplrListBusinessPartnerUUID

      Returns:
      Supplier Business Partner UUID
    • getBusinessPartnerUUID

      @Nullable public UUID getBusinessPartnerUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: BusinessPartnerUUID

      Returns:
      Business Partner UUID
    • 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
    • getSupplierIsProposed

      @Nullable public Boolean getSupplierIsProposed()
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierIsProposed

      Returns:
      Supplier Is Proposed
    • getSuplrListSupplierIsMandatory

      @Nullable public Boolean getSuplrListSupplierIsMandatory()
      Constraints: Not nullable

      Original property name from the Odata EDM: SuplrListSupplierIsMandatory

      Returns:
      Supplier Is Mandatory
    • 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
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner
    • getSuplrListSuplrProposalStatus

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

      Original property name from the Odata EDM: SuplrListSuplrProposalStatus

      Returns:
      Proposed supplier status
    • getSuplrListSuplrProposalAction

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

      Original property name from the Odata EDM: SuplrListSuplrProposalAction

      Returns:
      Supplier Proposal Action
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      “Is Deleted” Indicator
    • getRegion

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

      Original property name from the Odata EDM: Region

      Returns:
      Region (State, Province, County)
    • 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<SupplierListBusinessPartner>
    • equals

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

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

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

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