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

public class BusinessArea extends VdmEntity<BusinessArea>
Business Area (Master Data)

Original entity name from the Odata EDM: BusinessArea

  • Field Details

    • ALL_FIELDS

      public static final BusinessAreaSelectable ALL_FIELDS
      Selector for all available fields of BusinessArea.
    • BUSINESS_AREA_ID

      public static final BusinessAreaField<String> BUSINESS_AREA_ID
      Use with available fluent helpers to apply the BusinessArea_ID field to query operations.
    • BUSINESS_AREA_TEXT

      public static final BusinessAreaField<String> BUSINESS_AREA_TEXT
      Use with available fluent helpers to apply the BusinessAreaText field to query operations.
  • Constructor Details

    • BusinessArea

      public BusinessArea()
    • BusinessArea

      public BusinessArea(@Nullable String businessArea_ID, @Nullable String businessAreaText)
  • Method Details

    • getType

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

      public void setBusinessArea_ID(@Nullable String businessArea_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessArea_ID

      Parameters:
      businessArea_ID - Business Area
    • setBusinessAreaText

      public void setBusinessAreaText(@Nullable String businessAreaText)
      Constraints: none

      Original property name from the Odata EDM: BusinessAreaText

      Parameters:
      businessAreaText - Business Area (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BusinessAreaField<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> BusinessAreaField<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<BusinessArea>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BusinessArea.BusinessAreaBuilder builder()
    • getBusinessArea_ID

      @Nullable public String getBusinessArea_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusinessArea_ID

      Returns:
      Business Area
    • getBusinessAreaText

      @Nullable public String getBusinessAreaText()
      Constraints: none

      Original property name from the Odata EDM: BusinessAreaText

      Returns:
      Business Area (Description)
    • toString

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

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

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

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