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

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

Original entity name from the Odata EDM: SrcgSuplrListBusinessPartnerType

  • Field Details

  • Constructor Details

    • SrcgSuplrListBusinessPartner

      public SrcgSuplrListBusinessPartner()
    • SrcgSuplrListBusinessPartner

      public SrcgSuplrListBusinessPartner(@Nullable UUID srcgSuplrListBusPartUUID, @Nullable UUID businessPartnerUUID, @Nullable String supplier, @Nullable String businessPartner, @Nullable String addressNumber, @Nullable String supplierCountryGroup, @Nullable UUID sourcingSupplierListUUID, @Nullable Boolean suplrListSupplierIsMandatory, @Nullable Boolean businessPartnerIsBlocked, @Nullable UUID suplrListReferenceObjectUUID, @Nullable String supplierListReferenceObject, @Nullable String suplrListReferenceObjectType, @Nullable UUID sourceSupplierListUUID, @Nullable String sourceSupplierListType, @Nullable String supplierListUpdateType, @Nullable String isDeleted, @Nullable String suplrListSuplrDeltnReasonText, @Nullable String suplrListSupplierAddedByUser, @Nullable String country, @Nullable String emailAddress, @Nullable String supplierListName, @Nullable String supplierName, @Nullable Collection<SAP__Message> _Messages, @Nullable SourcingSupplierList to_SourcingSupplierListTP)
  • Method Details

    • getType

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

      public void setSrcgSuplrListBusPartUUID(@Nullable UUID srcgSuplrListBusPartUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgSuplrListBusPartUUID

      Parameters:
      srcgSuplrListBusPartUUID - Business Partner GUID
    • setBusinessPartnerUUID

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

      Original property name from the Odata EDM: BusinessPartnerUUID

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

      public void setAddressNumber(@Nullable String addressNumber)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AddressNumber

      Parameters:
      addressNumber - 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
    • setSourcingSupplierListUUID

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

      Original property name from the Odata EDM: SourcingSupplierListUUID

      Parameters:
      sourcingSupplierListUUID - UUID of Sourcing Supplier List
    • setSuplrListSupplierIsMandatory

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

      Original property name from the Odata EDM: SuplrListSupplierIsMandatory

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

      public void setSuplrListReferenceObjectUUID(@Nullable UUID suplrListReferenceObjectUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SuplrListReferenceObjectUUID

      Parameters:
      suplrListReferenceObjectUUID - Reference Object UUID of Instance Based Supplier List
    • setSupplierListReferenceObject

      public void setSupplierListReferenceObject(@Nullable String supplierListReferenceObject)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierListReferenceObject

      Parameters:
      supplierListReferenceObject - Reference Object for Supplier List for Sourcing
    • setSuplrListReferenceObjectType

      public void setSuplrListReferenceObjectType(@Nullable String suplrListReferenceObjectType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SuplrListReferenceObjectType

      Parameters:
      suplrListReferenceObjectType - Reference Object Type for Sourcing Supplier List
    • setSourceSupplierListUUID

      public void setSourceSupplierListUUID(@Nullable UUID sourceSupplierListUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: SourceSupplierListUUID

      Parameters:
      sourceSupplierListUUID - Source Supplier List UUID
    • setSourceSupplierListType

      public void setSourceSupplierListType(@Nullable String sourceSupplierListType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourceSupplierListType

      Parameters:
      sourceSupplierListType - Source Supplier List Type
    • setSupplierListUpdateType

      public void setSupplierListUpdateType(@Nullable String supplierListUpdateType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SupplierListUpdateType

      Parameters:
      supplierListUpdateType - Update Type
    • setIsDeleted

      public void setIsDeleted(@Nullable String isDeleted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - Deletion Indicator in Purchasing Document
    • setSuplrListSuplrDeltnReasonText

      public void setSuplrListSuplrDeltnReasonText(@Nullable String suplrListSuplrDeltnReasonText)
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListSuplrDeltnReasonText

      Parameters:
      suplrListSuplrDeltnReasonText - Supplier Deletion Reason Text
    • setSuplrListSupplierAddedByUser

      public void setSuplrListSupplierAddedByUser(@Nullable String suplrListSupplierAddedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: SuplrListSupplierAddedByUser

      Parameters:
      suplrListSupplierAddedByUser - Purchaser Responsible User
    • 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
    • setEmailAddress

      public void setEmailAddress(@Nullable String emailAddress)
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Parameters:
      emailAddress - The emailAddress to set.
    • setSupplierListName

      public void setSupplierListName(@Nullable String supplierListName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupplierListName

      Parameters:
      supplierListName - Supplier List Name
    • setSupplierName

      public void setSupplierName(@Nullable String supplierName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SupplierName

      Parameters:
      supplierName - Name of Supplier
    • 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<SrcgSuplrListBusinessPartner>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity SrcgSuplrListBusinessPartner 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 _SourcingSupplierListTP is already loaded, the result will contain the SourcingSupplierList entity. If not, an Option with result state empty is returned.
    • setSourcingSupplierListTP

      public void setSourcingSupplierListTP(SourcingSupplierList value)
      Overwrites the associated SourcingSupplierList entity for the loaded navigation property _SourcingSupplierListTP.
      Parameters:
      value - New SourcingSupplierList entity.
    • proposeToAdd

      @Nonnull public static BoundAction.CollectionToSingle<SrcgSuplrListBusinessPartner,SrcgSuplrListBusinessPartner> proposeToAdd(@Nullable UUID sourcingSupplierListUUID, @Nonnull Collection<D_SrcgSuplrListCrteBusPartP> _BusinessPartner)
      Action that can be applied to a collection of entities of this class.

      Parameters:
      sourcingSupplierListUUID - Constraints: Nullable

      Original parameter name from the Odata EDM: SourcingSupplierListUUID

      _BusinessPartner - Constraints: Not nullable

      Original parameter name from the Odata EDM: _BusinessPartner

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

      @Nonnull public static BoundAction.SingleToSingle<SrcgSuplrListBusinessPartner,SrcgSuplrListBusinessPartner> delSrcgSuplrListBusPartner()
      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.
    • undoDeleteOfSupplier

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

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

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

      Original parameter name from the Odata EDM: SuplrListSuplrDeltnReasonText

      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

    • getSrcgSuplrListBusPartUUID

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

      Original property name from the Odata EDM: SrcgSuplrListBusPartUUID

      Returns:
      Business Partner GUID
    • getBusinessPartnerUUID

      @Nullable public UUID getBusinessPartnerUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: BusinessPartnerUUID

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

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner
    • getAddressNumber

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

      Original property name from the Odata EDM: AddressNumber

      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
    • getSourcingSupplierListUUID

      @Nullable public UUID getSourcingSupplierListUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingSupplierListUUID

      Returns:
      UUID of Sourcing Supplier List
    • getSuplrListSupplierIsMandatory

      @Nullable public Boolean getSuplrListSupplierIsMandatory()
      Constraints: Not nullable

      Original property name from the Odata EDM: SuplrListSupplierIsMandatory

      Returns:
      Supplier Is Mandatory
    • getBusinessPartnerIsBlocked

      @Nullable public Boolean getBusinessPartnerIsBlocked()
      Constraints: Not nullable

      Original property name from the Odata EDM: BusinessPartnerIsBlocked

      Returns:
      Central Block for Business Partner
    • getSuplrListReferenceObjectUUID

      @Nullable public UUID getSuplrListReferenceObjectUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SuplrListReferenceObjectUUID

      Returns:
      Reference Object UUID of Instance Based Supplier List
    • getSupplierListReferenceObject

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

      Original property name from the Odata EDM: SupplierListReferenceObject

      Returns:
      Reference Object for Supplier List for Sourcing
    • getSuplrListReferenceObjectType

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

      Original property name from the Odata EDM: SuplrListReferenceObjectType

      Returns:
      Reference Object Type for Sourcing Supplier List
    • getSourceSupplierListUUID

      @Nullable public UUID getSourceSupplierListUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: SourceSupplierListUUID

      Returns:
      Source Supplier List UUID
    • getSourceSupplierListType

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

      Original property name from the Odata EDM: SourceSupplierListType

      Returns:
      Source Supplier List Type
    • getSupplierListUpdateType

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

      Original property name from the Odata EDM: SupplierListUpdateType

      Returns:
      Update Type
    • getIsDeleted

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

      Original property name from the Odata EDM: IsDeleted

      Returns:
      Deletion Indicator in Purchasing Document
    • getSuplrListSuplrDeltnReasonText

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

      Original property name from the Odata EDM: SuplrListSuplrDeltnReasonText

      Returns:
      Supplier Deletion Reason Text
    • getSuplrListSupplierAddedByUser

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

      Original property name from the Odata EDM: SuplrListSupplierAddedByUser

      Returns:
      Purchaser Responsible User
    • getCountry

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

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region Key
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Returns:
      The emailAddress contained in this VdmEntity.
    • getSupplierListName

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

      Original property name from the Odata EDM: SupplierListName

      Returns:
      Supplier List Name
    • getSupplierName

      @Nullable public String getSupplierName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SupplierName

      Returns:
      Name of Supplier
    • 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<SrcgSuplrListBusinessPartner>
    • equals

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

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

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

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