java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<PurchaseReqnItemText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.purchaserequisition.PurchaseReqnItemText
All Implemented Interfaces:
VdmEntitySet

public class PurchaseReqnItemText extends VdmEntity<PurchaseReqnItemText> implements VdmEntitySet
Item Notes

Original entity name from the Odata EDM: PurchaseReqnItemTextType

  • Field Details

  • Constructor Details

    • PurchaseReqnItemText

      public PurchaseReqnItemText()
    • PurchaseReqnItemText

      public PurchaseReqnItemText(@Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable String textObjectCategory, @Nullable String textObjectKey, @Nullable String textObjectType, @Nullable String language, @Nullable String plainLongText, @Nullable String fixedIndicator, @Nullable Collection<SAP__Message> _Messages, @Nullable PurchaseReqnItem to_PurchaseRequisitionItem, @Nullable PurchaseReqn to_PurReqn)
  • 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
    • setTextObjectCategory

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

      Original property name from the Odata EDM: TextObjectCategory

      Parameters:
      textObjectCategory - Texts: application object
    • setTextObjectKey

      public void setTextObjectKey(@Nullable String textObjectKey)
      (Key Field) Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: TextObjectKey

      Parameters:
      textObjectKey - Name
    • 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: Not nullable

      Original property name from the Odata EDM: PlainLongText

      Parameters:
      plainLongText - 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
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey 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>
    • getDefaultServicePath

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

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

      @Nonnull public io.vavr.control.Option<PurchaseReqnItem> getPurchaseRequisitionItemIfPresent()
      Retrieval of associated PurchaseReqnItem entity (one to one). This corresponds to the OData navigation property _PurchaseRequisitionItem.

      If the navigation property for an entity PurchaseReqnItemText has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _PurchaseRequisitionItem is already loaded, the result will contain the PurchaseReqnItem entity. If not, an Option with result state empty is returned.
    • setPurchaseRequisitionItem

      public void setPurchaseRequisitionItem(PurchaseReqnItem value)
      Overwrites the associated PurchaseReqnItem entity for the loaded navigation property _PurchaseRequisitionItem.
      Parameters:
      value - New PurchaseReqnItem entity.
    • getPurReqnIfPresent

      @Nonnull public io.vavr.control.Option<PurchaseReqn> getPurReqnIfPresent()
      Retrieval of associated PurchaseReqn entity (one to one). This corresponds to the OData navigation property _PurReqn.

      If the navigation property for an entity PurchaseReqnItemText has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _PurReqn is already loaded, the result will contain the PurchaseReqn entity. If not, an Option with result state empty is returned.
    • setPurReqn

      public void setPurReqn(PurchaseReqn value)
      Overwrites the associated PurchaseReqn entity for the loaded navigation property _PurReqn.
      Parameters:
      value - New PurchaseReqn entity.
    • 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
    • getTextObjectCategory

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

      Original property name from the Odata EDM: TextObjectCategory

      Returns:
      Texts: application object
    • getTextObjectKey

      @Nullable public String getTextObjectKey()
      (Key Field) Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: TextObjectKey

      Returns:
      Name
    • 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: Not nullable

      Original property name from the Odata EDM: PlainLongText

      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
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • 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>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<PurchaseReqnItemText>