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

public class PurchaseReqnItemText extends VdmEntity<PurchaseReqnItemText>
Item Notes

Original entity name from the Odata EDM: A_PurchaseReqnItemTextType

  • Field Details

    • ALL_FIELDS

      public static final PurchaseReqnItemTextSelectable ALL_FIELDS
      Selector for all available fields of PurchaseReqnItemText.
    • PURCHASE_REQUISITION

      public static final PurchaseReqnItemTextField<String> PURCHASE_REQUISITION
      Use with available fluent helpers to apply the PurchaseRequisition field to query operations.
    • PURCHASE_REQUISITION_ITEM

      public static final PurchaseReqnItemTextField<String> PURCHASE_REQUISITION_ITEM
      Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations.
    • DOCUMENT_TEXT

      public static final PurchaseReqnItemTextField<String> DOCUMENT_TEXT
      Use with available fluent helpers to apply the DocumentText field to query operations.
    • TECHNICAL_OBJECT_TYPE

      public static final PurchaseReqnItemTextField<String> TECHNICAL_OBJECT_TYPE
      Use with available fluent helpers to apply the TechnicalObjectType field to query operations.
    • LANGUAGE

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

      public static final PurchaseReqnItemTextField<String> ARCH_OBJECT_NUMBER
      Use with available fluent helpers to apply the ArchObjectNumber field to query operations.
    • NOTE_DESCRIPTION

      public static final PurchaseReqnItemTextField<String> NOTE_DESCRIPTION
      Use with available fluent helpers to apply the NoteDescription field to query operations.
    • FIXED_INDICATOR

      public static final PurchaseReqnItemTextField<String> FIXED_INDICATOR
      Use with available fluent helpers to apply the FixedIndicator field to query operations.
  • Constructor Details

    • PurchaseReqnItemText

      public PurchaseReqnItemText()
    • PurchaseReqnItemText

      public PurchaseReqnItemText(@Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable String documentText, @Nullable String technicalObjectType, @Nullable String language, @Nullable String archObjectNumber, @Nullable String noteDescription, @Nullable String fixedIndicator)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PurchaseRequisition

      Parameters:
      purchaseRequisition - Purchase Requisition Number
    • setPurchaseRequisitionItem

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

      Original property name from the Odata EDM: PurchaseRequisitionItem

      Parameters:
      purchaseRequisitionItem - Item number of purchase requisition
    • setDocumentText

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

      Original property name from the Odata EDM: DocumentText

      Parameters:
      documentText - Text ID
    • setTechnicalObjectType

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

      Original property name from the Odata EDM: TechnicalObjectType

      Parameters:
      technicalObjectType - Texts: application object
    • 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
    • setArchObjectNumber

      public void setArchObjectNumber(@Nullable String archObjectNumber)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: ArchObjectNumber

      Parameters:
      archObjectNumber - Name
    • setNoteDescription

      public void setNoteDescription(@Nullable String noteDescription)
      Constraints: none

      Original property name from the Odata EDM: NoteDescription

      Parameters:
      noteDescription - Long Text
    • setFixedIndicator

      public void setFixedIndicator(@Nullable String fixedIndicator)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: FixedIndicator

      Parameters:
      fixedIndicator - "Fixed" Indicator for Texts
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PurchaseReqnItemTextField<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> PurchaseReqnItemTextField<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<PurchaseReqnItemText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static PurchaseReqnItemText.PurchaseReqnItemTextBuilder builder()
    • getPurchaseRequisition

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

      Original property name from the Odata EDM: PurchaseRequisition

      Returns:
      Purchase Requisition Number
    • getPurchaseRequisitionItem

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

      Original property name from the Odata EDM: PurchaseRequisitionItem

      Returns:
      Item number of purchase requisition
    • getDocumentText

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

      Original property name from the Odata EDM: DocumentText

      Returns:
      Text ID
    • getTechnicalObjectType

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

      Original property name from the Odata EDM: TechnicalObjectType

      Returns:
      Texts: application object
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getArchObjectNumber

      @Nullable public String getArchObjectNumber()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: ArchObjectNumber

      Returns:
      Name
    • getNoteDescription

      @Nullable public String getNoteDescription()
      Constraints: none

      Original property name from the Odata EDM: NoteDescription

      Returns:
      Long Text
    • getFixedIndicator

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

      Original property name from the Odata EDM: FixedIndicator

      Returns:
      "Fixed" Indicator for Texts
    • toString

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

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

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

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