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

public class AssetTransaction extends VdmEntity<AssetTransaction>
Ast Transaction Type (Master Data)

Original entity name from the Odata EDM: AssetTransactionType

  • Field Details

    • ALL_FIELDS

      public static final AssetTransactionSelectable ALL_FIELDS
      Selector for all available fields of AssetTransaction.
    • ASSET_TRANSACTION_TYPE_ID

      public static final AssetTransactionField<String> ASSET_TRANSACTION_TYPE_ID
      Use with available fluent helpers to apply the AssetTransactionType_ID field to query operations.
    • ASSET_TRANSACTION_TYPE_TEXT

      public static final AssetTransactionField<String> ASSET_TRANSACTION_TYPE_TEXT
      Use with available fluent helpers to apply the AssetTransactionTypeText field to query operations.
  • Constructor Details

    • AssetTransaction

      public AssetTransaction()
    • AssetTransaction

      public AssetTransaction(@Nullable String assetTransactionType_ID, @Nullable String assetTransactionTypeText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: AssetTransactionType_ID

      Parameters:
      assetTransactionType_ID - Ast Transaction Type
    • setAssetTransactionTypeText

      public void setAssetTransactionTypeText(@Nullable String assetTransactionTypeText)
      Constraints: none

      Original property name from the Odata EDM: AssetTransactionTypeText

      Parameters:
      assetTransactionTypeText - Ast Transaction Type (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> AssetTransactionField<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> AssetTransactionField<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<AssetTransaction>
    • setServicePathForFetch

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

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

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

      @Nonnull public static AssetTransaction.AssetTransactionBuilder builder()
    • getAssetTransactionType_ID

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

      Original property name from the Odata EDM: AssetTransactionType_ID

      Returns:
      Ast Transaction Type
    • getAssetTransactionTypeText

      @Nullable public String getAssetTransactionTypeText()
      Constraints: none

      Original property name from the Odata EDM: AssetTransactionTypeText

      Returns:
      Ast Transaction Type (Description)
    • toString

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

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

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

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