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

public class PartnerSalesDocumentItem extends VdmEntity<PartnerSalesDocumentItem>
Partner Sales Document Item (Master Data)

Original entity name from the Odata EDM: PartnerSalesDocumentItem

  • Field Details

    • ALL_FIELDS

      public static final PartnerSalesDocumentItemSelectable ALL_FIELDS
      Selector for all available fields of PartnerSalesDocumentItem.
    • PARTNER_SALES_DOCUMENT_ITEM_ID

      public static final PartnerSalesDocumentItemField<String> PARTNER_SALES_DOCUMENT_ITEM_ID
      Use with available fluent helpers to apply the PartnerSalesDocumentItem_ID field to query operations.
    • PARTNER_SALES_DOCUMENT_ITEM_TEXT

      public static final PartnerSalesDocumentItemField<String> PARTNER_SALES_DOCUMENT_ITEM_TEXT
      Use with available fluent helpers to apply the PartnerSalesDocumentItemText field to query operations.
    • PARTNER_SALES_DOCUMENT

      public static final PartnerSalesDocumentItemField<String> PARTNER_SALES_DOCUMENT
      Use with available fluent helpers to apply the PartnerSalesDocument field to query operations.
  • Constructor Details

    • PartnerSalesDocumentItem

      public PartnerSalesDocumentItem()
    • PartnerSalesDocumentItem

      public PartnerSalesDocumentItem(@Nullable String partnerSalesDocumentItem_ID, @Nullable String partnerSalesDocumentItemText, @Nullable String partnerSalesDocument)
  • Method Details

    • getType

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

      public void setPartnerSalesDocumentItem_ID(@Nullable String partnerSalesDocumentItem_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PartnerSalesDocumentItem_ID

      Parameters:
      partnerSalesDocumentItem_ID - Partner Sales Document Item
    • setPartnerSalesDocumentItemText

      public void setPartnerSalesDocumentItemText(@Nullable String partnerSalesDocumentItemText)
      Constraints: none

      Original property name from the Odata EDM: PartnerSalesDocumentItemText

      Parameters:
      partnerSalesDocumentItemText - Partner Sales Document Item (Description)
    • setPartnerSalesDocument

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

      Original property name from the Odata EDM: PartnerSalesDocument

      Parameters:
      partnerSalesDocument - Partner Sales Document Item (Partner Sales Doc.)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PartnerSalesDocumentItemField<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> PartnerSalesDocumentItemField<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<PartnerSalesDocumentItem>
    • setServicePathForFetch

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

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

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

    • getPartnerSalesDocumentItem_ID

      @Nullable public String getPartnerSalesDocumentItem_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PartnerSalesDocumentItem_ID

      Returns:
      Partner Sales Document Item
    • getPartnerSalesDocumentItemText

      @Nullable public String getPartnerSalesDocumentItemText()
      Constraints: none

      Original property name from the Odata EDM: PartnerSalesDocumentItemText

      Returns:
      Partner Sales Document Item (Description)
    • getPartnerSalesDocument

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

      Original property name from the Odata EDM: PartnerSalesDocument

      Returns:
      Partner Sales Document Item (Partner Sales Doc.)
    • toString

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

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

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

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