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

public class PurchaseOrderItemNote extends VdmEntity<PurchaseOrderItemNote>
Item Notes

Original entity name from the Odata EDM: A_PurchaseOrderItemNoteType

  • Field Details

    • ALL_FIELDS

      public static final PurchaseOrderItemNoteSelectable ALL_FIELDS
      Selector for all available fields of PurchaseOrderItemNote.
    • PURCHASE_ORDER

      public static final PurchaseOrderItemNoteField<String> PURCHASE_ORDER
      Use with available fluent helpers to apply the PurchaseOrder field to query operations.
    • PURCHASE_ORDER_ITEM

      public static final PurchaseOrderItemNoteField<String> PURCHASE_ORDER_ITEM
      Use with available fluent helpers to apply the PurchaseOrderItem field to query operations.
    • TEXT_OBJECT_TYPE

      public static final PurchaseOrderItemNoteField<String> TEXT_OBJECT_TYPE
      Use with available fluent helpers to apply the TextObjectType field to query operations.
    • LANGUAGE

      public static final PurchaseOrderItemNoteField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • PLAIN_LONG_TEXT

      public static final PurchaseOrderItemNoteField<String> PLAIN_LONG_TEXT
      Use with available fluent helpers to apply the PlainLongText field to query operations.
  • Constructor Details

    • PurchaseOrderItemNote

      public PurchaseOrderItemNote()
    • PurchaseOrderItemNote

      public PurchaseOrderItemNote(@Nullable String purchaseOrder, @Nullable String purchaseOrderItem, @Nullable String textObjectType, @Nullable String language, @Nullable String plainLongText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PurchaseOrder

      Parameters:
      purchaseOrder - Purchasing Document Number
    • setPurchaseOrderItem

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

      Original property name from the Odata EDM: PurchaseOrderItem

      Parameters:
      purchaseOrderItem - Item Number of Purchasing Document
    • setTextObjectType

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

      Original property name from the Odata EDM: TextObjectType

      Parameters:
      textObjectType - Text ID
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setPlainLongText

      public void setPlainLongText(@Nullable String plainLongText)
      Constraints: none

      Original property name from the Odata EDM: PlainLongText

      Parameters:
      plainLongText - Long Text
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PurchaseOrderItemNoteField<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> PurchaseOrderItemNoteField<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<PurchaseOrderItemNote>
    • setServicePathForFetch

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

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

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

      @Nonnull public static PurchaseOrderItemNote.PurchaseOrderItemNoteBuilder builder()
    • getPurchaseOrder

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

      Original property name from the Odata EDM: PurchaseOrder

      Returns:
      Purchasing Document Number
    • getPurchaseOrderItem

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

      Original property name from the Odata EDM: PurchaseOrderItem

      Returns:
      Item Number of Purchasing Document
    • getTextObjectType

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

      Original property name from the Odata EDM: TextObjectType

      Returns:
      Text ID
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getPlainLongText

      @Nullable public String getPlainLongText()
      Constraints: none

      Original property name from the Odata EDM: PlainLongText

      Returns:
      Long Text
    • toString

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

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

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

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