java.lang.Object
de.hybris.platform.sap.sapordermgmtbol.transaction.order.businessobject.impl.PartnerListEntryImpl
All Implemented Interfaces:
PartnerListEntry, Serializable, Cloneable

public class PartnerListEntryImpl extends Object implements PartnerListEntry, Cloneable
An entry in the partner list, attached to a sales document
See Also:
  • Field Details

    • partnerGUID

      protected TechKey partnerGUID
      Partner guid (in ERP case: like ID)
    • partnerId

      protected String partnerId
      Partner ID
    • handle

      protected String handle
      Handle
  • Constructor Details

    • PartnerListEntryImpl

      public PartnerListEntryImpl()
      Creates a new PartnerListEntry object.
    • PartnerListEntryImpl

      @Deprecated(since="ages", forRemoval=true) public PartnerListEntryImpl(TechKey partnerGUID, String partnerId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This constructor is deprecated.
      Creates a new PartnerListEntry object.
      Parameters:
      partnerGUID - techkey of the business partner
      partnerId - id of the business partner
  • Method Details

    • getPartnerTechKey

      public TechKey getPartnerTechKey()
      Get the TechKey of the PartnerListEntry
      Specified by:
      getPartnerTechKey in interface PartnerListEntry
      Returns:
      TechKey of entry
    • setPartnerTechKey

      public void setPartnerTechKey(TechKey partnerGUID)
      Set the TechKey of the PartnerListEntry
      Specified by:
      setPartnerTechKey in interface PartnerListEntry
      Parameters:
      partnerGUID - techkey of the business partner
    • getPartnerId

      public String getPartnerId()
      get the Id of the PartnerListEntry
      Specified by:
      getPartnerId in interface PartnerListEntry
      Returns:
      id of entry
    • setPartnerId

      public void setPartnerId(String partnerId)
      Set the TechKey of the PartnerListEntry
      Specified by:
      setPartnerId in interface PartnerListEntry
      Parameters:
      partnerId - bp-id of the business partner
    • clone

      public Object clone()
      Performs a copy of the object.
      Overrides:
      clone in class Object
      Returns:
      copy of this object
    • getHandle

      public String getHandle()
      This method returns the handle, as an alternative key for the business object, because at the creation point no techkey for the object exists. Therefore maybe the handle is needed to identify the object in back end return the handle of business object which is needed to identify the object in the back end, if the techkey still not exists
      Specified by:
      getHandle in interface PartnerListEntry
      Returns:
      string representing this entry
    • setHandle

      public void setHandle(String handle)
      This method sets the handle, as an alternative key for the business object, because at the creation point no techkey for the object exists. Therefore maybe the handle is needed to identify the object in back end
      Specified by:
      setHandle in interface PartnerListEntry
      Parameters:
      handle - the handle of business object which identifies the object in the back end, if the techkey still not exists