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

public class SupplierPurchasingOrgText extends VdmEntity<SupplierPurchasingOrgText>
Purchasing Organization Text

Original entity name from the Odata EDM: A_SupplierPurchasingOrgTextType

  • Field Details

  • Constructor Details

    • SupplierPurchasingOrgText

      public SupplierPurchasingOrgText()
    • SupplierPurchasingOrgText

      public SupplierPurchasingOrgText(@Nullable String supplier, @Nullable String purchasingOrganization, @Nullable String language, @Nullable String longTextID, @Nullable String longText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Account Number of Supplier
    • setPurchasingOrganization

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

      Original property name from the Odata EDM: PurchasingOrganization

      Parameters:
      purchasingOrganization - Purchasing Organization
    • 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
    • setLongTextID

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

      Original property name from the Odata EDM: LongTextID

      Parameters:
      longTextID - Text ID
    • setLongText

      public void setLongText(@Nullable String longText)
      Constraints: none

      Original property name from the Odata EDM: LongText

      Parameters:
      longText - String
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SupplierPurchasingOrgTextField<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> SupplierPurchasingOrgTextField<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<SupplierPurchasingOrgText>
    • setServicePathForFetch

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

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

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

    • getSupplier

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

      Original property name from the Odata EDM: Supplier

      Returns:
      Account Number of Supplier
    • getPurchasingOrganization

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

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      Purchasing Organization
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language key
    • getLongTextID

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

      Original property name from the Odata EDM: LongTextID

      Returns:
      Text ID
    • getLongText

      @Nullable public String getLongText()
      Constraints: none

      Original property name from the Odata EDM: LongText

      Returns:
      String
    • toString

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

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

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

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