java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CntrlPurContrItemPartner>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.centralpurchasecontract.CntrlPurContrItemPartner

public class CntrlPurContrItemPartner extends VdmEntity<CntrlPurContrItemPartner>
Item Partner

Original entity name from the Odata EDM: A_CntrlPurContrItemPartnerType

  • Field Details

    • ALL_FIELDS

      public static final CntrlPurContrItemPartnerSelectable ALL_FIELDS
      Selector for all available fields of CntrlPurContrItemPartner.
    • CENTRAL_PURCHASE_CONTRACT

      public static final CntrlPurContrItemPartnerField<String> CENTRAL_PURCHASE_CONTRACT
      Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.
    • CENTRAL_PURCHASE_CONTRACT_ITEM

      public static final CntrlPurContrItemPartnerField<String> CENTRAL_PURCHASE_CONTRACT_ITEM
      Use with available fluent helpers to apply the CentralPurchaseContractItem field to query operations.
    • DISTRIBUTION_KEY

      public static final CntrlPurContrItemPartnerField<String> DISTRIBUTION_KEY
      Use with available fluent helpers to apply the DistributionKey field to query operations.
    • PARTNER_COUNTER

      public static final CntrlPurContrItemPartnerField<String> PARTNER_COUNTER
      Use with available fluent helpers to apply the PartnerCounter field to query operations.
    • PARTNER_FUNCTION

      public static final CntrlPurContrItemPartnerField<String> PARTNER_FUNCTION
      Use with available fluent helpers to apply the PartnerFunction field to query operations.
    • EXT_PLANT_FOR_PURG

      public static final CntrlPurContrItemPartnerField<String> EXT_PLANT_FOR_PURG
      Use with available fluent helpers to apply the ExtPlantForPurg field to query operations.
    • SUPPLIER

      public static final CntrlPurContrItemPartnerField<String> SUPPLIER
      Use with available fluent helpers to apply the Supplier field to query operations.
    • SUPPLIER_SUBRANGE

      public static final CntrlPurContrItemPartnerField<String> SUPPLIER_SUBRANGE
      Use with available fluent helpers to apply the SupplierSubrange field to query operations.
    • PURCHASING_ORGANIZATION

      public static final CntrlPurContrItemPartnerField<String> PURCHASING_ORGANIZATION
      Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
  • Constructor Details

    • CntrlPurContrItemPartner

      public CntrlPurContrItemPartner()
    • CntrlPurContrItemPartner

      public CntrlPurContrItemPartner(@Nullable String centralPurchaseContract, @Nullable String centralPurchaseContractItem, @Nullable String distributionKey, @Nullable String partnerCounter, @Nullable String partnerFunction, @Nullable String extPlantForPurg, @Nullable String supplier, @Nullable String supplierSubrange, @Nullable String purchasingOrganization)
  • Method Details

    • getType

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

      public void setCentralPurchaseContract(@Nullable String centralPurchaseContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CentralPurchaseContract

      Parameters:
      centralPurchaseContract - Purchasing Document Number
    • setCentralPurchaseContractItem

      public void setCentralPurchaseContractItem(@Nullable String centralPurchaseContractItem)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CentralPurchaseContractItem

      Parameters:
      centralPurchaseContractItem - Item Number of Purchasing Document
    • setDistributionKey

      public void setDistributionKey(@Nullable String distributionKey)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DistributionKey

      Parameters:
      distributionKey - Distribution Number of Central Purchasing Document
    • setPartnerCounter

      public void setPartnerCounter(@Nullable String partnerCounter)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PartnerCounter

      Parameters:
      partnerCounter - Partner counter
    • setPartnerFunction

      public void setPartnerFunction(@Nullable String partnerFunction)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PartnerFunction

      Parameters:
      partnerFunction - Partner Function
    • setExtPlantForPurg

      public void setExtPlantForPurg(@Nullable String extPlantForPurg)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ExtPlantForPurg

      Parameters:
      extPlantForPurg - Plant of External System
    • setSupplier

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

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Reference to other supplier
    • setSupplierSubrange

      public void setSupplierSubrange(@Nullable String supplierSubrange)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SupplierSubrange

      Parameters:
      supplierSubrange - Supplier Subrange
    • setPurchasingOrganization

      public void setPurchasingOrganization(@Nullable String purchasingOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Parameters:
      purchasingOrganization - The purchasingOrganization to set.
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<CntrlPurContrItemPartner>
    • getKey

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

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

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

      @Nonnull public static <T> CntrlPurContrItemPartnerField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> CntrlPurContrItemPartnerField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<CntrlPurContrItemPartner>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<CntrlPurContrItemPartner>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<CntrlPurContrItemPartner>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CntrlPurContrItemPartner>
    • builder

    • getCentralPurchaseContract

      @Nullable public String getCentralPurchaseContract()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CentralPurchaseContract

      Returns:
      Purchasing Document Number
    • getCentralPurchaseContractItem

      @Nullable public String getCentralPurchaseContractItem()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CentralPurchaseContractItem

      Returns:
      Item Number of Purchasing Document
    • getDistributionKey

      @Nullable public String getDistributionKey()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DistributionKey

      Returns:
      Distribution Number of Central Purchasing Document
    • getPartnerCounter

      @Nullable public String getPartnerCounter()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PartnerCounter

      Returns:
      Partner counter
    • getPartnerFunction

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

      Original property name from the Odata EDM: PartnerFunction

      Returns:
      Partner Function
    • getExtPlantForPurg

      @Nullable public String getExtPlantForPurg()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ExtPlantForPurg

      Returns:
      Plant of External System
    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Reference to other supplier
    • getSupplierSubrange

      @Nullable public String getSupplierSubrange()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SupplierSubrange

      Returns:
      Supplier Subrange
    • getPurchasingOrganization

      @Nullable public String getPurchasingOrganization()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      The purchasingOrganization contained in this entity.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<CntrlPurContrItemPartner>
    • equals

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CntrlPurContrItemPartner>