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

public class EliminationProfitCenter extends VdmEntity<EliminationProfitCenter>
Elimination Profit Center (Master Data)

Original entity name from the Odata EDM: EliminationProfitCenter

  • Field Details

    • ALL_FIELDS

      public static final EliminationProfitCenterSelectable ALL_FIELDS
      Selector for all available fields of EliminationProfitCenter.
    • ELIMINATION_PROFIT_CENTER_ID

      public static final EliminationProfitCenterField<String> ELIMINATION_PROFIT_CENTER_ID
      Use with available fluent helpers to apply the EliminationProfitCenter_ID field to query operations.
    • ELIMINATION_PROFIT_CENTER_TEXT

      public static final EliminationProfitCenterField<String> ELIMINATION_PROFIT_CENTER_TEXT
      Use with available fluent helpers to apply the EliminationProfitCenterText field to query operations.
    • CONTROLLING_AREA

      public static final EliminationProfitCenterField<String> CONTROLLING_AREA
      Use with available fluent helpers to apply the ControllingArea field to query operations.
    • CONTROLLING_AREA_NAME

      public static final EliminationProfitCenterField<String> CONTROLLING_AREA_NAME
      Use with available fluent helpers to apply the ControllingAreaName field to query operations.
  • Constructor Details

    • EliminationProfitCenter

      public EliminationProfitCenter()
    • EliminationProfitCenter

      public EliminationProfitCenter(@Nullable String eliminationProfitCenter_ID, @Nullable String eliminationProfitCenterText, @Nullable String controllingArea, @Nullable String controllingAreaName)
  • Method Details

    • getType

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

      public void setEliminationProfitCenter_ID(@Nullable String eliminationProfitCenter_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EliminationProfitCenter_ID

      Parameters:
      eliminationProfitCenter_ID - Elimination Profit Center
    • setEliminationProfitCenterText

      public void setEliminationProfitCenterText(@Nullable String eliminationProfitCenterText)
      Constraints: none

      Original property name from the Odata EDM: EliminationProfitCenterText

      Parameters:
      eliminationProfitCenterText - Elimination Profit Center (Description)
    • setControllingArea

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

      Original property name from the Odata EDM: ControllingArea

      Parameters:
      controllingArea - Elimination Profit Center (Controlling Area)
    • setControllingAreaName

      public void setControllingAreaName(@Nullable String controllingAreaName)
      Constraints: none

      Original property name from the Odata EDM: ControllingAreaName

      Parameters:
      controllingAreaName - Controlling Area (Description) (Parent Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> EliminationProfitCenterField<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> EliminationProfitCenterField<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<EliminationProfitCenter>
    • setServicePathForFetch

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

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

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

    • getEliminationProfitCenter_ID

      @Nullable public String getEliminationProfitCenter_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EliminationProfitCenter_ID

      Returns:
      Elimination Profit Center
    • getEliminationProfitCenterText

      @Nullable public String getEliminationProfitCenterText()
      Constraints: none

      Original property name from the Odata EDM: EliminationProfitCenterText

      Returns:
      Elimination Profit Center (Description)
    • getControllingArea

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

      Original property name from the Odata EDM: ControllingArea

      Returns:
      Elimination Profit Center (Controlling Area)
    • getControllingAreaName

      @Nullable public String getControllingAreaName()
      Constraints: none

      Original property name from the Odata EDM: ControllingAreaName

      Returns:
      Controlling Area (Description) (Parent Description)
    • toString

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

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

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

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