Class WorkCenterCostCenter
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: WorkCenterCostCenterType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WorkCenterCostCenter instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty<WorkCenterCostCenter>Selector for all available fields of WorkCenterCostCenter.static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.Boolean<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final NavigationProperty.Single<WorkCenterCostCenter,WorkCenterHeader> Use with available request builders to apply the _Header navigation property to query operations.static final SimpleProperty.Date<WorkCenterCostCenter>static final SimpleProperty.Date<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>static final SimpleProperty.DateTime<WorkCenterCostCenter>static final SimpleProperty.String<WorkCenterCostCenter>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionWorkCenterCostCenter(String workCenterInternalID, String workCenterTypeCode, String costCenterAllocation, LocalDate validityEndDate, LocalDate validityStartDate, String workCenter, String plant, String workCenterCategoryCode, String controllingArea, String costCenter, String costCtrActivityType, String costCtrActivityTypeQtyUnit, String businessProcess, String activityDescOriginType, String costCenterActivityAltvDescID, String costCenterActivityTypeFormula, Boolean costCtrActyTypeIsReferenced, String costCtrActyTypeIncntvWageCode, String costCtrActyTypeRecdTypeGrpCode, OffsetDateTime workCenterLastChangeDateTime, WorkCenterHeader to_Header) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 1Constraints: Not nullableConstraints: Not nullable, Maximum length: 1protected Stringprotected Stringio.vavr.control.Option<WorkCenterHeader>Retrieval of associated WorkCenterHeader entity (one to one).protected ODataEntityKeygetKey()getPlant()Constraints: Not nullable, Maximum length: 4getType()(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Nullable, Precision: 7(Key Field) Constraints: Not nullable, Maximum length: 2inthashCode()voidsetActivityDescOriginType(String activityDescOriginType) Constraints: Not nullable, Maximum length: 1voidsetBusinessProcess(String businessProcess) Constraints: Not nullable, Maximum length: 12voidsetControllingArea(String controllingArea) Constraints: Not nullable, Maximum length: 4voidsetCostCenter(String costCenter) Constraints: Not nullable, Maximum length: 10voidsetCostCenterActivityAltvDescID(String costCenterActivityAltvDescID) Constraints: Not nullable, Maximum length: 4voidsetCostCenterActivityTypeFormula(String costCenterActivityTypeFormula) Constraints: Not nullable, Maximum length: 6voidsetCostCenterAllocation(String costCenterAllocation) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCostCtrActivityType(String costCtrActivityType) Constraints: Not nullable, Maximum length: 6voidsetCostCtrActivityTypeQtyUnit(String costCtrActivityTypeQtyUnit) Constraints: Not nullable, Maximum length: 3voidsetCostCtrActyTypeIncntvWageCode(String costCtrActyTypeIncntvWageCode) Constraints: Not nullable, Maximum length: 1voidsetCostCtrActyTypeIsReferenced(Boolean costCtrActyTypeIsReferenced) Constraints: Not nullablevoidsetCostCtrActyTypeRecdTypeGrpCode(String costCtrActyTypeRecdTypeGrpCode) Constraints: Not nullable, Maximum length: 1voidsetHeader(WorkCenterHeader value) Overwrites the associated WorkCenterHeader entity for the loaded navigation property _Header.voidConstraints: Not nullable, Maximum length: 4voidsetValidityEndDate(LocalDate validityEndDate) (Key Field) Constraints: Not nullablevoidsetValidityStartDate(LocalDate validityStartDate) Constraints: Not nullablevoidsetWorkCenter(String workCenter) Constraints: Not nullable, Maximum length: 8voidsetWorkCenterCategoryCode(String workCenterCategoryCode) Constraints: Not nullable, Maximum length: 4voidsetWorkCenterInternalID(String workCenterInternalID) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetWorkCenterLastChangeDateTime(OffsetDateTime workCenterLastChangeDateTime) Constraints: Nullable, Precision: 7voidsetWorkCenterTypeCode(String workCenterTypeCode) (Key Field) Constraints: Not nullable, Maximum length: 2toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of WorkCenterCostCenter. -
WORK_CENTER_INTERNAL_ID
-
WORK_CENTER_TYPE_CODE
-
COST_CENTER_ALLOCATION
-
VALIDITY_END_DATE
-
VALIDITY_START_DATE
-
WORK_CENTER
-
PLANT
-
WORK_CENTER_CATEGORY_CODE
-
CONTROLLING_AREA
-
COST_CENTER
-
COST_CTR_ACTIVITY_TYPE
-
COST_CTR_ACTIVITY_TYPE_QTY_UNIT
-
BUSINESS_PROCESS
-
ACTIVITY_DESC_ORIGIN_TYPE
-
COST_CENTER_ACTIVITY_ALTV_DESC_ID
-
COST_CENTER_ACTIVITY_TYPE_FORMULA
-
COST_CTR_ACTY_TYPE_IS_REFERENCED
-
COST_CTR_ACTY_TYPE_INCNTV_WAGE_CODE
-
COST_CTR_ACTY_TYPE_RECD_TYPE_GRP_CODE
public static final SimpleProperty.String<WorkCenterCostCenter> COST_CTR_ACTY_TYPE_RECD_TYPE_GRP_CODE -
WORK_CENTER_LAST_CHANGE_DATE_TIME
-
TO__HEADER
Use with available request builders to apply the _Header navigation property to query operations.
-
-
Constructor Details
-
WorkCenterCostCenter
public WorkCenterCostCenter() -
WorkCenterCostCenter
public WorkCenterCostCenter(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String costCenterAllocation, @Nullable LocalDate validityEndDate, @Nullable LocalDate 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 OffsetDateTime workCenterLastChangeDateTime, @Nullable WorkCenterHeader to_Header)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WorkCenterCostCenter>
-
setWorkCenterInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: WorkCenterInternalID
- Parameters:
workCenterInternalID- Object ID of the resource
-
setWorkCenterTypeCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WorkCenterTypeCode
- Parameters:
workCenterTypeCode- Object types of the CIM resource
-
setCostCenterAllocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostCenterAllocation
- Parameters:
costCenterAllocation- Cost Center Allocation
-
setValidityEndDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- End Date
-
setValidityStartDate
Constraints: Not nullableOriginal property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Start Date
-
setWorkCenter
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: WorkCenter
- Parameters:
workCenter- Work Center
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setWorkCenterCategoryCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: WorkCenterCategoryCode
- Parameters:
workCenterCategoryCode- Work Center Category
-
setControllingArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Parameters:
controllingArea- Controlling Area
-
setCostCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Parameters:
costCenter- Cost Center
-
setCostCtrActivityType
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: CostCtrActivityType
- Parameters:
costCtrActivityType- Activity Type
-
setCostCtrActivityTypeQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit
- Parameters:
costCtrActivityTypeQtyUnit- Activity Unit
-
setBusinessProcess
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: BusinessProcess
- Parameters:
businessProcess- Business Process
-
setActivityDescOriginType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ActivityDescOriginType
- Parameters:
activityDescOriginType- Activity Description Origin Type
-
setCostCenterActivityAltvDescID
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostCenterActivityAltvDescID
- Parameters:
costCenterActivityAltvDescID- ID for Alternative Activity Description
-
setCostCenterActivityTypeFormula
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: CostCenterActivityTypeFormula
- Parameters:
costCenterActivityTypeFormula- Formula key for costing
-
setCostCtrActyTypeIsReferenced
Constraints: Not nullableOriginal property name from the Odata EDM: CostCtrActyTypeIsReferenced
- Parameters:
costCtrActyTypeIsReferenced- Field is referenced
-
setCostCtrActyTypeIncntvWageCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CostCtrActyTypeIncntvWageCode
- Parameters:
costCtrActyTypeIncntvWageCode- Transfer activity types to incentive wages
-
setCostCtrActyTypeRecdTypeGrpCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CostCtrActyTypeRecdTypeGrpCode
- Parameters:
costCtrActyTypeRecdTypeGrpCode- Record type group
-
setWorkCenterLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: WorkCenterLastChangeDateTime
- Parameters:
workCenterLastChangeDateTime- Date and Time of Last Change
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WorkCenterCostCenter>
-
getKey
- Overrides:
getKeyin classVdmObject<WorkCenterCostCenter>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WorkCenterCostCenter>
-
fromMap
- Overrides:
fromMapin classVdmObject<WorkCenterCostCenter>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WorkCenterCostCenter>
-
getHeaderIfPresent
Retrieval of associated WorkCenterHeader entity (one to one). This corresponds to the OData navigation property _Header.If the navigation property for an entity WorkCenterCostCenter has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _Header is already loaded, the result will contain the
WorkCenterHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setHeader
Overwrites the associated WorkCenterHeader entity for the loaded navigation property _Header.- Parameters:
value- New WorkCenterHeader entity.
-
builder
-
getWorkCenterInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: WorkCenterInternalID
- Returns:
- Object ID of the resource
-
getWorkCenterTypeCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WorkCenterTypeCode
- Returns:
- Object types of the CIM resource
-
getCostCenterAllocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostCenterAllocation
- Returns:
- Cost Center Allocation
-
getValidityEndDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityEndDate
- Returns:
- End Date
-
getValidityStartDate
Constraints: Not nullableOriginal property name from the Odata EDM: ValidityStartDate
- Returns:
- Start Date
-
getWorkCenter
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: WorkCenter
- Returns:
- Work Center
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getWorkCenterCategoryCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: WorkCenterCategoryCode
- Returns:
- Work Center Category
-
getControllingArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Returns:
- Controlling Area
-
getCostCenter
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Returns:
- Cost Center
-
getCostCtrActivityType
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: CostCtrActivityType
- Returns:
- Activity Type
-
getCostCtrActivityTypeQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit
- Returns:
- Activity Unit
-
getBusinessProcess
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: BusinessProcess
- Returns:
- Business Process
-
getActivityDescOriginType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ActivityDescOriginType
- Returns:
- Activity Description Origin Type
-
getCostCenterActivityAltvDescID
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CostCenterActivityAltvDescID
- Returns:
- ID for Alternative Activity Description
-
getCostCenterActivityTypeFormula
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: CostCenterActivityTypeFormula
- Returns:
- Formula key for costing
-
getCostCtrActyTypeIsReferenced
Constraints: Not nullableOriginal property name from the Odata EDM: CostCtrActyTypeIsReferenced
- Returns:
- Field is referenced
-
getCostCtrActyTypeIncntvWageCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CostCtrActyTypeIncntvWageCode
- Returns:
- Transfer activity types to incentive wages
-
getCostCtrActyTypeRecdTypeGrpCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CostCtrActyTypeRecdTypeGrpCode
- Returns:
- Record type group
-
getWorkCenterLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: WorkCenterLastChangeDateTime
- Returns:
- Date and Time of Last Change
-
toString
- Overrides:
toStringin classVdmObject<WorkCenterCostCenter>
-
equals
- Overrides:
equalsin classVdmEntity<WorkCenterCostCenter>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WorkCenterCostCenter>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WorkCenterCostCenter>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WorkCenterCostCenter>
-