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

public class ControllingArea extends VdmEntity<ControllingArea>
Controlling Area (Master Data)

Original entity name from the Odata EDM: ControllingArea

  • Field Details

    • ALL_FIELDS

      public static final ControllingAreaSelectable ALL_FIELDS
      Selector for all available fields of ControllingArea.
    • CONTROLLING_AREA_ID

      public static final ControllingAreaField<String> CONTROLLING_AREA_ID
      Use with available fluent helpers to apply the ControllingArea_ID field to query operations.
    • CONTROLLING_AREA_TEXT

      public static final ControllingAreaField<String> CONTROLLING_AREA_TEXT
      Use with available fluent helpers to apply the ControllingAreaText field to query operations.
  • Constructor Details

    • ControllingArea

      public ControllingArea()
    • ControllingArea

      public ControllingArea(@Nullable String controllingArea_ID, @Nullable String controllingAreaText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ControllingArea_ID

      Parameters:
      controllingArea_ID - Controlling Area
    • setControllingAreaText

      public void setControllingAreaText(@Nullable String controllingAreaText)
      Constraints: none

      Original property name from the Odata EDM: ControllingAreaText

      Parameters:
      controllingAreaText - Controlling Area (Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ControllingAreaField<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> ControllingAreaField<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<ControllingArea>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ControllingArea.ControllingAreaBuilder builder()
    • getControllingArea_ID

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

      Original property name from the Odata EDM: ControllingArea_ID

      Returns:
      Controlling Area
    • getControllingAreaText

      @Nullable public String getControllingAreaText()
      Constraints: none

      Original property name from the Odata EDM: ControllingAreaText

      Returns:
      Controlling Area (Description)
    • toString

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

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

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

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