public class WorkCenterCapacityShift extends VdmEntity<WorkCenterCapacityShift>
Original entity name from the Odata EDM: A_WorkCenterCapacityShiftType
Modifier and Type | Class and Description |
---|---|
static class |
WorkCenterCapacityShift.WorkCenterCapacityShiftBuilder |
Modifier and Type | Field and Description |
---|---|
static WorkCenterCapacityShiftSelectable |
ALL_FIELDS
Selector for all available fields of WorkCenterCapacityShift.
|
static WorkCenterCapacityShiftField<String> |
AVAILABLE_CAPACITY_SHIFT
Use with available fluent helpers to apply the AvailableCapacityShift field to query operations.
|
static WorkCenterCapacityShiftField<String> |
CAPACITY_ACTIVE_VERSION
Use with available fluent helpers to apply the CapacityActiveVersion field to query operations.
|
static WorkCenterCapacityShiftField<Integer> |
CAPACITY_BREAK_DURATION
Use with available fluent helpers to apply the CapacityBreakDuration field to query operations.
|
static WorkCenterCapacityShiftField<String> |
CAPACITY_CATEGORY_ALLOCATION
Use with available fluent helpers to apply the CapacityCategoryAllocation field to query operations.
|
static WorkCenterCapacityShiftField<String> |
CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the CapacityInternalID field to query operations.
|
static WorkCenterCapacityShiftField<Short> |
CAPACITY_NUMBER_OF_CAPACITIES
Use with available fluent helpers to apply the CapacityNumberOfCapacities field to query operations.
|
static WorkCenterCapacityShiftField<String> |
CAPACITY_PLAN_UTILIZATION_PERCENT
Use with available fluent helpers to apply the CapacityPlanUtilizationPercent field to query operations.
|
static WorkCenterCapacityShiftField<LocalDateTime> |
INTERVAL_END_DATE
Use with available fluent helpers to apply the IntervalEndDate field to query operations.
|
static WorkCenterCapacityShiftField<LocalDateTime> |
INTERVAL_START_DATE
Use with available fluent helpers to apply the IntervalStartDate field to query operations.
|
static WorkCenterCapacityShiftField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static WorkCenterCapacityShiftField<LocalDateTime> |
SHIFT_DEF_VALIDITY_END
Use with available fluent helpers to apply the ShiftDefValidityEnd field to query operations.
|
static WorkCenterCapacityShiftField<LocalDateTime> |
SHIFT_DEF_VALIDITY_START
Use with available fluent helpers to apply the ShiftDefValidityStart field to query operations.
|
static WorkCenterCapacityShiftField<LocalTime> |
SHIFT_END_TIME
Use with available fluent helpers to apply the ShiftEndTime field to query operations.
|
static WorkCenterCapacityShiftField<String> |
SHIFT_NAME
Use with available fluent helpers to apply the ShiftName field to query operations.
|
static WorkCenterCapacityShiftField<LocalTime> |
SHIFT_START_TIME
Use with available fluent helpers to apply the ShiftStartTime field to query operations.
|
static WorkCenterCapacityShiftField<BigDecimal> |
TOT_OPERATING_DURATION_IN_HOURS
Use with available fluent helpers to apply the TotOperatingDurationInHours field to query operations.
|
static WorkCenterCapacityShiftField<String> |
TOT_OPERATION_DURATION_UNIT
Use with available fluent helpers to apply the TotOperationDurationUnit field to query operations.
|
static WorkCenterCapacityShiftField<String> |
WEEK_DAY
Use with available fluent helpers to apply the WeekDay field to query operations.
|
static WorkCenterCapacityShiftField<String> |
WORK_CENTER
Use with available fluent helpers to apply the WorkCenter field to query operations.
|
static WorkCenterCapacityShiftField<String> |
WORK_CENTER_INTERNAL_ID
Use with available fluent helpers to apply the WorkCenterInternalID field to query operations.
|
static WorkCenterCapacityShiftField<String> |
WORK_CENTER_TYPE_CODE
Use with available fluent helpers to apply the WorkCenterTypeCode field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
WorkCenterCapacityShift() |
WorkCenterCapacityShift(String workCenterInternalID,
String workCenterTypeCode,
String capacityCategoryAllocation,
String capacityInternalID,
String capacityActiveVersion,
LocalDateTime intervalEndDate,
String weekDay,
String availableCapacityShift,
String workCenter,
String plant,
LocalDateTime intervalStartDate,
String shiftName,
LocalDateTime shiftDefValidityStart,
LocalDateTime shiftDefValidityEnd,
LocalTime shiftStartTime,
LocalTime shiftEndTime,
Integer capacityBreakDuration,
String capacityPlanUtilizationPercent,
Short capacityNumberOfCapacities,
BigDecimal totOperatingDurationInHours,
String totOperationDurationUnit) |
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 WorkCenterCapacityShift.WorkCenterCapacityShiftBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> WorkCenterCapacityShiftField<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 |
getAvailableCapacityShift()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
String |
getCapacityActiveVersion()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
Integer |
getCapacityBreakDuration()
Constraints: none
|
String |
getCapacityCategoryAllocation()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCapacityInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
Short |
getCapacityNumberOfCapacities()
Constraints: none
|
String |
getCapacityPlanUtilizationPercent()
Constraints: Not nullable, Maximum length: 3
|
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.
|
LocalDateTime |
getIntervalEndDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getIntervalStartDate()
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
getKey() |
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getShiftDefValidityEnd()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getShiftDefValidityStart()
Constraints: Not nullable, Precision: 0
|
LocalTime |
getShiftEndTime()
Constraints: Not nullable, Precision: 0
|
String |
getShiftName()
Constraints: Not nullable, Maximum length: 4
|
LocalTime |
getShiftStartTime()
Constraints: Not nullable, Precision: 0
|
BigDecimal |
getTotOperatingDurationInHours()
Constraints: Not nullable, Precision: 17, Scale: 3
|
String |
getTotOperationDurationUnit()
Constraints: Not nullable, Maximum length: 3
|
Class<WorkCenterCapacityShift> |
getType() |
String |
getWeekDay()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
String |
getWorkCenter()
Constraints: Not nullable, Maximum length: 8
|
String |
getWorkCenterInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getWorkCenterTypeCode()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
int |
hashCode() |
void |
setAvailableCapacityShift(String availableCapacityShift)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setCapacityActiveVersion(String capacityActiveVersion)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setCapacityBreakDuration(Integer capacityBreakDuration)
Constraints: none
|
void |
setCapacityCategoryAllocation(String capacityCategoryAllocation)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCapacityInternalID(String capacityInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setCapacityNumberOfCapacities(Short capacityNumberOfCapacities)
Constraints: none
|
void |
setCapacityPlanUtilizationPercent(String capacityPlanUtilizationPercent)
Constraints: Not nullable, Maximum length: 3
|
void |
setIntervalEndDate(LocalDateTime intervalEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setIntervalStartDate(LocalDateTime intervalStartDate)
Constraints: Not nullable, Precision: 0
|
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 |
setShiftDefValidityEnd(LocalDateTime shiftDefValidityEnd)
Constraints: Not nullable, Precision: 0
|
void |
setShiftDefValidityStart(LocalDateTime shiftDefValidityStart)
Constraints: Not nullable, Precision: 0
|
void |
setShiftEndTime(LocalTime shiftEndTime)
Constraints: Not nullable, Precision: 0
|
void |
setShiftName(String shiftName)
Constraints: Not nullable, Maximum length: 4
|
void |
setShiftStartTime(LocalTime shiftStartTime)
Constraints: Not nullable, Precision: 0
|
void |
setTotOperatingDurationInHours(BigDecimal totOperatingDurationInHours)
Constraints: Not nullable, Precision: 17, Scale: 3
|
void |
setTotOperationDurationUnit(String totOperationDurationUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setWeekDay(String weekDay)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setWorkCenter(String workCenter)
Constraints: Not nullable, Maximum length: 8
|
void |
setWorkCenterInternalID(String workCenterInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
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 WorkCenterCapacityShiftSelectable ALL_FIELDS
public static final WorkCenterCapacityShiftField<String> WORK_CENTER_INTERNAL_ID
public static final WorkCenterCapacityShiftField<String> WORK_CENTER_TYPE_CODE
public static final WorkCenterCapacityShiftField<String> CAPACITY_CATEGORY_ALLOCATION
public static final WorkCenterCapacityShiftField<String> CAPACITY_INTERNAL_ID
public static final WorkCenterCapacityShiftField<String> CAPACITY_ACTIVE_VERSION
public static final WorkCenterCapacityShiftField<LocalDateTime> INTERVAL_END_DATE
public static final WorkCenterCapacityShiftField<String> WEEK_DAY
public static final WorkCenterCapacityShiftField<String> AVAILABLE_CAPACITY_SHIFT
public static final WorkCenterCapacityShiftField<String> WORK_CENTER
public static final WorkCenterCapacityShiftField<String> PLANT
public static final WorkCenterCapacityShiftField<LocalDateTime> INTERVAL_START_DATE
public static final WorkCenterCapacityShiftField<String> SHIFT_NAME
public static final WorkCenterCapacityShiftField<LocalDateTime> SHIFT_DEF_VALIDITY_START
public static final WorkCenterCapacityShiftField<LocalDateTime> SHIFT_DEF_VALIDITY_END
public static final WorkCenterCapacityShiftField<LocalTime> SHIFT_START_TIME
public static final WorkCenterCapacityShiftField<LocalTime> SHIFT_END_TIME
public static final WorkCenterCapacityShiftField<Integer> CAPACITY_BREAK_DURATION
public static final WorkCenterCapacityShiftField<String> CAPACITY_PLAN_UTILIZATION_PERCENT
public static final WorkCenterCapacityShiftField<Short> CAPACITY_NUMBER_OF_CAPACITIES
public static final WorkCenterCapacityShiftField<BigDecimal> TOT_OPERATING_DURATION_IN_HOURS
public static final WorkCenterCapacityShiftField<String> TOT_OPERATION_DURATION_UNIT
public WorkCenterCapacityShift()
public WorkCenterCapacityShift(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String capacityCategoryAllocation, @Nullable String capacityInternalID, @Nullable String capacityActiveVersion, @Nullable LocalDateTime intervalEndDate, @Nullable String weekDay, @Nullable String availableCapacityShift, @Nullable String workCenter, @Nullable String plant, @Nullable LocalDateTime intervalStartDate, @Nullable String shiftName, @Nullable LocalDateTime shiftDefValidityStart, @Nullable LocalDateTime shiftDefValidityEnd, @Nullable LocalTime shiftStartTime, @Nullable LocalTime shiftEndTime, @Nullable Integer capacityBreakDuration, @Nullable String capacityPlanUtilizationPercent, @Nullable Short capacityNumberOfCapacities, @Nullable BigDecimal totOperatingDurationInHours, @Nullable String totOperationDurationUnit)
@Nonnull public Class<WorkCenterCapacityShift> getType()
getType
in class VdmObject<WorkCenterCapacityShift>
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 setCapacityCategoryAllocation(@Nullable String capacityCategoryAllocation)
Original property name from the Odata EDM: CapacityCategoryAllocation
capacityCategoryAllocation
- Capacity allocation numberpublic void setCapacityInternalID(@Nullable String capacityInternalID)
Original property name from the Odata EDM: CapacityInternalID
capacityInternalID
- Capacity IDpublic void setCapacityActiveVersion(@Nullable String capacityActiveVersion)
Original property name from the Odata EDM: CapacityActiveVersion
capacityActiveVersion
- The capacityActiveVersion to set.public void setIntervalEndDate(@Nullable LocalDateTime intervalEndDate)
Original property name from the Odata EDM: IntervalEndDate
intervalEndDate
- The intervalEndDate to set.public void setWeekDay(@Nullable String weekDay)
Original property name from the Odata EDM: WeekDay
weekDay
- The weekDay to set.public void setAvailableCapacityShift(@Nullable String availableCapacityShift)
Original property name from the Odata EDM: AvailableCapacityShift
availableCapacityShift
- The availableCapacityShift to set.public 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 setIntervalStartDate(@Nullable LocalDateTime intervalStartDate)
Original property name from the Odata EDM: IntervalStartDate
intervalStartDate
- The intervalStartDate to set.public void setShiftName(@Nullable String shiftName)
Original property name from the Odata EDM: ShiftName
shiftName
- The shiftName to set.public void setShiftDefValidityStart(@Nullable LocalDateTime shiftDefValidityStart)
Original property name from the Odata EDM: ShiftDefValidityStart
shiftDefValidityStart
- The shiftDefValidityStart to set.public void setShiftDefValidityEnd(@Nullable LocalDateTime shiftDefValidityEnd)
Original property name from the Odata EDM: ShiftDefValidityEnd
shiftDefValidityEnd
- The shiftDefValidityEnd to set.public void setShiftStartTime(@Nullable LocalTime shiftStartTime)
Original property name from the Odata EDM: ShiftStartTime
shiftStartTime
- The shiftStartTime to set.public void setShiftEndTime(@Nullable LocalTime shiftEndTime)
Original property name from the Odata EDM: ShiftEndTime
shiftEndTime
- The shiftEndTime to set.public void setCapacityBreakDuration(@Nullable Integer capacityBreakDuration)
Original property name from the Odata EDM: CapacityBreakDuration
capacityBreakDuration
- The capacityBreakDuration to set.public void setCapacityPlanUtilizationPercent(@Nullable String capacityPlanUtilizationPercent)
Original property name from the Odata EDM: CapacityPlanUtilizationPercent
capacityPlanUtilizationPercent
- The capacityPlanUtilizationPercent to set.public void setCapacityNumberOfCapacities(@Nullable Short capacityNumberOfCapacities)
Original property name from the Odata EDM: CapacityNumberOfCapacities
capacityNumberOfCapacities
- The capacityNumberOfCapacities to set.public void setTotOperatingDurationInHours(@Nullable BigDecimal totOperatingDurationInHours)
Original property name from the Odata EDM: TotOperatingDurationInHours
totOperatingDurationInHours
- Decimal 17_3public void setTotOperationDurationUnit(@Nullable String totOperationDurationUnit)
Original property name from the Odata EDM: TotOperationDurationUnit
totOperationDurationUnit
- Base Unit of Measureprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<WorkCenterCapacityShift>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<WorkCenterCapacityShift>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WorkCenterCapacityShift>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WorkCenterCapacityShift>
@Nonnull public static <T> WorkCenterCapacityShiftField<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> WorkCenterCapacityShiftField<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<WorkCenterCapacityShift>
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<WorkCenterCapacityShift>
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<WorkCenterCapacityShift>
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<WorkCenterCapacityShift>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static WorkCenterCapacityShift.WorkCenterCapacityShiftBuilder 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 getCapacityCategoryAllocation()
Original property name from the Odata EDM: CapacityCategoryAllocation
@Nullable public String getCapacityInternalID()
Original property name from the Odata EDM: CapacityInternalID
@Nullable public String getCapacityActiveVersion()
Original property name from the Odata EDM: CapacityActiveVersion
@Nullable public LocalDateTime getIntervalEndDate()
Original property name from the Odata EDM: IntervalEndDate
@Nullable public String getWeekDay()
Original property name from the Odata EDM: WeekDay
@Nullable public String getAvailableCapacityShift()
Original property name from the Odata EDM: AvailableCapacityShift
@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 LocalDateTime getIntervalStartDate()
Original property name from the Odata EDM: IntervalStartDate
@Nullable public String getShiftName()
Original property name from the Odata EDM: ShiftName
@Nullable public LocalDateTime getShiftDefValidityStart()
Original property name from the Odata EDM: ShiftDefValidityStart
@Nullable public LocalDateTime getShiftDefValidityEnd()
Original property name from the Odata EDM: ShiftDefValidityEnd
@Nullable public LocalTime getShiftStartTime()
Original property name from the Odata EDM: ShiftStartTime
@Nullable public LocalTime getShiftEndTime()
Original property name from the Odata EDM: ShiftEndTime
@Nullable public Integer getCapacityBreakDuration()
Original property name from the Odata EDM: CapacityBreakDuration
@Nullable public String getCapacityPlanUtilizationPercent()
Original property name from the Odata EDM: CapacityPlanUtilizationPercent
@Nullable public Short getCapacityNumberOfCapacities()
Original property name from the Odata EDM: CapacityNumberOfCapacities
@Nullable public BigDecimal getTotOperatingDurationInHours()
Original property name from the Odata EDM: TotOperatingDurationInHours
@Nullable public String getTotOperationDurationUnit()
Original property name from the Odata EDM: TotOperationDurationUnit
@Nonnull public String toString()
toString
in class VdmObject<WorkCenterCapacityShift>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<WorkCenterCapacityShift>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<WorkCenterCapacityShift>
public int hashCode()
hashCode
in class VdmObject<WorkCenterCapacityShift>
Copyright © 2021 SAP SE. All rights reserved.