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

public class BudgetAccountCoreHierarchyText extends VdmEntity<BudgetAccountCoreHierarchyText>
Budget Account Hierarchy Text

Original entity name from the Odata EDM: A_BudgetAccountCoreHierarchyText_Type

  • Field Details

  • Constructor Details

    • BudgetAccountCoreHierarchyText

      public BudgetAccountCoreHierarchyText()
    • BudgetAccountCoreHierarchyText

      public BudgetAccountCoreHierarchyText(@Nullable String budgetAccountHierarchy, @Nullable LocalDateTime validityEndDate, @Nullable String language, @Nullable LocalDateTime validityStartDate, @Nullable String budgetAccountHierarchyName)
  • Method Details

    • getType

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

      public void setBudgetAccountHierarchy(@Nullable String budgetAccountHierarchy)
      (Key Field) Constraints: Not nullable, Maximum length: 42

      Original property name from the Odata EDM: BudgetAccountHierarchy

      Parameters:
      budgetAccountHierarchy - Budget Account Hierarchy
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Validity End Date
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Validity Start Date
    • setBudgetAccountHierarchyName

      public void setBudgetAccountHierarchyName(@Nullable String budgetAccountHierarchyName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: BudgetAccountHierarchyName

      Parameters:
      budgetAccountHierarchyName - Hierarchy description
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BudgetAccountCoreHierarchyTextField<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> BudgetAccountCoreHierarchyTextField<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<BudgetAccountCoreHierarchyText>
    • setServicePathForFetch

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

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

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

    • getBudgetAccountHierarchy

      @Nullable public String getBudgetAccountHierarchy()
      (Key Field) Constraints: Not nullable, Maximum length: 42

      Original property name from the Odata EDM: BudgetAccountHierarchy

      Returns:
      Budget Account Hierarchy
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Validity End Date
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getValidityStartDate

      @Nullable public LocalDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Validity Start Date
    • getBudgetAccountHierarchyName

      @Nullable public String getBudgetAccountHierarchyName()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: BudgetAccountHierarchyName

      Returns:
      Hierarchy description
    • toString

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

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

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

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