Class MaintenancePlan
Original entity name from the Odata EDM: MaintenancePlanType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MaintenancePlan instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MaintenancePlanSelectableSelector for all available fields of MaintenancePlan.static final MaintenancePlanField<String>Use with available fluent helpers to apply the AuthorizationGroup field to query operations.static final MaintenancePlanField<LocalDateTime>Use with available fluent helpers to apply the BasicStartDate field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the CallHorizonInDays field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the CallHorizonPercent field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final MaintenancePlanField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final MaintenancePlanField<BigDecimal>Use with available fluent helpers to apply the CycleModificationRatio field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the EarlyCompletionShiftInPercent field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the EarlyCompletionTolerancePct field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the FactoryCalendar field to query operations.static final MaintenancePlanField<LocalDateTime>Use with available fluent helpers to apply the LastChangeDate field to query operations.static final MaintenancePlanField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the LateCompletionShiftInPercent field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the LateCompletionTolerancePercent field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintPlanEndCntrReadingValue field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintPlanFreeDefinedAttrib field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintPlanLogicalOperatorCode field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintPlanSchedgIndicator field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintPlanStartBufferUnit field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintPlanStartCntrReadingValue field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintPlnStrtBufDurationInDays field to query operations.static final MaintenancePlanField<Integer>Use with available fluent helpers to apply the MaintenanceCall field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenanceCallHorizonCalcType field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenanceLeadFloatInDays field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenancePlan field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenancePlanCallObject field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenancePlanCategory field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenancePlanDesc field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenancePlanInternalID field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenancePlanSystemStatus field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MaintenanceStrategy field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the MultipleCounterPlanShiftFactor field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the NumberOfMaintenanceItems field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the PrdcssrCallObjCompltnIsRqd field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the SchedulingDuration field to query operations.static final MaintenancePlanField<String>Use with available fluent helpers to apply the SchedulingDurationUnit field to query operations.static final MaintenancePlanField<LocalDateTime>Use with available fluent helpers to apply the SchedulingEndDate field to query operations.static final MaintenancePlanField<LocalDateTime>Use with available fluent helpers to apply the SchedulingStartDate field to query operations.static final MaintenancePlanField<LocalTime>Use with available fluent helpers to apply the SchedulingStartTime field to query operations.static final MaintenancePlanLink<MaintenanceItem>Use with available fluent helpers to apply the to_Item navigation property to query operations.static final MaintenancePlanLink<MaintenancePlanText>Use with available fluent helpers to apply the to_LongText navigation property to query operations.static final MaintenancePlanLink<MaintPlanClfnClass>Use with available fluent helpers to apply the to_MaintPlanClfnClass navigation property to query operations.static final MaintenancePlanLink<MaintenancePlanCycle>Use with available fluent helpers to apply the to_MaintenanceCycle navigation property to query operations.static final MaintenancePlanLink<MaintenancePlanSchedule>Use with available fluent helpers to apply the to_Schedules navigation property to query operations.static final MaintenancePlanLink<MaintenancePlanStrategyCycle>Use with available fluent helpers to apply the to_StrategyCycle navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionMaintenancePlan(String maintenancePlan, String maintenancePlanDesc, LocalDateTime creationDate, String createdByUser, LocalDateTime lastChangeDate, String lastChangedByUser, String maintenanceStrategy, String schedulingDuration, String schedulingDurationUnit, String numberOfMaintenanceItems, BigDecimal cycleModificationRatio, String maintPlanSchedgIndicator, String callHorizonPercent, String callHorizonInDays, String maintenanceCallHorizonCalcType, String authorizationGroup, String maintenancePlanInternalID, Integer maintenanceCall, String maintenancePlanCategory, String maintPlanFreeDefinedAttrib, LocalDateTime basicStartDate, LocalDateTime schedulingStartDate, LocalTime schedulingStartTime, String maintPlanStartCntrReadingValue, String maintPlnStrtBufDurationInDays, String maintPlanStartBufferUnit, String factoryCalendar, String lateCompletionShiftInPercent, String lateCompletionTolerancePercent, String earlyCompletionShiftInPercent, String earlyCompletionTolerancePct, String prdcssrCallObjCompltnIsRqd, String maintPlanLogicalOperatorCode, LocalDateTime schedulingEndDate, String maintPlanEndCntrReadingValue, ZonedDateTime lastChangeDateTime, String multipleCounterPlanShiftFactor, String maintenanceLeadFloatInDays, String maintenancePlanCallObject, String maintenancePlanSystemStatus, List<MaintenanceItem> toItem, List<MaintenancePlanText> toLongText, List<MaintenancePlanCycle> toMaintenanceCycle, List<MaintPlanClfnClass> toMaintPlanClfnClass, List<MaintenancePlanSchedule> toSchedules, List<MaintenancePlanStrategyCycle> toStrategyCycle) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(MaintenanceItem... entity) Adds elements to the list of associated MaintenanceItem entities.voidaddLongText(MaintenancePlanText... entity) Adds elements to the list of associated MaintenancePlanText entities.voidaddMaintenanceCycle(MaintenancePlanCycle... entity) Adds elements to the list of associated MaintenancePlanCycle entities.voidaddMaintPlanClfnClass(MaintPlanClfnClass... entity) Adds elements to the list of associated MaintPlanClfnClass entities.voidaddSchedules(MaintenancePlanSchedule... entity) Adds elements to the list of associated MaintenancePlanSchedule entities.voidaddStrategyCycle(MaintenancePlanStrategyCycle... entity) Adds elements to the list of associated MaintenancePlanStrategyCycle entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the MaintenanceItem entities (one to many) associated with this entity.Fetches the MaintenancePlanText entities (one to many) associated with this entity.Fetches the MaintenancePlanCycle entities (one to many) associated with this entity.Fetches the MaintPlanClfnClass entities (one to many) associated with this entity.Fetches the MaintenancePlanSchedule entities (one to many) associated with this entity.Fetches the MaintenancePlanStrategyCycle entities (one to many) associated with this entity.static <T,DomainT>
MaintenancePlanField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> MaintenancePlanField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 3, Scale: 2protected StringConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3protected StringConstraints: Not nullable, Maximum length: 2io.vavr.control.Option<List<MaintenanceItem>>Retrieval of associated MaintenanceItem entities (one to many).Retrieval of associated MaintenanceItem entities (one to many).getKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<List<MaintenancePlanText>>Retrieval of associated MaintenancePlanText entities (one to many).Retrieval of associated MaintenancePlanText entities (one to many).Constraints: noneConstraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<MaintenancePlanCycle>>Retrieval of associated MaintenancePlanCycle entities (one to many).Retrieval of associated MaintenancePlanCycle entities (one to many).Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 22Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<List<MaintPlanClfnClass>>Retrieval of associated MaintPlanClfnClass entities (one to many).Retrieval of associated MaintPlanClfnClass entities (one to many).Constraints: Not nullable, Maximum length: 22Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 22Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<MaintenancePlanSchedule>>Retrieval of associated MaintenancePlanSchedule entities (one to many).Retrieval of associated MaintenancePlanSchedule entities (one to many).Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0io.vavr.control.Option<List<MaintenancePlanStrategyCycle>>Retrieval of associated MaintenancePlanStrategyCycle entities (one to many).Retrieval of associated MaintenancePlanStrategyCycle entities (one to many).getType()inthashCode()voidsetAuthorizationGroup(String authorizationGroup) Constraints: Not nullable, Maximum length: 4voidsetBasicStartDate(LocalDateTime basicStartDate) Constraints: Not nullable, Precision: 0voidsetCallHorizonInDays(String callHorizonInDays) Constraints: Not nullable, Maximum length: 3voidsetCallHorizonPercent(String callHorizonPercent) Constraints: Not nullable, Maximum length: 3voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidsetCycleModificationRatio(BigDecimal cycleModificationRatio) Constraints: Not nullable, Precision: 3, Scale: 2voidsetEarlyCompletionShiftInPercent(String earlyCompletionShiftInPercent) Constraints: Not nullable, Maximum length: 3voidsetEarlyCompletionTolerancePct(String earlyCompletionTolerancePct) Constraints: Not nullable, Maximum length: 3voidsetFactoryCalendar(String factoryCalendar) Constraints: Not nullable, Maximum length: 2voidsetItem(List<MaintenanceItem> value) Overwrites the list of associated MaintenanceItem entities for the loaded navigation property to_Item.voidsetLastChangeDate(LocalDateTime lastChangeDate) Constraints: Not nullable, Precision: 0voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetLateCompletionShiftInPercent(String lateCompletionShiftInPercent) Constraints: Not nullable, Maximum length: 3voidsetLateCompletionTolerancePercent(String lateCompletionTolerancePercent) Constraints: Not nullable, Maximum length: 3voidsetLongText(List<MaintenancePlanText> value) Overwrites the list of associated MaintenancePlanText entities for the loaded navigation property to_LongText.voidsetMaintenanceCall(Integer maintenanceCall) Constraints: nonevoidsetMaintenanceCallHorizonCalcType(String maintenanceCallHorizonCalcType) Constraints: Not nullable, Maximum length: 1voidOverwrites the list of associated MaintenancePlanCycle entities for the loaded navigation property to_MaintenanceCycle.voidsetMaintenanceLeadFloatInDays(String maintenanceLeadFloatInDays) Constraints: Not nullable, Maximum length: 3voidsetMaintenancePlan(String maintenancePlan) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetMaintenancePlanCallObject(String maintenancePlanCallObject) Constraints: Not nullable, Maximum length: 1voidsetMaintenancePlanCategory(String maintenancePlanCategory) Constraints: Not nullable, Maximum length: 2voidsetMaintenancePlanDesc(String maintenancePlanDesc) Constraints: Not nullable, Maximum length: 40voidsetMaintenancePlanInternalID(String maintenancePlanInternalID) Constraints: Not nullable, Maximum length: 22voidsetMaintenancePlanSystemStatus(String maintenancePlanSystemStatus) Constraints: Not nullable, Maximum length: 30voidsetMaintenanceStrategy(String maintenanceStrategy) Constraints: Not nullable, Maximum length: 6voidOverwrites the list of associated MaintPlanClfnClass entities for the loaded navigation property to_MaintPlanClfnClass.voidsetMaintPlanEndCntrReadingValue(String maintPlanEndCntrReadingValue) Constraints: Not nullable, Maximum length: 22voidsetMaintPlanFreeDefinedAttrib(String maintPlanFreeDefinedAttrib) Constraints: Not nullable, Maximum length: 20voidsetMaintPlanLogicalOperatorCode(String maintPlanLogicalOperatorCode) Constraints: Not nullable, Maximum length: 10voidsetMaintPlanSchedgIndicator(String maintPlanSchedgIndicator) Constraints: Not nullable, Maximum length: 1voidsetMaintPlanStartBufferUnit(String maintPlanStartBufferUnit) Constraints: Not nullable, Maximum length: 3voidsetMaintPlanStartCntrReadingValue(String maintPlanStartCntrReadingValue) Constraints: Not nullable, Maximum length: 22voidsetMaintPlnStrtBufDurationInDays(String maintPlnStrtBufDurationInDays) Constraints: Not nullable, Maximum length: 3voidsetMultipleCounterPlanShiftFactor(String multipleCounterPlanShiftFactor) Constraints: Not nullable, Maximum length: 1voidsetNumberOfMaintenanceItems(String numberOfMaintenanceItems) Constraints: Not nullable, Maximum length: 4voidsetPrdcssrCallObjCompltnIsRqd(String prdcssrCallObjCompltnIsRqd) Constraints: Not nullable, Maximum length: 1voidsetSchedules(List<MaintenancePlanSchedule> value) Overwrites the list of associated MaintenancePlanSchedule entities for the loaded navigation property to_Schedules.voidsetSchedulingDuration(String schedulingDuration) Constraints: Not nullable, Maximum length: 3voidsetSchedulingDurationUnit(String schedulingDurationUnit) Constraints: Not nullable, Maximum length: 3voidsetSchedulingEndDate(LocalDateTime schedulingEndDate) Constraints: Not nullable, Precision: 0voidsetSchedulingStartDate(LocalDateTime schedulingStartDate) Constraints: Not nullable, Precision: 0voidsetSchedulingStartTime(LocalTime schedulingStartTime) Constraints: Not nullable, Precision: 0protected voidsetServicePathForFetch(String servicePathForFetch) voidOverwrites the list of associated MaintenancePlanStrategyCycle entities for the loaded navigation property to_StrategyCycle.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 MaintenancePlan. -
MAINTENANCE_PLAN
Use with available fluent helpers to apply the MaintenancePlan field to query operations. -
MAINTENANCE_PLAN_DESC
Use with available fluent helpers to apply the MaintenancePlanDesc field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
MAINTENANCE_STRATEGY
Use with available fluent helpers to apply the MaintenanceStrategy field to query operations. -
SCHEDULING_DURATION
Use with available fluent helpers to apply the SchedulingDuration field to query operations. -
SCHEDULING_DURATION_UNIT
Use with available fluent helpers to apply the SchedulingDurationUnit field to query operations. -
NUMBER_OF_MAINTENANCE_ITEMS
Use with available fluent helpers to apply the NumberOfMaintenanceItems field to query operations. -
CYCLE_MODIFICATION_RATIO
Use with available fluent helpers to apply the CycleModificationRatio field to query operations. -
MAINT_PLAN_SCHEDG_INDICATOR
Use with available fluent helpers to apply the MaintPlanSchedgIndicator field to query operations. -
CALL_HORIZON_PERCENT
Use with available fluent helpers to apply the CallHorizonPercent field to query operations. -
CALL_HORIZON_IN_DAYS
Use with available fluent helpers to apply the CallHorizonInDays field to query operations. -
MAINTENANCE_CALL_HORIZON_CALC_TYPE
Use with available fluent helpers to apply the MaintenanceCallHorizonCalcType field to query operations. -
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations. -
MAINTENANCE_PLAN_INTERNAL_ID
Use with available fluent helpers to apply the MaintenancePlanInternalID field to query operations. -
MAINTENANCE_CALL
Use with available fluent helpers to apply the MaintenanceCall field to query operations. -
MAINTENANCE_PLAN_CATEGORY
Use with available fluent helpers to apply the MaintenancePlanCategory field to query operations. -
MAINT_PLAN_FREE_DEFINED_ATTRIB
Use with available fluent helpers to apply the MaintPlanFreeDefinedAttrib field to query operations. -
BASIC_START_DATE
Use with available fluent helpers to apply the BasicStartDate field to query operations. -
SCHEDULING_START_DATE
Use with available fluent helpers to apply the SchedulingStartDate field to query operations. -
SCHEDULING_START_TIME
Use with available fluent helpers to apply the SchedulingStartTime field to query operations. -
MAINT_PLAN_START_CNTR_READING_VALUE
Use with available fluent helpers to apply the MaintPlanStartCntrReadingValue field to query operations. -
MAINT_PLN_STRT_BUF_DURATION_IN_DAYS
Use with available fluent helpers to apply the MaintPlnStrtBufDurationInDays field to query operations. -
MAINT_PLAN_START_BUFFER_UNIT
Use with available fluent helpers to apply the MaintPlanStartBufferUnit field to query operations. -
FACTORY_CALENDAR
Use with available fluent helpers to apply the FactoryCalendar field to query operations. -
LATE_COMPLETION_SHIFT_IN_PERCENT
Use with available fluent helpers to apply the LateCompletionShiftInPercent field to query operations. -
LATE_COMPLETION_TOLERANCE_PERCENT
Use with available fluent helpers to apply the LateCompletionTolerancePercent field to query operations. -
EARLY_COMPLETION_SHIFT_IN_PERCENT
Use with available fluent helpers to apply the EarlyCompletionShiftInPercent field to query operations. -
EARLY_COMPLETION_TOLERANCE_PCT
Use with available fluent helpers to apply the EarlyCompletionTolerancePct field to query operations. -
PRDCSSR_CALL_OBJ_COMPLTN_IS_RQD
Use with available fluent helpers to apply the PrdcssrCallObjCompltnIsRqd field to query operations. -
MAINT_PLAN_LOGICAL_OPERATOR_CODE
Use with available fluent helpers to apply the MaintPlanLogicalOperatorCode field to query operations. -
SCHEDULING_END_DATE
Use with available fluent helpers to apply the SchedulingEndDate field to query operations. -
MAINT_PLAN_END_CNTR_READING_VALUE
Use with available fluent helpers to apply the MaintPlanEndCntrReadingValue field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
MULTIPLE_COUNTER_PLAN_SHIFT_FACTOR
Use with available fluent helpers to apply the MultipleCounterPlanShiftFactor field to query operations. -
MAINTENANCE_LEAD_FLOAT_IN_DAYS
Use with available fluent helpers to apply the MaintenanceLeadFloatInDays field to query operations. -
MAINTENANCE_PLAN_CALL_OBJECT
Use with available fluent helpers to apply the MaintenancePlanCallObject field to query operations. -
MAINTENANCE_PLAN_SYSTEM_STATUS
Use with available fluent helpers to apply the MaintenancePlanSystemStatus field to query operations. -
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations. -
TO_LONG_TEXT
Use with available fluent helpers to apply the to_LongText navigation property to query operations. -
TO_MAINTENANCE_CYCLE
Use with available fluent helpers to apply the to_MaintenanceCycle navigation property to query operations. -
TO_MAINT_PLAN_CLFN_CLASS
Use with available fluent helpers to apply the to_MaintPlanClfnClass navigation property to query operations. -
TO_SCHEDULES
Use with available fluent helpers to apply the to_Schedules navigation property to query operations. -
TO_STRATEGY_CYCLE
Use with available fluent helpers to apply the to_StrategyCycle navigation property to query operations.
-
-
Constructor Details
-
MaintenancePlan
public MaintenancePlan() -
MaintenancePlan
public MaintenancePlan(@Nullable String maintenancePlan, @Nullable String maintenancePlanDesc, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String lastChangedByUser, @Nullable String maintenanceStrategy, @Nullable String schedulingDuration, @Nullable String schedulingDurationUnit, @Nullable String numberOfMaintenanceItems, @Nullable BigDecimal cycleModificationRatio, @Nullable String maintPlanSchedgIndicator, @Nullable String callHorizonPercent, @Nullable String callHorizonInDays, @Nullable String maintenanceCallHorizonCalcType, @Nullable String authorizationGroup, @Nullable String maintenancePlanInternalID, @Nullable Integer maintenanceCall, @Nullable String maintenancePlanCategory, @Nullable String maintPlanFreeDefinedAttrib, @Nullable LocalDateTime basicStartDate, @Nullable LocalDateTime schedulingStartDate, @Nullable LocalTime schedulingStartTime, @Nullable String maintPlanStartCntrReadingValue, @Nullable String maintPlnStrtBufDurationInDays, @Nullable String maintPlanStartBufferUnit, @Nullable String factoryCalendar, @Nullable String lateCompletionShiftInPercent, @Nullable String lateCompletionTolerancePercent, @Nullable String earlyCompletionShiftInPercent, @Nullable String earlyCompletionTolerancePct, @Nullable String prdcssrCallObjCompltnIsRqd, @Nullable String maintPlanLogicalOperatorCode, @Nullable LocalDateTime schedulingEndDate, @Nullable String maintPlanEndCntrReadingValue, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String multipleCounterPlanShiftFactor, @Nullable String maintenanceLeadFloatInDays, @Nullable String maintenancePlanCallObject, @Nullable String maintenancePlanSystemStatus, List<MaintenanceItem> toItem, List<MaintenancePlanText> toLongText, List<MaintenancePlanCycle> toMaintenanceCycle, List<MaintPlanClfnClass> toMaintPlanClfnClass, List<MaintenancePlanSchedule> toSchedules, List<MaintenancePlanStrategyCycle> toStrategyCycle)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MaintenancePlan>
-
setMaintenancePlan
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MaintenancePlan
- Parameters:
maintenancePlan- Maintenance Plan
-
setMaintenancePlanDesc
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: MaintenancePlanDesc
- Parameters:
maintenancePlanDesc- Maintenance Plan Text
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Date of creation
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of Person Responsible for Creating the Object
-
setLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Parameters:
lastChangeDate- Last Changed On
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Name of Person Who Changed Object
-
setMaintenanceStrategy
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: MaintenanceStrategy
- Parameters:
maintenanceStrategy- Maintenance Strategy
-
setSchedulingDuration
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SchedulingDuration
- Parameters:
schedulingDuration- Scheduling Period
-
setSchedulingDurationUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SchedulingDurationUnit
- Parameters:
schedulingDurationUnit- Unit for Scheduling Period
-
setNumberOfMaintenanceItems
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: NumberOfMaintenanceItems
- Parameters:
numberOfMaintenanceItems- Number of maintenance items in the maintenance plan
-
setCycleModificationRatio
Constraints: Not nullable, Precision: 3, Scale: 2Original property name from the Odata EDM: CycleModificationRatio
- Parameters:
cycleModificationRatio- Cycle modification factor
-
setMaintPlanSchedgIndicator
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MaintPlanSchedgIndicator
- Parameters:
maintPlanSchedgIndicator- Scheduling indicator
-
setCallHorizonPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CallHorizonPercent
- Parameters:
callHorizonPercent- Call horizon for maintenance plan calls
-
setCallHorizonInDays
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CallHorizonInDays
- Parameters:
callHorizonInDays- Call horizon for maintenance plan calls
-
setMaintenanceCallHorizonCalcType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MaintenanceCallHorizonCalcType
- Parameters:
maintenanceCallHorizonCalcType- Calculation Type of Call Horizon
-
setAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Parameters:
authorizationGroup- Technical Object Authorization Group
-
setMaintenancePlanInternalID
Constraints: Not nullable, Maximum length: 22Original property name from the Odata EDM: MaintenancePlanInternalID
- Parameters:
maintenancePlanInternalID- Object Number
-
setMaintenanceCall
Constraints: noneOriginal property name from the Odata EDM: MaintenanceCall
- Parameters:
maintenanceCall- Maintenance Plan Call Number
-
setMaintenancePlanCategory
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MaintenancePlanCategory
- Parameters:
maintenancePlanCategory- Maintenance plan category
-
setMaintPlanFreeDefinedAttrib
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MaintPlanFreeDefinedAttrib
- Parameters:
maintPlanFreeDefinedAttrib- Sort field for maintenance plans
-
setBasicStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: BasicStartDate
- Parameters:
basicStartDate- Start date
-
setSchedulingStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedulingStartDate
- Parameters:
schedulingStartDate- Start Date for Scheduling
-
setSchedulingStartTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedulingStartTime
- Parameters:
schedulingStartTime- Start Time for Scheduling
-
setMaintPlanStartCntrReadingValue
Constraints: Not nullable, Maximum length: 22Original property name from the Odata EDM: MaintPlanStartCntrReadingValue
- Parameters:
maintPlanStartCntrReadingValue- The maintPlanStartCntrReadingValue to set.
-
setMaintPlnStrtBufDurationInDays
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaintPlnStrtBufDurationInDays
- Parameters:
maintPlnStrtBufDurationInDays- Scheduling to reoccur when lead float reached
-
setMaintPlanStartBufferUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaintPlanStartBufferUnit
- Parameters:
maintPlanStartBufferUnit- Unit for Scheduling Period
-
setFactoryCalendar
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FactoryCalendar
- Parameters:
factoryCalendar- Factory calendar key
-
setLateCompletionShiftInPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LateCompletionShiftInPercent
- Parameters:
lateCompletionShiftInPercent- Shift Factor for Late Completion
-
setLateCompletionTolerancePercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LateCompletionTolerancePercent
- Parameters:
lateCompletionTolerancePercent- Tolerance for Late Completion (%)
-
setEarlyCompletionShiftInPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: EarlyCompletionShiftInPercent
- Parameters:
earlyCompletionShiftInPercent- Shift Factor for Early Completion
-
setEarlyCompletionTolerancePct
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: EarlyCompletionTolerancePct
- Parameters:
earlyCompletionTolerancePct- Tolerance for Early Completion (%)
-
setPrdcssrCallObjCompltnIsRqd
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PrdcssrCallObjCompltnIsRqd
- Parameters:
prdcssrCallObjCompltnIsRqd- Only Create New Call Object After Completing Predecessor
-
setMaintPlanLogicalOperatorCode
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MaintPlanLogicalOperatorCode
- Parameters:
maintPlanLogicalOperatorCode- Indicator for OR or AND link
-
setSchedulingEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedulingEndDate
- Parameters:
schedulingEndDate- End Date for Scheduling
-
setMaintPlanEndCntrReadingValue
Constraints: Not nullable, Maximum length: 22Original property name from the Odata EDM: MaintPlanEndCntrReadingValue
- Parameters:
maintPlanEndCntrReadingValue- The maintPlanEndCntrReadingValue to set.
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
setMultipleCounterPlanShiftFactor
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MultipleCounterPlanShiftFactor
- Parameters:
multipleCounterPlanShiftFactor- Shift Factor for Multiple Counter Plan
-
setMaintenanceLeadFloatInDays
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaintenanceLeadFloatInDays
- Parameters:
maintenanceLeadFloatInDays- Lead Float in Days
-
setMaintenancePlanCallObject
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MaintenancePlanCallObject
- Parameters:
maintenancePlanCallObject- Call object for maintenance plan
-
setMaintenancePlanSystemStatus
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MaintenancePlanSystemStatus
- Parameters:
maintenancePlanSystemStatus- Text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MaintenancePlan>
-
getKey
- Overrides:
getKeyin classVdmObject<MaintenancePlan>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MaintenancePlan>
-
fromMap
- Overrides:
fromMapin classVdmObject<MaintenancePlan>
-
field
@Nonnull public static <T> MaintenancePlanField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> MaintenancePlanField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<MaintenancePlan>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<MaintenancePlan>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<MaintenancePlan>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MaintenancePlan>
-
fetchItem
Fetches the MaintenanceItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Item.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated MaintenanceItem entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getItemOrFetch
Retrieval of associated MaintenanceItem entities (one to many). This corresponds to the OData navigation property to_Item.If the navigation property to_Item of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated MaintenanceItem entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getItemIfPresent
Retrieval of associated MaintenanceItem entities (one to many). This corresponds to the OData navigation property to_Item.If the navigation property for an entity MaintenancePlan 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 to_Item is already loaded, the result will contain the
MaintenanceItem entities. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the list of associated MaintenanceItem entities for the loaded navigation property to_Item.If the navigation property to_Item of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MaintenanceItem entities.
-
addItem
Adds elements to the list of associated MaintenanceItem entities. This corresponds to the OData navigation property to_Item.If the navigation property to_Item of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MaintenanceItem entities.
-
fetchLongText
Fetches the MaintenancePlanText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LongText.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated MaintenancePlanText entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLongTextOrFetch
Retrieval of associated MaintenancePlanText entities (one to many). This corresponds to the OData navigation property to_LongText.If the navigation property to_LongText of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated MaintenancePlanText entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLongTextIfPresent
Retrieval of associated MaintenancePlanText entities (one to many). This corresponds to the OData navigation property to_LongText.If the navigation property for an entity MaintenancePlan 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 to_LongText is already loaded, the result will contain
the MaintenancePlanText entities. If not, an
Optionwith result stateemptyis returned.
-
setLongText
Overwrites the list of associated MaintenancePlanText entities for the loaded navigation property to_LongText.If the navigation property to_LongText of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MaintenancePlanText entities.
-
addLongText
Adds elements to the list of associated MaintenancePlanText entities. This corresponds to the OData navigation property to_LongText.If the navigation property to_LongText of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MaintenancePlanText entities.
-
fetchMaintenanceCycle
Fetches the MaintenancePlanCycle entities (one to many) associated with this entity. This corresponds to the OData navigation property to_MaintenanceCycle.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated MaintenancePlanCycle entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getMaintenanceCycleOrFetch
Retrieval of associated MaintenancePlanCycle entities (one to many). This corresponds to the OData navigation property to_MaintenanceCycle.If the navigation property to_MaintenanceCycle of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated MaintenancePlanCycle entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getMaintenanceCycleIfPresent
Retrieval of associated MaintenancePlanCycle entities (one to many). This corresponds to the OData navigation property to_MaintenanceCycle.If the navigation property for an entity MaintenancePlan 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 to_MaintenanceCycle is already loaded, the result will
contain the MaintenancePlanCycle entities. If not, an
Optionwith result stateemptyis returned.
-
setMaintenanceCycle
Overwrites the list of associated MaintenancePlanCycle entities for the loaded navigation property to_MaintenanceCycle.If the navigation property to_MaintenanceCycle of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MaintenancePlanCycle entities.
-
addMaintenanceCycle
Adds elements to the list of associated MaintenancePlanCycle entities. This corresponds to the OData navigation property to_MaintenanceCycle.If the navigation property to_MaintenanceCycle of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MaintenancePlanCycle entities.
-
fetchMaintPlanClfnClass
Fetches the MaintPlanClfnClass entities (one to many) associated with this entity. This corresponds to the OData navigation property to_MaintPlanClfnClass.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated MaintPlanClfnClass entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getMaintPlanClfnClassOrFetch
Retrieval of associated MaintPlanClfnClass entities (one to many). This corresponds to the OData navigation property to_MaintPlanClfnClass.If the navigation property to_MaintPlanClfnClass of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated MaintPlanClfnClass entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getMaintPlanClfnClassIfPresent
Retrieval of associated MaintPlanClfnClass entities (one to many). This corresponds to the OData navigation property to_MaintPlanClfnClass.If the navigation property for an entity MaintenancePlan 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 to_MaintPlanClfnClass is already loaded, the result
will contain the MaintPlanClfnClass entities. If not, an
Optionwith result stateemptyis returned.
-
setMaintPlanClfnClass
Overwrites the list of associated MaintPlanClfnClass entities for the loaded navigation property to_MaintPlanClfnClass.If the navigation property to_MaintPlanClfnClass of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MaintPlanClfnClass entities.
-
addMaintPlanClfnClass
Adds elements to the list of associated MaintPlanClfnClass entities. This corresponds to the OData navigation property to_MaintPlanClfnClass.If the navigation property to_MaintPlanClfnClass of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MaintPlanClfnClass entities.
-
fetchSchedules
Fetches the MaintenancePlanSchedule entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Schedules.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated MaintenancePlanSchedule entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getSchedulesOrFetch
Retrieval of associated MaintenancePlanSchedule entities (one to many). This corresponds to the OData navigation property to_Schedules.If the navigation property to_Schedules of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated MaintenancePlanSchedule entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getSchedulesIfPresent
Retrieval of associated MaintenancePlanSchedule entities (one to many). This corresponds to the OData navigation property to_Schedules.If the navigation property for an entity MaintenancePlan 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 to_Schedules is already loaded, the result will contain
the MaintenancePlanSchedule entities. If not, an
Optionwith result stateemptyis returned.
-
setSchedules
Overwrites the list of associated MaintenancePlanSchedule entities for the loaded navigation property to_Schedules.If the navigation property to_Schedules of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MaintenancePlanSchedule entities.
-
addSchedules
Adds elements to the list of associated MaintenancePlanSchedule entities. This corresponds to the OData navigation property to_Schedules.If the navigation property to_Schedules of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MaintenancePlanSchedule entities.
-
fetchStrategyCycle
Fetches the MaintenancePlanStrategyCycle entities (one to many) associated with this entity. This corresponds to the OData navigation property to_StrategyCycle.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated MaintenancePlanStrategyCycle entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getStrategyCycleOrFetch
Retrieval of associated MaintenancePlanStrategyCycle entities (one to many). This corresponds to the OData navigation property to_StrategyCycle.If the navigation property to_StrategyCycle of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated MaintenancePlanStrategyCycle entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getStrategyCycleIfPresent
@Nonnull public io.vavr.control.Option<List<MaintenancePlanStrategyCycle>> getStrategyCycleIfPresent()Retrieval of associated MaintenancePlanStrategyCycle entities (one to many). This corresponds to the OData navigation property to_StrategyCycle.If the navigation property for an entity MaintenancePlan 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 to_StrategyCycle is already loaded, the result will
contain the MaintenancePlanStrategyCycle entities. If not, an
Optionwith result stateemptyis returned.
-
setStrategyCycle
Overwrites the list of associated MaintenancePlanStrategyCycle entities for the loaded navigation property to_StrategyCycle.If the navigation property to_StrategyCycle of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of MaintenancePlanStrategyCycle entities.
-
addStrategyCycle
Adds elements to the list of associated MaintenancePlanStrategyCycle entities. This corresponds to the OData navigation property to_StrategyCycle.If the navigation property to_StrategyCycle of a queried MaintenancePlan is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of MaintenancePlanStrategyCycle entities.
-
builder
-
getMaintenancePlan
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MaintenancePlan
- Returns:
- Maintenance Plan
-
getMaintenancePlanDesc
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: MaintenancePlanDesc
- Returns:
- Maintenance Plan Text
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Date of creation
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of Person Responsible for Creating the Object
-
getLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Returns:
- Last Changed On
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Name of Person Who Changed Object
-
getMaintenanceStrategy
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: MaintenanceStrategy
- Returns:
- Maintenance Strategy
-
getSchedulingDuration
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SchedulingDuration
- Returns:
- Scheduling Period
-
getSchedulingDurationUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SchedulingDurationUnit
- Returns:
- Unit for Scheduling Period
-
getNumberOfMaintenanceItems
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: NumberOfMaintenanceItems
- Returns:
- Number of maintenance items in the maintenance plan
-
getCycleModificationRatio
Constraints: Not nullable, Precision: 3, Scale: 2Original property name from the Odata EDM: CycleModificationRatio
- Returns:
- Cycle modification factor
-
getMaintPlanSchedgIndicator
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MaintPlanSchedgIndicator
- Returns:
- Scheduling indicator
-
getCallHorizonPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CallHorizonPercent
- Returns:
- Call horizon for maintenance plan calls
-
getCallHorizonInDays
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CallHorizonInDays
- Returns:
- Call horizon for maintenance plan calls
-
getMaintenanceCallHorizonCalcType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MaintenanceCallHorizonCalcType
- Returns:
- Calculation Type of Call Horizon
-
getAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Returns:
- Technical Object Authorization Group
-
getMaintenancePlanInternalID
Constraints: Not nullable, Maximum length: 22Original property name from the Odata EDM: MaintenancePlanInternalID
- Returns:
- Object Number
-
getMaintenanceCall
Constraints: noneOriginal property name from the Odata EDM: MaintenanceCall
- Returns:
- Maintenance Plan Call Number
-
getMaintenancePlanCategory
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MaintenancePlanCategory
- Returns:
- Maintenance plan category
-
getMaintPlanFreeDefinedAttrib
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MaintPlanFreeDefinedAttrib
- Returns:
- Sort field for maintenance plans
-
getBasicStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: BasicStartDate
- Returns:
- Start date
-
getSchedulingStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedulingStartDate
- Returns:
- Start Date for Scheduling
-
getSchedulingStartTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedulingStartTime
- Returns:
- Start Time for Scheduling
-
getMaintPlanStartCntrReadingValue
Constraints: Not nullable, Maximum length: 22Original property name from the Odata EDM: MaintPlanStartCntrReadingValue
- Returns:
- The maintPlanStartCntrReadingValue contained in this entity.
-
getMaintPlnStrtBufDurationInDays
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaintPlnStrtBufDurationInDays
- Returns:
- Scheduling to reoccur when lead float reached
-
getMaintPlanStartBufferUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaintPlanStartBufferUnit
- Returns:
- Unit for Scheduling Period
-
getFactoryCalendar
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FactoryCalendar
- Returns:
- Factory calendar key
-
getLateCompletionShiftInPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LateCompletionShiftInPercent
- Returns:
- Shift Factor for Late Completion
-
getLateCompletionTolerancePercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LateCompletionTolerancePercent
- Returns:
- Tolerance for Late Completion (%)
-
getEarlyCompletionShiftInPercent
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: EarlyCompletionShiftInPercent
- Returns:
- Shift Factor for Early Completion
-
getEarlyCompletionTolerancePct
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: EarlyCompletionTolerancePct
- Returns:
- Tolerance for Early Completion (%)
-
getPrdcssrCallObjCompltnIsRqd
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PrdcssrCallObjCompltnIsRqd
- Returns:
- Only Create New Call Object After Completing Predecessor
-
getMaintPlanLogicalOperatorCode
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MaintPlanLogicalOperatorCode
- Returns:
- Indicator for OR or AND link
-
getSchedulingEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedulingEndDate
- Returns:
- End Date for Scheduling
-
getMaintPlanEndCntrReadingValue
Constraints: Not nullable, Maximum length: 22Original property name from the Odata EDM: MaintPlanEndCntrReadingValue
- Returns:
- The maintPlanEndCntrReadingValue contained in this entity.
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
getMultipleCounterPlanShiftFactor
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MultipleCounterPlanShiftFactor
- Returns:
- Shift Factor for Multiple Counter Plan
-
getMaintenanceLeadFloatInDays
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MaintenanceLeadFloatInDays
- Returns:
- Lead Float in Days
-
getMaintenancePlanCallObject
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MaintenancePlanCallObject
- Returns:
- Call object for maintenance plan
-
getMaintenancePlanSystemStatus
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MaintenancePlanSystemStatus
- Returns:
- Text
-
toString
- Overrides:
toStringin classVdmObject<MaintenancePlan>
-
equals
- Overrides:
equalsin classVdmEntity<MaintenancePlan>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MaintenancePlan>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MaintenancePlan>
-