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

public class OriginCostCtrActivity extends VdmEntity<OriginCostCtrActivity>
Origin Cost Center Activity Type (Master Data)

Original entity name from the Odata EDM: OriginCostCtrActivityType

  • Field Details

    • ALL_FIELDS

      public static final OriginCostCtrActivitySelectable ALL_FIELDS
      Selector for all available fields of OriginCostCtrActivity.
    • ORIGIN_COST_CTR_ACTIVITY_TYPE_ID

      public static final OriginCostCtrActivityField<String> ORIGIN_COST_CTR_ACTIVITY_TYPE_ID
      Use with available fluent helpers to apply the OriginCostCtrActivityType_ID field to query operations.
    • ORIGIN_COST_CTR_ACTIVITY_TYPE_TEXT

      public static final OriginCostCtrActivityField<String> ORIGIN_COST_CTR_ACTIVITY_TYPE_TEXT
      Use with available fluent helpers to apply the OriginCostCtrActivityTypeText field to query operations.
    • CONTROLLING_AREA

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

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

    • OriginCostCtrActivity

      public OriginCostCtrActivity()
    • OriginCostCtrActivity

      public OriginCostCtrActivity(@Nullable String originCostCtrActivityType_ID, @Nullable String originCostCtrActivityTypeText, @Nullable String controllingArea, @Nullable String controllingAreaName)
  • Method Details

    • getType

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

      public void setOriginCostCtrActivityType_ID(@Nullable String originCostCtrActivityType_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: OriginCostCtrActivityType_ID

      Parameters:
      originCostCtrActivityType_ID - Origin Cost Center Activity Type
    • setOriginCostCtrActivityTypeText

      public void setOriginCostCtrActivityTypeText(@Nullable String originCostCtrActivityTypeText)
      Constraints: none

      Original property name from the Odata EDM: OriginCostCtrActivityTypeText

      Parameters:
      originCostCtrActivityTypeText - Origin Cost Center Activity Type (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 - Origin Cost Center Activity Type (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<OriginCostCtrActivity>
    • getKey

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

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

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

      @Nonnull public static <T> OriginCostCtrActivityField<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> OriginCostCtrActivityField<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<OriginCostCtrActivity>
    • setServicePathForFetch

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

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

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

      @Nonnull public static OriginCostCtrActivity.OriginCostCtrActivityBuilder builder()
    • getOriginCostCtrActivityType_ID

      @Nullable public String getOriginCostCtrActivityType_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: OriginCostCtrActivityType_ID

      Returns:
      Origin Cost Center Activity Type
    • getOriginCostCtrActivityTypeText

      @Nullable public String getOriginCostCtrActivityTypeText()
      Constraints: none

      Original property name from the Odata EDM: OriginCostCtrActivityTypeText

      Returns:
      Origin Cost Center Activity Type (Description)
    • getControllingArea

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

      Original property name from the Odata EDM: ControllingArea

      Returns:
      Origin Cost Center Activity Type (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<OriginCostCtrActivity>
    • equals

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

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

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