Class WorkCenterCapacityShift
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: WorkCenterCapacityShiftType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WorkCenterCapacityShift instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<WorkCenterCapacityShift>Selector for all available fields of WorkCenterCapacityShift.static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.NumericInteger<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.DateTime<WorkCenterCapacityShift>static final SimpleProperty.NumericInteger<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.Date<WorkCenterCapacityShift>static final SimpleProperty.Date<WorkCenterCapacityShift>static final SimpleProperty.NumericInteger<WorkCenterCapacityShift>static final SimpleProperty.Date<WorkCenterCapacityShift>static final SimpleProperty.Date<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.Time<WorkCenterCapacityShift>static final SimpleProperty.Time<WorkCenterCapacityShift>static final NavigationProperty.Single<WorkCenterCapacityShift,WorkCenterHeader> Use with available request builders to apply the _Header navigation property to query operations.Use with available request builders to apply the _Interval navigation property to query operations.static final SimpleProperty.NumericInteger<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>static final SimpleProperty.String<WorkCenterCapacityShift>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionWorkCenterCapacityShift(String workCenterInternalID, String workCenterTypeCode, String capacityCategoryAllocation, String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate, String weekDay, String availableCapacityShift, LocalDate intervalStartDate, String workDayRule, String shiftDefinition, LocalTime shiftStartTime, LocalTime shiftEndTime, LocalDate shiftDefValidityStartDate, LocalDate shiftDefValidityEndDate, Short capacityNumberOfCapacities, String capacityPlanUtilizationPercent, Integer capacityBreakDuration, Integer operatingDurationInSeconds, Integer totOperatingDurationInSeconds, OffsetDateTime capacityLastChangeDateTime, WorkCenterHeader to_Header, WorkCenterCapacityInterval to_Interval) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Nullable, Precision: 7Constraints: Not nullableConstraints: Not nullable, Maximum length: 3protected Stringprotected Stringio.vavr.control.Option<WorkCenterHeader>Retrieval of associated WorkCenterHeader entity (one to one).(Key Field) Constraints: Not nullableio.vavr.control.Option<WorkCenterCapacityInterval>Retrieval of associated WorkCenterCapacityInterval entity (one to one).Constraints: Nullableprotected ODataEntityKeygetKey()Constraints: Not nullableConstraints: Not nullable, Maximum length: 4Constraints: NullableConstraints: NullableConstraints: Not nullableConstraints: Not nullableConstraints: Not nullablegetType()(Key Field) Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1inthashCode()voidsetAvailableCapacityShift(String availableCapacityShift) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetCapacityActiveVersion(String capacityActiveVersion) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetCapacityBreakDuration(Integer capacityBreakDuration) Constraints: Not nullablevoidsetCapacityCategoryAllocation(String capacityCategoryAllocation) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCapacityInternalID(String capacityInternalID) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetCapacityLastChangeDateTime(OffsetDateTime capacityLastChangeDateTime) Constraints: Nullable, Precision: 7voidsetCapacityNumberOfCapacities(Short capacityNumberOfCapacities) Constraints: Not nullablevoidsetCapacityPlanUtilizationPercent(String capacityPlanUtilizationPercent) Constraints: Not nullable, Maximum length: 3voidsetHeader(WorkCenterHeader value) Overwrites the associated WorkCenterHeader entity for the loaded navigation property _Header.voidOverwrites the associated WorkCenterCapacityInterval entity for the loaded navigation property _Interval.voidsetIntervalEndDate(LocalDate intervalEndDate) (Key Field) Constraints: Not nullablevoidsetIntervalStartDate(LocalDate intervalStartDate) Constraints: NullablevoidsetOperatingDurationInSeconds(Integer operatingDurationInSeconds) Constraints: Not nullablevoidsetShiftDefinition(String shiftDefinition) Constraints: Not nullable, Maximum length: 4voidsetShiftDefValidityEndDate(LocalDate shiftDefValidityEndDate) Constraints: NullablevoidsetShiftDefValidityStartDate(LocalDate shiftDefValidityStartDate) Constraints: NullablevoidsetShiftEndTime(LocalTime shiftEndTime) Constraints: Not nullablevoidsetShiftStartTime(LocalTime shiftStartTime) Constraints: Not nullablevoidsetTotOperatingDurationInSeconds(Integer totOperatingDurationInSeconds) Constraints: Not nullablevoidsetWeekDay(String weekDay) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetWorkCenterInternalID(String workCenterInternalID) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetWorkCenterTypeCode(String workCenterTypeCode) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetWorkDayRule(String workDayRule) Constraints: Not nullable, Maximum length: 1toString()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 WorkCenterCapacityShift. -
WORK_CENTER_INTERNAL_ID
-
WORK_CENTER_TYPE_CODE
-
CAPACITY_CATEGORY_ALLOCATION
-
CAPACITY_INTERNAL_ID
-
CAPACITY_ACTIVE_VERSION
-
INTERVAL_END_DATE
-
WEEK_DAY
-
AVAILABLE_CAPACITY_SHIFT
-
INTERVAL_START_DATE
-
WORK_DAY_RULE
-
SHIFT_DEFINITION
-
SHIFT_START_TIME
-
SHIFT_END_TIME
-
SHIFT_DEF_VALIDITY_START_DATE
-
SHIFT_DEF_VALIDITY_END_DATE
-
CAPACITY_NUMBER_OF_CAPACITIES
public static final SimpleProperty.NumericInteger<WorkCenterCapacityShift> CAPACITY_NUMBER_OF_CAPACITIES -
CAPACITY_PLAN_UTILIZATION_PERCENT
public static final SimpleProperty.String<WorkCenterCapacityShift> CAPACITY_PLAN_UTILIZATION_PERCENT -
CAPACITY_BREAK_DURATION
-
OPERATING_DURATION_IN_SECONDS
public static final SimpleProperty.NumericInteger<WorkCenterCapacityShift> OPERATING_DURATION_IN_SECONDS -
TOT_OPERATING_DURATION_IN_SECONDS
public static final SimpleProperty.NumericInteger<WorkCenterCapacityShift> TOT_OPERATING_DURATION_IN_SECONDS -
CAPACITY_LAST_CHANGE_DATE_TIME
-
TO__HEADER
Use with available request builders to apply the _Header navigation property to query operations. -
TO__INTERVAL
public static final NavigationProperty.Single<WorkCenterCapacityShift,WorkCenterCapacityInterval> TO__INTERVALUse with available request builders to apply the _Interval navigation property to query operations.
-
-
Constructor Details
-
WorkCenterCapacityShift
public WorkCenterCapacityShift() -
WorkCenterCapacityShift
public WorkCenterCapacityShift(@Nullable String workCenterInternalID, @Nullable String workCenterTypeCode, @Nullable String capacityCategoryAllocation, @Nullable String capacityInternalID, @Nullable String capacityActiveVersion, @Nullable LocalDate intervalEndDate, @Nullable String weekDay, @Nullable String availableCapacityShift, @Nullable LocalDate intervalStartDate, @Nullable String workDayRule, @Nullable String shiftDefinition, @Nullable LocalTime shiftStartTime, @Nullable LocalTime shiftEndTime, @Nullable LocalDate shiftDefValidityStartDate, @Nullable LocalDate shiftDefValidityEndDate, @Nullable Short capacityNumberOfCapacities, @Nullable String capacityPlanUtilizationPercent, @Nullable Integer capacityBreakDuration, @Nullable Integer operatingDurationInSeconds, @Nullable Integer totOperatingDurationInSeconds, @Nullable OffsetDateTime capacityLastChangeDateTime, @Nullable WorkCenterHeader to_Header, @Nullable WorkCenterCapacityInterval to_Interval)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WorkCenterCapacityShift>
-
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
-
setCapacityCategoryAllocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CapacityCategoryAllocation
- Parameters:
capacityCategoryAllocation- Capacity Category Allocation
-
setCapacityInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CapacityInternalID
- Parameters:
capacityInternalID- Capacity ID
-
setCapacityActiveVersion
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CapacityActiveVersion
- Parameters:
capacityActiveVersion- The capacityActiveVersion to set.
-
setIntervalEndDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: IntervalEndDate
- Parameters:
intervalEndDate- Valid-to date
-
setWeekDay
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WeekDay
- Parameters:
weekDay- Week Day
-
setAvailableCapacityShift
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: AvailableCapacityShift
- Parameters:
availableCapacityShift- Shift Number of an Available Capacity
-
setIntervalStartDate
Constraints: NullableOriginal property name from the Odata EDM: IntervalStartDate
- Parameters:
intervalStartDate- Valid-From Date
-
setWorkDayRule
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WorkDayRule
- Parameters:
workDayRule- Workday Rule Code
-
setShiftDefinition
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ShiftDefinition
- Parameters:
shiftDefinition- Shift Definition
-
setShiftStartTime
Constraints: Not nullableOriginal property name from the Odata EDM: ShiftStartTime
- Parameters:
shiftStartTime- Start Time
-
setShiftEndTime
Constraints: Not nullableOriginal property name from the Odata EDM: ShiftEndTime
- Parameters:
shiftEndTime- End Time
-
setShiftDefValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ShiftDefValidityStartDate
- Parameters:
shiftDefValidityStartDate- Start Date
-
setShiftDefValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ShiftDefValidityEndDate
- Parameters:
shiftDefValidityEndDate- End Date
-
setCapacityNumberOfCapacities
Constraints: Not nullableOriginal property name from the Odata EDM: CapacityNumberOfCapacities
- Parameters:
capacityNumberOfCapacities- Number of Individual Capacities
-
setCapacityPlanUtilizationPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityPlanUtilizationPercent
- Parameters:
capacityPlanUtilizationPercent- Capacity Utilization Ratio in Percent
-
setCapacityBreakDuration
Constraints: Not nullableOriginal property name from the Odata EDM: CapacityBreakDuration
- Parameters:
capacityBreakDuration- Cumulative Break Duration in Seconds (internal)
-
setOperatingDurationInSeconds
Constraints: Not nullableOriginal property name from the Odata EDM: OperatingDurationInSeconds
- Parameters:
operatingDurationInSeconds- Operating Duration in Seconds
-
setTotOperatingDurationInSeconds
Constraints: Not nullableOriginal property name from the Odata EDM: TotOperatingDurationInSeconds
- Parameters:
totOperatingDurationInSeconds- Total Operating Duration In Seconds
-
setCapacityLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CapacityLastChangeDateTime
- Parameters:
capacityLastChangeDateTime- Capacity Last Change Date Time
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WorkCenterCapacityShift>
-
getKey
- Overrides:
getKeyin classVdmObject<WorkCenterCapacityShift>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WorkCenterCapacityShift>
-
fromMap
- Overrides:
fromMapin classVdmObject<WorkCenterCapacityShift>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WorkCenterCapacityShift>
-
getHeaderIfPresent
Retrieval of associated WorkCenterHeader entity (one to one). This corresponds to the OData navigation property _Header.If the navigation property for an entity WorkCenterCapacityShift 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.
-
getIntervalIfPresent
Retrieval of associated WorkCenterCapacityInterval entity (one to one). This corresponds to the OData navigation property _Interval.If the navigation property for an entity WorkCenterCapacityShift 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 _Interval is already loaded, the result will contain
the WorkCenterCapacityInterval entity. If not, an
Optionwith result stateemptyis returned.
-
setInterval
Overwrites the associated WorkCenterCapacityInterval entity for the loaded navigation property _Interval.- Parameters:
value- New WorkCenterCapacityInterval 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
-
getCapacityCategoryAllocation
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CapacityCategoryAllocation
- Returns:
- Capacity Category Allocation
-
getCapacityInternalID
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CapacityInternalID
- Returns:
- Capacity ID
-
getCapacityActiveVersion
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CapacityActiveVersion
- Returns:
- The capacityActiveVersion contained in this
VdmEntity.
-
getIntervalEndDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: IntervalEndDate
- Returns:
- Valid-to date
-
getWeekDay
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WeekDay
- Returns:
- Week Day
-
getAvailableCapacityShift
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: AvailableCapacityShift
- Returns:
- Shift Number of an Available Capacity
-
getIntervalStartDate
Constraints: NullableOriginal property name from the Odata EDM: IntervalStartDate
- Returns:
- Valid-From Date
-
getWorkDayRule
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WorkDayRule
- Returns:
- Workday Rule Code
-
getShiftDefinition
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ShiftDefinition
- Returns:
- Shift Definition
-
getShiftStartTime
Constraints: Not nullableOriginal property name from the Odata EDM: ShiftStartTime
- Returns:
- Start Time
-
getShiftEndTime
Constraints: Not nullableOriginal property name from the Odata EDM: ShiftEndTime
- Returns:
- End Time
-
getShiftDefValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ShiftDefValidityStartDate
- Returns:
- Start Date
-
getShiftDefValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ShiftDefValidityEndDate
- Returns:
- End Date
-
getCapacityNumberOfCapacities
Constraints: Not nullableOriginal property name from the Odata EDM: CapacityNumberOfCapacities
- Returns:
- Number of Individual Capacities
-
getCapacityPlanUtilizationPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CapacityPlanUtilizationPercent
- Returns:
- Capacity Utilization Ratio in Percent
-
getCapacityBreakDuration
Constraints: Not nullableOriginal property name from the Odata EDM: CapacityBreakDuration
- Returns:
- Cumulative Break Duration in Seconds (internal)
-
getOperatingDurationInSeconds
Constraints: Not nullableOriginal property name from the Odata EDM: OperatingDurationInSeconds
- Returns:
- Operating Duration in Seconds
-
getTotOperatingDurationInSeconds
Constraints: Not nullableOriginal property name from the Odata EDM: TotOperatingDurationInSeconds
- Returns:
- Total Operating Duration In Seconds
-
getCapacityLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CapacityLastChangeDateTime
- Returns:
- Capacity Last Change Date Time
-
toString
- Overrides:
toStringin classVdmObject<WorkCenterCapacityShift>
-
equals
- Overrides:
equalsin classVdmEntity<WorkCenterCapacityShift>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WorkCenterCapacityShift>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WorkCenterCapacityShift>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WorkCenterCapacityShift>
-