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

public class OffsettingAccount extends VdmEntity<OffsettingAccount>
Offsetting Account (Master Data)

Original entity name from the Odata EDM: OffsettingAccount

  • Field Details

    • ALL_FIELDS

      public static final OffsettingAccountSelectable ALL_FIELDS
      Selector for all available fields of OffsettingAccount.
    • OFFSETTING_ACCOUNT_ID

      public static final OffsettingAccountField<String> OFFSETTING_ACCOUNT_ID
      Use with available fluent helpers to apply the OffsettingAccount_ID field to query operations.
    • OFFSETTING_ACCOUNT_TEXT

      public static final OffsettingAccountField<String> OFFSETTING_ACCOUNT_TEXT
      Use with available fluent helpers to apply the OffsettingAccountText field to query operations.
    • OFFSETTING_ACCOUNT_TYPE

      public static final OffsettingAccountField<String> OFFSETTING_ACCOUNT_TYPE
      Use with available fluent helpers to apply the OffsettingAccountType field to query operations.
  • Constructor Details

    • OffsettingAccount

      public OffsettingAccount()
    • OffsettingAccount

      public OffsettingAccount(@Nullable String offsettingAccount_ID, @Nullable String offsettingAccountText, @Nullable String offsettingAccountType)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: OffsettingAccount_ID

      Parameters:
      offsettingAccount_ID - Offsetting Account
    • setOffsettingAccountText

      public void setOffsettingAccountText(@Nullable String offsettingAccountText)
      Constraints: none

      Original property name from the Odata EDM: OffsettingAccountText

      Parameters:
      offsettingAccountText - Offsetting Account (Description)
    • setOffsettingAccountType

      public void setOffsettingAccountType(@Nullable String offsettingAccountType)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OffsettingAccountType

      Parameters:
      offsettingAccountType - Offsetting Account (Offsetting Account Type)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> OffsettingAccountField<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> OffsettingAccountField<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<OffsettingAccount>
    • setServicePathForFetch

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

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

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

      @Nonnull public static OffsettingAccount.OffsettingAccountBuilder builder()
    • getOffsettingAccount_ID

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

      Original property name from the Odata EDM: OffsettingAccount_ID

      Returns:
      Offsetting Account
    • getOffsettingAccountText

      @Nullable public String getOffsettingAccountText()
      Constraints: none

      Original property name from the Odata EDM: OffsettingAccountText

      Returns:
      Offsetting Account (Description)
    • getOffsettingAccountType

      @Nullable public String getOffsettingAccountType()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OffsettingAccountType

      Returns:
      Offsetting Account (Offsetting Account Type)
    • toString

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

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

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

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