public class WorkCenterCapacityShift_2 extends VdmEntity<WorkCenterCapacityShift_2>
Original entity name from the Odata EDM: A_WorkCenterCapacityShift_2Type
Modifier and Type | Class and Description |
---|---|
static class |
WorkCenterCapacityShift_2.WorkCenterCapacityShift_2Builder |
Modifier and Type | Field and Description |
---|---|
static WorkCenterCapacityShift_2Selectable |
ALL_FIELDS
Selector for all available fields of WorkCenterCapacityShift_2.
|
static WorkCenterCapacityShift_2Field<String> |
AVAILABLE_CAPACITY_SHIFT
Use with available fluent helpers to apply the AvailableCapacityShift field to query operations.
|
static WorkCenterCapacityShift_2Field<String> |
CAPACITY_ACTIVE_VERSION
Use with available fluent helpers to apply the CapacityActiveVersion field to query operations.
|
static WorkCenterCapacityShift_2Field<Integer> |
CAPACITY_BREAK_DURATION
Use with available fluent helpers to apply the CapacityBreakDuration field to query operations.
|
static WorkCenterCapacityShift_2Field<String> |
CAPACITY_INTERNAL_ID
Use with available fluent helpers to apply the CapacityInternalID field to query operations.
|
static WorkCenterCapacityShift_2Field<ZonedDateTime> |
CAPACITY_LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the CapacityLastChangeDateTime field to query operations.
|
static WorkCenterCapacityShift_2Field<Short> |
CAPACITY_NUMBER_OF_CAPACITIES
Use with available fluent helpers to apply the CapacityNumberOfCapacities field to query operations.
|
static WorkCenterCapacityShift_2Field<String> |
CAPACITY_PLAN_UTILIZATION_PERCENT
Use with available fluent helpers to apply the CapacityPlanUtilizationPercent field to query operations.
|
static WorkCenterCapacityShift_2Field<LocalDateTime> |
INTERVAL_END_DATE
Use with available fluent helpers to apply the IntervalEndDate field to query operations.
|
static WorkCenterCapacityShift_2Field<LocalDateTime> |
INTERVAL_START_DATE
Use with available fluent helpers to apply the IntervalStartDate field to query operations.
|
static WorkCenterCapacityShift_2Field<Integer> |
OPERATING_DURATION_IN_SECONDS
Use with available fluent helpers to apply the OperatingDurationInSeconds field to query operations.
|
static WorkCenterCapacityShift_2Field<LocalDateTime> |
SHIFT_DEF_VALIDITY_END_DATE
Use with available fluent helpers to apply the ShiftDefValidityEndDate field to query operations.
|
static WorkCenterCapacityShift_2Field<LocalDateTime> |
SHIFT_DEF_VALIDITY_START_DATE
Use with available fluent helpers to apply the ShiftDefValidityStartDate field to query operations.
|
static WorkCenterCapacityShift_2Field<String> |
SHIFT_DEFINITION
Use with available fluent helpers to apply the ShiftDefinition field to query operations.
|
static WorkCenterCapacityShift_2Field<LocalTime> |
SHIFT_END_TIME
Use with available fluent helpers to apply the ShiftEndTime field to query operations.
|
static WorkCenterCapacityShift_2Field<LocalTime> |
SHIFT_START_TIME
Use with available fluent helpers to apply the ShiftStartTime field to query operations.
|
static WorkCenterCapacityShift_2Field<Integer> |
TOT_OPERATING_DURATION_IN_SECONDS
Use with available fluent helpers to apply the TotOperatingDurationInSeconds field to query operations.
|
static WorkCenterCapacityShift_2Field<String> |
WEEK_DAY
Use with available fluent helpers to apply the WeekDay field to query operations.
|
static WorkCenterCapacityShift_2Field<String> |
WORK_DAY_RULE
Use with available fluent helpers to apply the WorkDayRule field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
WorkCenterCapacityShift_2() |
WorkCenterCapacityShift_2(String capacityInternalID,
String capacityActiveVersion,
LocalDateTime intervalEndDate,
String weekDay,
String availableCapacityShift,
LocalDateTime intervalStartDate,
String workDayRule,
String shiftDefinition,
LocalTime shiftStartTime,
LocalTime shiftEndTime,
LocalDateTime shiftDefValidityStartDate,
LocalDateTime shiftDefValidityEndDate,
Short capacityNumberOfCapacities,
String capacityPlanUtilizationPercent,
Integer capacityBreakDuration,
Integer operatingDurationInSeconds,
Integer totOperatingDurationInSeconds,
ZonedDateTime capacityLastChangeDateTime) |
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_2.WorkCenterCapacityShift_2Builder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> WorkCenterCapacityShift_2Field<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 |
getCapacityInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
ZonedDateTime |
getCapacityLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
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() |
Integer |
getOperatingDurationInSeconds()
Constraints: none
|
String |
getShiftDefinition()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getShiftDefValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getShiftDefValidityStartDate()
Constraints: Not nullable, Precision: 0
|
LocalTime |
getShiftEndTime()
Constraints: Not nullable, Precision: 0
|
LocalTime |
getShiftStartTime()
Constraints: Not nullable, Precision: 0
|
Integer |
getTotOperatingDurationInSeconds()
Constraints: none
|
Class<WorkCenterCapacityShift_2> |
getType() |
String |
getWeekDay()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
String |
getWorkDayRule()
Constraints: Not nullable, Maximum length: 1
|
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 |
setCapacityInternalID(String capacityInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setCapacityLastChangeDateTime(ZonedDateTime capacityLastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
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 |
setOperatingDurationInSeconds(Integer operatingDurationInSeconds)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setShiftDefinition(String shiftDefinition)
Constraints: Not nullable, Maximum length: 4
|
void |
setShiftDefValidityEndDate(LocalDateTime shiftDefValidityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setShiftDefValidityStartDate(LocalDateTime shiftDefValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setShiftEndTime(LocalTime shiftEndTime)
Constraints: Not nullable, Precision: 0
|
void |
setShiftStartTime(LocalTime shiftStartTime)
Constraints: Not nullable, Precision: 0
|
void |
setTotOperatingDurationInSeconds(Integer totOperatingDurationInSeconds)
Constraints: none
|
void |
setWeekDay(String weekDay)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setWorkDayRule(String workDayRule)
Constraints: Not nullable, Maximum length: 1
|
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 WorkCenterCapacityShift_2Selectable ALL_FIELDS
public static final WorkCenterCapacityShift_2Field<String> CAPACITY_INTERNAL_ID
public static final WorkCenterCapacityShift_2Field<String> CAPACITY_ACTIVE_VERSION
public static final WorkCenterCapacityShift_2Field<LocalDateTime> INTERVAL_END_DATE
public static final WorkCenterCapacityShift_2Field<String> WEEK_DAY
public static final WorkCenterCapacityShift_2Field<String> AVAILABLE_CAPACITY_SHIFT
public static final WorkCenterCapacityShift_2Field<LocalDateTime> INTERVAL_START_DATE
public static final WorkCenterCapacityShift_2Field<String> WORK_DAY_RULE
public static final WorkCenterCapacityShift_2Field<String> SHIFT_DEFINITION
public static final WorkCenterCapacityShift_2Field<LocalTime> SHIFT_START_TIME
public static final WorkCenterCapacityShift_2Field<LocalTime> SHIFT_END_TIME
public static final WorkCenterCapacityShift_2Field<LocalDateTime> SHIFT_DEF_VALIDITY_START_DATE
public static final WorkCenterCapacityShift_2Field<LocalDateTime> SHIFT_DEF_VALIDITY_END_DATE
public static final WorkCenterCapacityShift_2Field<Short> CAPACITY_NUMBER_OF_CAPACITIES
public static final WorkCenterCapacityShift_2Field<String> CAPACITY_PLAN_UTILIZATION_PERCENT
public static final WorkCenterCapacityShift_2Field<Integer> CAPACITY_BREAK_DURATION
public static final WorkCenterCapacityShift_2Field<Integer> OPERATING_DURATION_IN_SECONDS
public static final WorkCenterCapacityShift_2Field<Integer> TOT_OPERATING_DURATION_IN_SECONDS
public static final WorkCenterCapacityShift_2Field<ZonedDateTime> CAPACITY_LAST_CHANGE_DATE_TIME
public WorkCenterCapacityShift_2()
public WorkCenterCapacityShift_2(@Nullable String capacityInternalID, @Nullable String capacityActiveVersion, @Nullable LocalDateTime intervalEndDate, @Nullable String weekDay, @Nullable String availableCapacityShift, @Nullable LocalDateTime intervalStartDate, @Nullable String workDayRule, @Nullable String shiftDefinition, @Nullable LocalTime shiftStartTime, @Nullable LocalTime shiftEndTime, @Nullable LocalDateTime shiftDefValidityStartDate, @Nullable LocalDateTime shiftDefValidityEndDate, @Nullable Short capacityNumberOfCapacities, @Nullable String capacityPlanUtilizationPercent, @Nullable Integer capacityBreakDuration, @Nullable Integer operatingDurationInSeconds, @Nullable Integer totOperatingDurationInSeconds, @Nullable ZonedDateTime capacityLastChangeDateTime)
@Nonnull public Class<WorkCenterCapacityShift_2> getType()
getType
in class VdmObject<WorkCenterCapacityShift_2>
public 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
with which you are workingto which you are referring.Can be used to maintain several versions of available capacity at the same time.
capacityActiveVersion
- The number which identifies the version of available capacity:public void setIntervalEndDate(@Nullable LocalDateTime intervalEndDate)
Original property name from the Odata EDM: IntervalEndDate
intervalEndDate
- End of validity period of an object (such as material, BOM, or routing) in the SAP System.public void setWeekDay(@Nullable String weekDay)
Original property name from the Odata EDM: WeekDay
weekDay
- Week Daypublic void setAvailableCapacityShift(@Nullable String availableCapacityShift)
Original property name from the Odata EDM: AvailableCapacityShift
availableCapacityShift
- Number of the shift in the shift sequence.public void setIntervalStartDate(@Nullable LocalDateTime intervalStartDate)
Original property name from the Odata EDM: IntervalStartDate
intervalStartDate
- Specifies the start date for the validity period of an object (such as material, BOM, or routing).public void setWorkDayRule(@Nullable String workDayRule)
Original property name from the Odata EDM: WorkDayRule
workDayRule
- Workday Rule Codepublic void setShiftDefinition(@Nullable String shiftDefinition)
Original property name from the Odata EDM: ShiftDefinition
shiftDefinition
- This key refers to a main shift definition in which start, end and break times are set.public void setShiftStartTime(@Nullable LocalTime shiftStartTime)
Original property name from the Odata EDM: ShiftStartTime
shiftStartTime
- Start of the shift.public void setShiftEndTime(@Nullable LocalTime shiftEndTime)
Original property name from the Odata EDM: ShiftEndTime
shiftEndTime
- End of the shift.public void setShiftDefValidityStartDate(@Nullable LocalDateTime shiftDefValidityStartDate)
Original property name from the Odata EDM: ShiftDefValidityStartDate
shiftDefValidityStartDate
- Start Datepublic void setShiftDefValidityEndDate(@Nullable LocalDateTime shiftDefValidityEndDate)
Original property name from the Odata EDM: ShiftDefValidityEndDate
shiftDefValidityEndDate
- End Datepublic void setCapacityNumberOfCapacities(@Nullable Short capacityNumberOfCapacities)
Original property name from the Odata EDM: CapacityNumberOfCapacities
For example, a group made up of 5 machines has 5 elements.
capacityNumberOfCapacities
- Number of elements which make up a capacity group.public void setCapacityPlanUtilizationPercent(@Nullable String capacityPlanUtilizationPercent)
Original property name from the Odata EDM: CapacityPlanUtilizationPercent
Enter the average capacity utilization rate of all machines providing that capacity during the shift.The capacity utilization rate, the number of individual capacities and the operating time per shift make up the total capacity for the shift generated by the system.
capacityPlanUtilizationPercent
- The relationship (expressed in percent) between a machine´s actual capacity and it´s theoretical
capacity.public void setCapacityBreakDuration(@Nullable Integer capacityBreakDuration)
Original property name from the Odata EDM: CapacityBreakDuration
capacityBreakDuration
- Cumulative Break Duration in Seconds (internal)public void setOperatingDurationInSeconds(@Nullable Integer operatingDurationInSeconds)
Original property name from the Odata EDM: OperatingDurationInSeconds
operatingDurationInSeconds
- Operating Duration in Secondspublic void setTotOperatingDurationInSeconds(@Nullable Integer totOperatingDurationInSeconds)
Original property name from the Odata EDM: TotOperatingDurationInSeconds
totOperatingDurationInSeconds
- Total Operating Duration In Secondspublic void setCapacityLastChangeDateTime(@Nullable ZonedDateTime capacityLastChangeDateTime)
Original property name from the Odata EDM: CapacityLastChangeDateTime
capacityLastChangeDateTime
- Capacity Last Change Date Timeprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<WorkCenterCapacityShift_2>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<WorkCenterCapacityShift_2>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WorkCenterCapacityShift_2>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WorkCenterCapacityShift_2>
@Nonnull public static <T> WorkCenterCapacityShift_2Field<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> WorkCenterCapacityShift_2Field<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_2>
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_2>
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_2>
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_2>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)public static WorkCenterCapacityShift_2.WorkCenterCapacityShift_2Builder builder()
@Nullable public String getCapacityInternalID()
Original property name from the Odata EDM: CapacityInternalID
@Nullable public String getCapacityActiveVersion()
Original property name from the Odata EDM: CapacityActiveVersion
with which you are workingto which you are referring.Can be used to maintain several versions of available capacity at the same time.
@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 LocalDateTime getIntervalStartDate()
Original property name from the Odata EDM: IntervalStartDate
@Nullable public String getWorkDayRule()
Original property name from the Odata EDM: WorkDayRule
@Nullable public String getShiftDefinition()
Original property name from the Odata EDM: ShiftDefinition
@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 LocalDateTime getShiftDefValidityStartDate()
Original property name from the Odata EDM: ShiftDefValidityStartDate
@Nullable public LocalDateTime getShiftDefValidityEndDate()
Original property name from the Odata EDM: ShiftDefValidityEndDate
@Nullable public Short getCapacityNumberOfCapacities()
Original property name from the Odata EDM: CapacityNumberOfCapacities
For example, a group made up of 5 machines has 5 elements.
@Nullable public String getCapacityPlanUtilizationPercent()
Original property name from the Odata EDM: CapacityPlanUtilizationPercent
Enter the average capacity utilization rate of all machines providing that capacity during the shift.The capacity utilization rate, the number of individual capacities and the operating time per shift make up the total capacity for the shift generated by the system.
@Nullable public Integer getCapacityBreakDuration()
Original property name from the Odata EDM: CapacityBreakDuration
@Nullable public Integer getOperatingDurationInSeconds()
Original property name from the Odata EDM: OperatingDurationInSeconds
@Nullable public Integer getTotOperatingDurationInSeconds()
Original property name from the Odata EDM: TotOperatingDurationInSeconds
@Nullable public ZonedDateTime getCapacityLastChangeDateTime()
Original property name from the Odata EDM: CapacityLastChangeDateTime
public String toString()
toString
in class VdmObject<WorkCenterCapacityShift_2>
public boolean equals(Object o)
equals
in class VdmObject<WorkCenterCapacityShift_2>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<WorkCenterCapacityShift_2>
public int hashCode()
hashCode
in class VdmObject<WorkCenterCapacityShift_2>
Copyright © 2020 SAP SE. All rights reserved.