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

public class SpecialGLCode extends VdmEntity<SpecialGLCode>
Special G/L (Master Data)

Original entity name from the Odata EDM: SpecialGLCode

  • Field Details

    • ALL_FIELDS

      public static final SpecialGLCodeSelectable ALL_FIELDS
      Selector for all available fields of SpecialGLCode.
    • SPECIAL_GL_CODE_ID

      public static final SpecialGLCodeField<String> SPECIAL_GL_CODE_ID
      Use with available fluent helpers to apply the SpecialGLCode_ID field to query operations.
    • SPECIAL_GL_CODE_TEXT

      public static final SpecialGLCodeField<String> SPECIAL_GL_CODE_TEXT
      Use with available fluent helpers to apply the SpecialGLCodeText field to query operations.
    • FINANCIAL_ACCOUNT_TYPE

      public static final SpecialGLCodeField<String> FINANCIAL_ACCOUNT_TYPE
      Use with available fluent helpers to apply the FinancialAccountType field to query operations.
    • FINANCIAL_ACCOUNT_TYPE_NAME

      public static final SpecialGLCodeField<String> FINANCIAL_ACCOUNT_TYPE_NAME
      Use with available fluent helpers to apply the FinancialAccountTypeName field to query operations.
  • Constructor Details

    • SpecialGLCode

      public SpecialGLCode()
    • SpecialGLCode

      public SpecialGLCode(@Nullable String specialGLCode_ID, @Nullable String specialGLCodeText, @Nullable String financialAccountType, @Nullable String financialAccountTypeName)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: SpecialGLCode_ID

      Parameters:
      specialGLCode_ID - Special G/L
    • setSpecialGLCodeText

      public void setSpecialGLCodeText(@Nullable String specialGLCodeText)
      Constraints: none

      Original property name from the Odata EDM: SpecialGLCodeText

      Parameters:
      specialGLCodeText - Special G/L (Description)
    • setFinancialAccountType

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

      Original property name from the Odata EDM: FinancialAccountType

      Parameters:
      financialAccountType - Special G/L (Account Type)
    • setFinancialAccountTypeName

      public void setFinancialAccountTypeName(@Nullable String financialAccountTypeName)
      Constraints: none

      Original property name from the Odata EDM: FinancialAccountTypeName

      Parameters:
      financialAccountTypeName - Account Type (Description) (Parent Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SpecialGLCodeField<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> SpecialGLCodeField<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<SpecialGLCode>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SpecialGLCode.SpecialGLCodeBuilder builder()
    • getSpecialGLCode_ID

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

      Original property name from the Odata EDM: SpecialGLCode_ID

      Returns:
      Special G/L
    • getSpecialGLCodeText

      @Nullable public String getSpecialGLCodeText()
      Constraints: none

      Original property name from the Odata EDM: SpecialGLCodeText

      Returns:
      Special G/L (Description)
    • getFinancialAccountType

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

      Original property name from the Odata EDM: FinancialAccountType

      Returns:
      Special G/L (Account Type)
    • getFinancialAccountTypeName

      @Nullable public String getFinancialAccountTypeName()
      Constraints: none

      Original property name from the Odata EDM: FinancialAccountTypeName

      Returns:
      Account Type (Description) (Parent Description)
    • toString

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

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

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

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