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

public class GlobalCurrency extends VdmEntity<GlobalCurrency>
Global Currency (Master Data)

Original entity name from the Odata EDM: GlobalCurrency

  • Field Details

    • ALL_FIELDS

      public static final GlobalCurrencySelectable ALL_FIELDS
      Selector for all available fields of GlobalCurrency.
    • GLOBAL_CURRENCY_ID

      public static final GlobalCurrencyField<String> GLOBAL_CURRENCY_ID
      Use with available fluent helpers to apply the GlobalCurrency_ID field to query operations.
    • GLOBAL_CURRENCY_TEXT

      public static final GlobalCurrencyField<String> GLOBAL_CURRENCY_TEXT
      Use with available fluent helpers to apply the GlobalCurrencyText field to query operations.
  • Constructor Details

    • GlobalCurrency

      public GlobalCurrency()
    • GlobalCurrency

      public GlobalCurrency(@Nullable String globalCurrency_ID, @Nullable String globalCurrencyText)
  • Method Details

    • getType

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

      public void setGlobalCurrency_ID(@Nullable String globalCurrency_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: GlobalCurrency_ID

      Parameters:
      globalCurrency_ID - Global Currency
    • setGlobalCurrencyText

      public void setGlobalCurrencyText(@Nullable String globalCurrencyText)
      Constraints: none

      Original property name from the Odata EDM: GlobalCurrencyText

      Parameters:
      globalCurrencyText - Global Currency (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> GlobalCurrencyField<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> GlobalCurrencyField<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<GlobalCurrency>
    • setServicePathForFetch

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

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

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

      @Nonnull public static GlobalCurrency.GlobalCurrencyBuilder builder()
    • getGlobalCurrency_ID

      @Nullable public String getGlobalCurrency_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: GlobalCurrency_ID

      Returns:
      Global Currency
    • getGlobalCurrencyText

      @Nullable public String getGlobalCurrencyText()
      Constraints: none

      Original property name from the Odata EDM: GlobalCurrencyText

      Returns:
      Global Currency (Description)
    • toString

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

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

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

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