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

public class Fund extends VdmEntity<Fund>
Fund

Original entity name from the Odata EDM: Fund

  • Field Details

    • ALL_FIELDS

      public static final FundSelectable ALL_FIELDS
      Selector for all available fields of Fund.
    • FUND

      public static final FundField<String> FUND
      Use with available fluent helpers to apply the Fund field to query operations.
    • FUND_TEXT

      public static final FundField<String> FUND_TEXT
      Use with available fluent helpers to apply the FundText field to query operations.
  • Constructor Details

    • Fund

      public Fund()
    • Fund

      public Fund(@Nullable String fund, @Nullable String fundText)
  • Method Details

    • getType

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

      public void setFund(@Nullable String fund)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: Fund

      Parameters:
      fund - Fund
    • setFundText

      public void setFundText(@Nullable String fundText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: FundText

      Parameters:
      fundText - Fund (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> FundField<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> FundField<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<Fund>
    • setServicePathForFetch

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

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

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

      @Nonnull public static Fund.FundBuilder builder()
    • getFund

      @Nullable public String getFund()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: Fund

      Returns:
      Fund
    • getFundText

      @Nullable public String getFundText()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: FundText

      Returns:
      Fund (Description)
    • toString

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

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

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

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