public class WorkCenterCostCenter extends VdmEntity<WorkCenterCostCenter>
Original entity name from the Odata EDM: A_WorkCenterCostCenterType
Modifier and Type | Class and Description |
---|---|
static class |
WorkCenterCostCenter.WorkCenterCostCenterBuilder |
Modifier and Type | Field and Description |
---|---|
static WorkCenterCostCenterField<String> |
ACTIVITY_DESC_ORIGIN_TYPE
Use with available fluent helpers to apply the ActivityDescOriginType field to query operations.
|
static WorkCenterCostCenterSelectable |
ALL_FIELDS
Selector for all available fields of WorkCenterCostCenter.
|
static WorkCenterCostCenterField<String> |
BUSINESS_PROCESS
Use with available fluent helpers to apply the BusinessProcess field to query operations.
|
static WorkCenterCostCenterField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static WorkCenterCostCenterField<String> |
COST_CENTER
Use with available fluent helpers to apply the CostCenter field to query operations.
|
static WorkCenterCostCenterField<String> |
COST_CENTER_ACTIVITY_ALTV_DESC_ID
Use with available fluent helpers to apply the CostCenterActivityAltvDescID field to query operations.
|
static WorkCenterCostCenterField<String> |
COST_CENTER_ACTIVITY_TYPE_FORMULA
Use with available fluent helpers to apply the CostCenterActivityTypeFormula field to query operations.
|
static WorkCenterCostCenterField<String> |
COST_CENTER_ALLOCATION
Use with available fluent helpers to apply the CostCenterAllocation field to query operations.
|
static WorkCenterCostCenterField<String> |
COST_CTR_ACTIVITY_TYPE
Use with available fluent helpers to apply the CostCtrActivityType field to query operations.
|
static WorkCenterCostCenterField<String> |
COST_CTR_ACTIVITY_TYPE_QTY_UNIT
Use with available fluent helpers to apply the CostCtrActivityTypeQtyUnit field to query operations.
|
static WorkCenterCostCenterField<String> |
COST_CTR_ACTY_TYPE_INCNTV_WAGE_CODE
Use with available fluent helpers to apply the CostCtrActyTypeIncntvWageCode field to query operations.
|
static WorkCenterCostCenterField<Boolean> |
COST_CTR_ACTY_TYPE_IS_REFERENCED
Use with available fluent helpers to apply the CostCtrActyTypeIsReferenced field to query operations.
|
static WorkCenterCostCenterField<String> |
COST_CTR_ACTY_TYPE_RECD_TYPE_GRP_CODE
Use with available fluent helpers to apply the CostCtrActyTypeRecdTypeGrpCode field to query operations.
|
static WorkCenterCostCenterField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static WorkCenterCostCenterField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static WorkCenterCostCenterField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
static WorkCenterCostCenterField<String> |
WORK_CENTER
Use with available fluent helpers to apply the WorkCenter field to query operations.
|
static WorkCenterCostCenterField<String> |
WORK_CENTER_CATEGORY_CODE
Use with available fluent helpers to apply the WorkCenterCategoryCode field to query operations.
|
static WorkCenterCostCenterField<String> |
WORK_CENTER_INTERNAL_ID
Use with available fluent helpers to apply the WorkCenterInternalID field to query operations.
|
static WorkCenterCostCenterField<ZonedDateTime> |
WORK_CENTER_LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the WorkCenterLastChangeDateTime field to query operations.
|
static WorkCenterCostCenterField<String> |
WORK_CENTER_TYPE_CODE
Use with available fluent helpers to apply the WorkCenterTypeCode field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
WorkCenterCostCenter() |
WorkCenterCostCenter(String workCenterInternalID,
String workCenterTypeCode,
String costCenterAllocation,
LocalDateTime validityEndDate,
LocalDateTime 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,
ZonedDateTime workCenterLastChangeDateTime) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static WorkCenterCostCenter.WorkCenterCostCenterBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> WorkCenterCostCenterField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getActivityDescOriginType()
Constraints: Not nullable, Maximum length: 1
|
String |
getBusinessProcess()
Constraints: Not nullable, Maximum length: 12
|
String |
getControllingArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getCostCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getCostCenterActivityAltvDescID()
Constraints: Not nullable, Maximum length: 4
|
String |
getCostCenterActivityTypeFormula()
Constraints: Not nullable, Maximum length: 6
|
String |
getCostCenterAllocation()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCostCtrActivityType()
Constraints: Not nullable, Maximum length: 6
|
String |
getCostCtrActivityTypeQtyUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getCostCtrActyTypeIncntvWageCode()
Constraints: Not nullable, Maximum length: 1
|
Boolean |
getCostCtrActyTypeIsReferenced()
Constraints: none
|
String |
getCostCtrActyTypeRecdTypeGrpCode()
Constraints: Not nullable, Maximum length: 1
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
Class<WorkCenterCostCenter> |
getType() |
LocalDateTime |
getValidityEndDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getWorkCenter()
Constraints: Not nullable, Maximum length: 8
|
String |
getWorkCenterCategoryCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getWorkCenterInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
ZonedDateTime |
getWorkCenterLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getWorkCenterTypeCode()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
int |
hashCode() |
void |
setActivityDescOriginType(String activityDescOriginType)
Constraints: Not nullable, Maximum length: 1
|
void |
setBusinessProcess(String businessProcess)
Constraints: Not nullable, Maximum length: 12
|
void |
setControllingArea(String controllingArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setCostCenter(String costCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setCostCenterActivityAltvDescID(String costCenterActivityAltvDescID)
Constraints: Not nullable, Maximum length: 4
|
void |
setCostCenterActivityTypeFormula(String costCenterActivityTypeFormula)
Constraints: Not nullable, Maximum length: 6
|
void |
setCostCenterAllocation(String costCenterAllocation)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCostCtrActivityType(String costCtrActivityType)
Constraints: Not nullable, Maximum length: 6
|
void |
setCostCtrActivityTypeQtyUnit(String costCtrActivityTypeQtyUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCostCtrActyTypeIncntvWageCode(String costCtrActyTypeIncntvWageCode)
Constraints: Not nullable, Maximum length: 1
|
void |
setCostCtrActyTypeIsReferenced(Boolean costCtrActyTypeIsReferenced)
Constraints: none
|
void |
setCostCtrActyTypeRecdTypeGrpCode(String costCtrActyTypeRecdTypeGrpCode)
Constraints: Not nullable, Maximum length: 1
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setWorkCenter(String workCenter)
Constraints: Not nullable, Maximum length: 8
|
void |
setWorkCenterCategoryCode(String workCenterCategoryCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setWorkCenterInternalID(String workCenterInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setWorkCenterLastChangeDateTime(ZonedDateTime workCenterLastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setWorkCenterTypeCode(String workCenterTypeCode)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final WorkCenterCostCenterSelectable ALL_FIELDS
public static final WorkCenterCostCenterField<String> WORK_CENTER_INTERNAL_ID
public static final WorkCenterCostCenterField<String> WORK_CENTER_TYPE_CODE
public static final WorkCenterCostCenterField<String> COST_CENTER_ALLOCATION
public static final WorkCenterCostCenterField<LocalDateTime> VALIDITY_END_DATE
public static final WorkCenterCostCenterField<LocalDateTime> VALIDITY_START_DATE
public static final WorkCenterCostCenterField<String> WORK_CENTER
public static final WorkCenterCostCenterField<String> PLANT
public static final WorkCenterCostCenterField<String> WORK_CENTER_CATEGORY_CODE
public static final WorkCenterCostCenterField<String> CONTROLLING_AREA
public static final WorkCenterCostCenterField<String> COST_CENTER
public static final WorkCenterCostCenterField<String> COST_CTR_ACTIVITY_TYPE
public static final WorkCenterCostCenterField<String> COST_CTR_ACTIVITY_TYPE_QTY_UNIT
public static final WorkCenterCostCenterField<String> BUSINESS_PROCESS
public static final WorkCenterCostCenterField<String> ACTIVITY_DESC_ORIGIN_TYPE
public static final WorkCenterCostCenterField<String> COST_CENTER_ACTIVITY_ALTV_DESC_ID
public static final WorkCenterCostCenterField<String> COST_CENTER_ACTIVITY_TYPE_FORMULA
public static final WorkCenterCostCenterField<Boolean> COST_CTR_ACTY_TYPE_IS_REFERENCED
public static final WorkCenterCostCenterField<String> COST_CTR_ACTY_TYPE_INCNTV_WAGE_CODE
public static final WorkCenterCostCenterField<String> COST_CTR_ACTY_TYPE_RECD_TYPE_GRP_CODE
public static final WorkCenterCostCenterField<ZonedDateTime> WORK_CENTER_LAST_CHANGE_DATE_TIME
public 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)
@Nonnull public Class<WorkCenterCostCenter> getType()
getType
in class VdmObject<WorkCenterCostCenter>
public void setWorkCenterInternalID(@Nullable String workCenterInternalID)
Original property name from the Odata EDM: WorkCenterInternalID
workCenterInternalID
- Object ID of the resourcepublic void setWorkCenterTypeCode(@Nullable String workCenterTypeCode)
Original property name from the Odata EDM: WorkCenterTypeCode
workCenterTypeCode
- Object types of the CIM resourcepublic void setCostCenterAllocation(@Nullable String costCenterAllocation)
Original property name from the Odata EDM: CostCenterAllocation
costCenterAllocation
- Cost Center Allocationpublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- End Datepublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Start Datepublic void setWorkCenter(@Nullable String workCenter)
Original property name from the Odata EDM: WorkCenter
workCenter
- Work Centerpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setWorkCenterCategoryCode(@Nullable String workCenterCategoryCode)
Original property name from the Odata EDM: WorkCenterCategoryCode
workCenterCategoryCode
- Work Center Categorypublic void setControllingArea(@Nullable String controllingArea)
Original property name from the Odata EDM: ControllingArea
controllingArea
- Controlling Areapublic void setCostCenter(@Nullable String costCenter)
Original property name from the Odata EDM: CostCenter
costCenter
- Cost Centerpublic void setCostCtrActivityType(@Nullable String costCtrActivityType)
Original property name from the Odata EDM: CostCtrActivityType
costCtrActivityType
- Activity Typepublic void setCostCtrActivityTypeQtyUnit(@Nullable String costCtrActivityTypeQtyUnit)
Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit
costCtrActivityTypeQtyUnit
- Activity Unitpublic void setBusinessProcess(@Nullable String businessProcess)
Original property name from the Odata EDM: BusinessProcess
businessProcess
- Business Processpublic void setActivityDescOriginType(@Nullable String activityDescOriginType)
Original property name from the Odata EDM: ActivityDescOriginType
activityDescOriginType
- Activity Description Origin Typepublic void setCostCenterActivityAltvDescID(@Nullable String costCenterActivityAltvDescID)
Original property name from the Odata EDM: CostCenterActivityAltvDescID
costCenterActivityAltvDescID
- ID for Alternative Activity Descriptionpublic void setCostCenterActivityTypeFormula(@Nullable String costCenterActivityTypeFormula)
Original property name from the Odata EDM: CostCenterActivityTypeFormula
costCenterActivityTypeFormula
- Formula key for costingpublic void setCostCtrActyTypeIsReferenced(@Nullable Boolean costCtrActyTypeIsReferenced)
Original property name from the Odata EDM: CostCtrActyTypeIsReferenced
costCtrActyTypeIsReferenced
- Field is referencedpublic void setCostCtrActyTypeIncntvWageCode(@Nullable String costCtrActyTypeIncntvWageCode)
Original property name from the Odata EDM: CostCtrActyTypeIncntvWageCode
costCtrActyTypeIncntvWageCode
- Transfer activity types to incentive wagespublic void setCostCtrActyTypeRecdTypeGrpCode(@Nullable String costCtrActyTypeRecdTypeGrpCode)
Original property name from the Odata EDM: CostCtrActyTypeRecdTypeGrpCode
costCtrActyTypeRecdTypeGrpCode
- Record type grouppublic void setWorkCenterLastChangeDateTime(@Nullable ZonedDateTime workCenterLastChangeDateTime)
Original property name from the Odata EDM: WorkCenterLastChangeDateTime
workCenterLastChangeDateTime
- Date and Time of Last Changeprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<WorkCenterCostCenter>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<WorkCenterCostCenter>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WorkCenterCostCenter>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WorkCenterCostCenter>
@Nonnull public static <T> WorkCenterCostCenterField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> WorkCenterCostCenterField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<WorkCenterCostCenter>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<WorkCenterCostCenter>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<WorkCenterCostCenter>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<WorkCenterCostCenter>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static WorkCenterCostCenter.WorkCenterCostCenterBuilder builder()
@Nullable public String getWorkCenterInternalID()
Original property name from the Odata EDM: WorkCenterInternalID
@Nullable public String getWorkCenterTypeCode()
Original property name from the Odata EDM: WorkCenterTypeCode
@Nullable public String getCostCenterAllocation()
Original property name from the Odata EDM: CostCenterAllocation
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public String getWorkCenter()
Original property name from the Odata EDM: WorkCenter
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getWorkCenterCategoryCode()
Original property name from the Odata EDM: WorkCenterCategoryCode
@Nullable public String getControllingArea()
Original property name from the Odata EDM: ControllingArea
@Nullable public String getCostCenter()
Original property name from the Odata EDM: CostCenter
@Nullable public String getCostCtrActivityType()
Original property name from the Odata EDM: CostCtrActivityType
@Nullable public String getCostCtrActivityTypeQtyUnit()
Original property name from the Odata EDM: CostCtrActivityTypeQtyUnit
@Nullable public String getBusinessProcess()
Original property name from the Odata EDM: BusinessProcess
@Nullable public String getActivityDescOriginType()
Original property name from the Odata EDM: ActivityDescOriginType
@Nullable public String getCostCenterActivityAltvDescID()
Original property name from the Odata EDM: CostCenterActivityAltvDescID
@Nullable public String getCostCenterActivityTypeFormula()
Original property name from the Odata EDM: CostCenterActivityTypeFormula
@Nullable public Boolean getCostCtrActyTypeIsReferenced()
Original property name from the Odata EDM: CostCtrActyTypeIsReferenced
@Nullable public String getCostCtrActyTypeIncntvWageCode()
Original property name from the Odata EDM: CostCtrActyTypeIncntvWageCode
@Nullable public String getCostCtrActyTypeRecdTypeGrpCode()
Original property name from the Odata EDM: CostCtrActyTypeRecdTypeGrpCode
@Nullable public ZonedDateTime getWorkCenterLastChangeDateTime()
Original property name from the Odata EDM: WorkCenterLastChangeDateTime
@Nonnull public String toString()
toString
in class VdmObject<WorkCenterCostCenter>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<WorkCenterCostCenter>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<WorkCenterCostCenter>
public int hashCode()
hashCode
in class VdmObject<WorkCenterCostCenter>
Copyright © 2020 SAP SE. All rights reserved.