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

public class WorkCenterCostCenter extends VdmEntity<WorkCenterCostCenter>
Cost Center Allocation

Original entity name from the Odata EDM: A_WorkCenterCostCenterType

  • Field Details

    • ALL_FIELDS

      public static final WorkCenterCostCenterSelectable ALL_FIELDS
      Selector for all available fields of WorkCenterCostCenter.
    • WORK_CENTER_INTERNAL_ID

      public static final WorkCenterCostCenterField<String> WORK_CENTER_INTERNAL_ID
      Use with available fluent helpers to apply the WorkCenterInternalID field to query operations.
    • WORK_CENTER_TYPE_CODE

      public static final WorkCenterCostCenterField<String> WORK_CENTER_TYPE_CODE
      Use with available fluent helpers to apply the WorkCenterTypeCode field to query operations.
    • COST_CENTER_ALLOCATION

      public static final WorkCenterCostCenterField<String> COST_CENTER_ALLOCATION
      Use with available fluent helpers to apply the CostCenterAllocation field to query operations.
    • VALIDITY_END_DATE

      public static final WorkCenterCostCenterField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • VALIDITY_START_DATE

      public static final WorkCenterCostCenterField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • WORK_CENTER

      public static final WorkCenterCostCenterField<String> WORK_CENTER
      Use with available fluent helpers to apply the WorkCenter field to query operations.
    • PLANT

      public static final WorkCenterCostCenterField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • WORK_CENTER_CATEGORY_CODE

      public static final WorkCenterCostCenterField<String> WORK_CENTER_CATEGORY_CODE
      Use with available fluent helpers to apply the WorkCenterCategoryCode field to query operations.
    • CONTROLLING_AREA

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

      public static final WorkCenterCostCenterField<String> COST_CENTER
      Use with available fluent helpers to apply the CostCenter field to query operations.
    • COST_CTR_ACTIVITY_TYPE

      public static final WorkCenterCostCenterField<String> COST_CTR_ACTIVITY_TYPE
      Use with available fluent helpers to apply the CostCtrActivityType field to query operations.
    • COST_CTR_ACTIVITY_TYPE_QTY_UNIT

      public static final WorkCenterCostCenterField<String> COST_CTR_ACTIVITY_TYPE_QTY_UNIT
      Use with available fluent helpers to apply the CostCtrActivityTypeQtyUnit field to query operations.
    • BUSINESS_PROCESS

      public static final WorkCenterCostCenterField<String> BUSINESS_PROCESS
      Use with available fluent helpers to apply the BusinessProcess field to query operations.
    • ACTIVITY_DESC_ORIGIN_TYPE

      public static final WorkCenterCostCenterField<String> ACTIVITY_DESC_ORIGIN_TYPE
      Use with available fluent helpers to apply the ActivityDescOriginType field to query operations.
    • COST_CENTER_ACTIVITY_ALTV_DESC_ID

      public static final WorkCenterCostCenterField<String> COST_CENTER_ACTIVITY_ALTV_DESC_ID
      Use with available fluent helpers to apply the CostCenterActivityAltvDescID field to query operations.
    • COST_CENTER_ACTIVITY_TYPE_FORMULA

      public static final WorkCenterCostCenterField<String> COST_CENTER_ACTIVITY_TYPE_FORMULA
      Use with available fluent helpers to apply the CostCenterActivityTypeFormula field to query operations.
    • COST_CTR_ACTY_TYPE_IS_REFERENCED

      public static final WorkCenterCostCenterField<Boolean> COST_CTR_ACTY_TYPE_IS_REFERENCED
      Use with available fluent helpers to apply the CostCtrActyTypeIsReferenced field to query operations.
    • COST_CTR_ACTY_TYPE_INCNTV_WAGE_CODE

      public static final WorkCenterCostCenterField<String> COST_CTR_ACTY_TYPE_INCNTV_WAGE_CODE
      Use with available fluent helpers to apply the CostCtrActyTypeIncntvWageCode field to query operations.
    • COST_CTR_ACTY_TYPE_RECD_TYPE_GRP_CODE

      public static final WorkCenterCostCenterField<String> COST_CTR_ACTY_TYPE_RECD_TYPE_GRP_CODE
      Use with available fluent helpers to apply the CostCtrActyTypeRecdTypeGrpCode field to query operations.
    • WORK_CENTER_LAST_CHANGE_DATE_TIME

      public static final WorkCenterCostCenterField<ZonedDateTime> WORK_CENTER_LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the WorkCenterLastChangeDateTime field to query operations.
  • Constructor Details

    • WorkCenterCostCenter

      public WorkCenterCostCenter()
    • WorkCenterCostCenter

      public WorkCenterCostCenter(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String costCenterAllocation, @Nullable LocalDateTime validityEndDate, @Nullable LocalDateTime validityStartDate, @Nullable String workCenter, @Nullable String plant, @Nullable String workCenterCategoryCode, @Nullable String controllingArea, @Nullable String costCenter, @Nullable String costCtrActivityType, @Nullable String costCtrActivityTypeQtyUnit, @Nullable String businessProcess, @Nullable String activityDescOriginType, @Nullable String costCenterActivityAltvDescID, @Nullable String costCenterActivityTypeFormula, @Nullable Boolean costCtrActyTypeIsReferenced, @Nullable String costCtrActyTypeIncntvWageCode, @Nullable String costCtrActyTypeRecdTypeGrpCode, @Nullable ZonedDateTime workCenterLastChangeDateTime)
  • Method Details

    • getType

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

      public void setWorkCenterInternalID(@Nullable String workCenterInternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WorkCenterInternalID

      Parameters:
      workCenterInternalID - Object ID of the resource
    • setWorkCenterTypeCode

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

      Original property name from the Odata EDM: WorkCenterTypeCode

      Parameters:
      workCenterTypeCode - Object types of the CIM resource
    • setCostCenterAllocation

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

      Original property name from the Odata EDM: CostCenterAllocation

      Parameters:
      costCenterAllocation - Cost Center Allocation
    • setValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - End Date
    • setValidityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Start Date
    • setWorkCenter

      public void setWorkCenter(@Nullable String workCenter)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WorkCenter

      Parameters:
      workCenter - Work Center
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setWorkCenterCategoryCode

      public void setWorkCenterCategoryCode(@Nullable String workCenterCategoryCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: WorkCenterCategoryCode

      Parameters:
      workCenterCategoryCode - Work Center Category
    • setControllingArea

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

      Original property name from the Odata EDM: ControllingArea

      Parameters:
      controllingArea - Controlling Area
    • setCostCenter

      public void setCostCenter(@Nullable String costCenter)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Parameters:
      costCenter - Cost Center
    • setCostCtrActivityType

      public void setCostCtrActivityType(@Nullable String costCtrActivityType)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CostCtrActivityType

      Parameters:
      costCtrActivityType - Activity Type
    • setCostCtrActivityTypeQtyUnit

      public void setCostCtrActivityTypeQtyUnit(@Nullable String costCtrActivityTypeQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit

      Parameters:
      costCtrActivityTypeQtyUnit - Activity Unit
    • setBusinessProcess

      public void setBusinessProcess(@Nullable String businessProcess)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: BusinessProcess

      Parameters:
      businessProcess - Business Process
    • setActivityDescOriginType

      public void setActivityDescOriginType(@Nullable String activityDescOriginType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ActivityDescOriginType

      Parameters:
      activityDescOriginType - Activity Description Origin Type
    • setCostCenterActivityAltvDescID

      public void setCostCenterActivityAltvDescID(@Nullable String costCenterActivityAltvDescID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CostCenterActivityAltvDescID

      Parameters:
      costCenterActivityAltvDescID - ID for Alternative Activity Description
    • setCostCenterActivityTypeFormula

      public void setCostCenterActivityTypeFormula(@Nullable String costCenterActivityTypeFormula)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CostCenterActivityTypeFormula

      Parameters:
      costCenterActivityTypeFormula - Formula key for costing
    • setCostCtrActyTypeIsReferenced

      public void setCostCtrActyTypeIsReferenced(@Nullable Boolean costCtrActyTypeIsReferenced)
      Constraints: none

      Original property name from the Odata EDM: CostCtrActyTypeIsReferenced

      Parameters:
      costCtrActyTypeIsReferenced - Field is referenced
    • setCostCtrActyTypeIncntvWageCode

      public void setCostCtrActyTypeIncntvWageCode(@Nullable String costCtrActyTypeIncntvWageCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CostCtrActyTypeIncntvWageCode

      Parameters:
      costCtrActyTypeIncntvWageCode - Transfer activity types to incentive wages
    • setCostCtrActyTypeRecdTypeGrpCode

      public void setCostCtrActyTypeRecdTypeGrpCode(@Nullable String costCtrActyTypeRecdTypeGrpCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CostCtrActyTypeRecdTypeGrpCode

      Parameters:
      costCtrActyTypeRecdTypeGrpCode - Record type group
    • setWorkCenterLastChangeDateTime

      public void setWorkCenterLastChangeDateTime(@Nullable ZonedDateTime workCenterLastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: WorkCenterLastChangeDateTime

      Parameters:
      workCenterLastChangeDateTime - Date and Time of Last Change
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> WorkCenterCostCenterField<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> WorkCenterCostCenterField<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<WorkCenterCostCenter>
    • setServicePathForFetch

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

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

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

      @Nonnull public static WorkCenterCostCenter.WorkCenterCostCenterBuilder builder()
    • getWorkCenterInternalID

      @Nullable public String getWorkCenterInternalID()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WorkCenterInternalID

      Returns:
      Object ID of the resource
    • getWorkCenterTypeCode

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

      Original property name from the Odata EDM: WorkCenterTypeCode

      Returns:
      Object types of the CIM resource
    • getCostCenterAllocation

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

      Original property name from the Odata EDM: CostCenterAllocation

      Returns:
      Cost Center Allocation
    • getValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      End Date
    • getValidityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Start Date
    • getWorkCenter

      @Nullable public String getWorkCenter()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WorkCenter

      Returns:
      Work Center
    • getPlant

      @Nullable public String getPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getWorkCenterCategoryCode

      @Nullable public String getWorkCenterCategoryCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: WorkCenterCategoryCode

      Returns:
      Work Center Category
    • getControllingArea

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

      Original property name from the Odata EDM: ControllingArea

      Returns:
      Controlling Area
    • getCostCenter

      @Nullable public String getCostCenter()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Returns:
      Cost Center
    • getCostCtrActivityType

      @Nullable public String getCostCtrActivityType()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CostCtrActivityType

      Returns:
      Activity Type
    • getCostCtrActivityTypeQtyUnit

      @Nullable public String getCostCtrActivityTypeQtyUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit

      Returns:
      Activity Unit
    • getBusinessProcess

      @Nullable public String getBusinessProcess()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: BusinessProcess

      Returns:
      Business Process
    • getActivityDescOriginType

      @Nullable public String getActivityDescOriginType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ActivityDescOriginType

      Returns:
      Activity Description Origin Type
    • getCostCenterActivityAltvDescID

      @Nullable public String getCostCenterActivityAltvDescID()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CostCenterActivityAltvDescID

      Returns:
      ID for Alternative Activity Description
    • getCostCenterActivityTypeFormula

      @Nullable public String getCostCenterActivityTypeFormula()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CostCenterActivityTypeFormula

      Returns:
      Formula key for costing
    • getCostCtrActyTypeIsReferenced

      @Nullable public Boolean getCostCtrActyTypeIsReferenced()
      Constraints: none

      Original property name from the Odata EDM: CostCtrActyTypeIsReferenced

      Returns:
      Field is referenced
    • getCostCtrActyTypeIncntvWageCode

      @Nullable public String getCostCtrActyTypeIncntvWageCode()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CostCtrActyTypeIncntvWageCode

      Returns:
      Transfer activity types to incentive wages
    • getCostCtrActyTypeRecdTypeGrpCode

      @Nullable public String getCostCtrActyTypeRecdTypeGrpCode()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CostCtrActyTypeRecdTypeGrpCode

      Returns:
      Record type group
    • getWorkCenterLastChangeDateTime

      @Nullable public ZonedDateTime getWorkCenterLastChangeDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: WorkCenterLastChangeDateTime

      Returns:
      Date and Time of Last Change
    • toString

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

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

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

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