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

public class SDDocumentReasonText extends VdmEntity<SDDocumentReasonText>
Order Reason Description

Original entity name from the Odata EDM: A_SDDocumentReasonTextType

  • Field Details

    • ALL_FIELDS

      public static final SDDocumentReasonTextSelectable ALL_FIELDS
      Selector for all available fields of SDDocumentReasonText.
    • SD_DOCUMENT_REASON

      public static final SDDocumentReasonTextField<String> SD_DOCUMENT_REASON
      Use with available fluent helpers to apply the SDDocumentReason field to query operations.
    • LANGUAGE

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

      public static final SDDocumentReasonTextField<String> SD_DOCUMENT_REASON_TEXT
      Use with available fluent helpers to apply the SDDocumentReasonText field to query operations.
  • Constructor Details

    • SDDocumentReasonText

      public SDDocumentReasonText()
    • SDDocumentReasonText

      public SDDocumentReasonText(@Nullable String sDDocumentReason, @Nullable String language, @Nullable String sDDocumentReasonText)
  • Method Details

    • getType

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

      public void setSDDocumentReason(@Nullable String sDDocumentReason)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SDDocumentReason

      Parameters:
      sDDocumentReason - Order Reason (Reason for the Business Transaction)
    • 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
    • setSDDocumentReasonText

      public void setSDDocumentReasonText(@Nullable String sDDocumentReasonText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SDDocumentReasonText

      Parameters:
      sDDocumentReasonText - Description
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SDDocumentReasonTextField<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> SDDocumentReasonTextField<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<SDDocumentReasonText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SDDocumentReasonText.SDDocumentReasonTextBuilder builder()
    • getSDDocumentReason

      @Nullable public String getSDDocumentReason()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SDDocumentReason

      Returns:
      Order Reason (Reason for the Business Transaction)
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getSDDocumentReasonText

      @Nullable public String getSDDocumentReasonText()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SDDocumentReasonText

      Returns:
      Description
    • toString

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

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

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

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