java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<MaintenanceTaskList>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.maintenancetasklist.MaintenanceTaskList
All Implemented Interfaces:
VdmEntitySet

public class MaintenanceTaskList extends VdmEntity<MaintenanceTaskList> implements VdmEntitySet
Header

Original entity name from the Odata EDM: MaintenanceTaskListType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<MaintenanceTaskList> getType()
      Specified by:
      getType in class VdmObject<MaintenanceTaskList>
    • setTaskListType

      public void setTaskListType(@Nullable String taskListType)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TaskListType

      Parameters:
      taskListType - Task List Type
    • setTaskListGroup

      public void setTaskListGroup(@Nullable String taskListGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: TaskListGroup

      Parameters:
      taskListGroup - Key for Task List Group
    • setTaskListGroupCounter

      public void setTaskListGroupCounter(@Nullable String taskListGroupCounter)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TaskListGroupCounter

      Parameters:
      taskListGroupCounter - Group Counter
    • setTaskListVersionCounter

      public void setTaskListVersionCounter(@Nullable String taskListVersionCounter)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: TaskListVersionCounter

      Parameters:
      taskListVersionCounter - Internal counter
    • setMaintenancePlanningPlant

      public void setMaintenancePlanningPlant(@Nullable String maintenancePlanningPlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaintenancePlanningPlant

      Parameters:
      maintenancePlanningPlant - Maintenance Planning Plant
    • setTaskListStatus

      public void setTaskListStatus(@Nullable String taskListStatus)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TaskListStatus

      Parameters:
      taskListStatus - Status
    • setTaskListStatusDesc

      public void setTaskListStatusDesc(@Nullable String taskListStatusDesc)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TaskListStatusDesc

      Parameters:
      taskListStatusDesc - Description of the Status
    • setTechnicalObject

      public void setTechnicalObject(@Nullable String technicalObject)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TechnicalObject

      Parameters:
      technicalObject - Technical Object
    • setTaskListUsage

      public void setTaskListUsage(@Nullable String taskListUsage)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TaskListUsage

      Parameters:
      taskListUsage - Task List Usage
    • setTaskListDesc

      public void setTaskListDesc(@Nullable String taskListDesc)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TaskListDesc

      Parameters:
      taskListDesc - Routing Description
    • setWorkCenter

      public void setWorkCenter(@Nullable String workCenter)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WorkCenter

      Parameters:
      workCenter - Work Center
    • setMaintenanceStrategy

      public void setMaintenanceStrategy(@Nullable String maintenanceStrategy)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: MaintenanceStrategy

      Parameters:
      maintenanceStrategy - Maintenance Strategy
    • setOperationSystemCondition

      public void setOperationSystemCondition(@Nullable String operationSystemCondition)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OperationSystemCondition

      Parameters:
      operationSystemCondition - System Condition
    • setAssembly

      public void setAssembly(@Nullable String assembly)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Assembly

      Parameters:
      assembly - Assembly
    • setChangeNumber

      public void setChangeNumber(@Nullable String changeNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Parameters:
      changeNumber - Change Number
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDate validityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDate validityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid-To Date
    • setIsMarkedForDeletion

      public void setIsMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsMarkedForDeletion

      Parameters:
      isMarkedForDeletion - Indicator: Delete completely in reorganization run
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDate lastChangeDate)
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Date of the last change made to the task list
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Last Changed By User
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By User
    • setCreationDate

      public void setCreationDate(@Nullable LocalDate creationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Date Record Created On
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setResponsiblePlannerGroup

      public void setResponsiblePlannerGroup(@Nullable String responsiblePlannerGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ResponsiblePlannerGroup

      Parameters:
      responsiblePlannerGroup - Responsible Planner Group or Department
    • setEquipment

      public void setEquipment(@Nullable String equipment)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Equipment

      Parameters:
      equipment - Equipment Number
    • setFunctionalLocationLabelName

      public void setFunctionalLocationLabelName(@Nullable String functionalLocationLabelName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: FunctionalLocationLabelName

      Parameters:
      functionalLocationLabelName - Functional Location Label
    • setTaskListIsHierarchical

      public void setTaskListIsHierarchical(@Nullable Boolean taskListIsHierarchical)
      Constraints: Not nullable

      Original property name from the Odata EDM: TaskListIsHierarchical

      Parameters:
      taskListIsHierarchical - Sign: Task List Contains Hierarchical Operations
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<MaintenanceTaskList>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<MaintenanceTaskList>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<MaintenanceTaskList>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<MaintenanceTaskList>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<MaintenanceTaskList>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<MaintenanceTaskList>
    • getLongTextIfPresent

      @Nonnull public io.vavr.control.Option<MaintenanceTaskListLongText> getLongTextIfPresent()
      Retrieval of associated MaintenanceTaskListLongText entity (one to one). This corresponds to the OData navigation property _LongText.

      If the navigation property for an entity MaintenanceTaskList has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _LongText is already loaded, the result will contain the MaintenanceTaskListLongText entity. If not, an Option with result state empty is returned.
    • setLongText

      public void setLongText(MaintenanceTaskListLongText value)
      Overwrites the associated MaintenanceTaskListLongText entity for the loaded navigation property _LongText.
      Parameters:
      value - New MaintenanceTaskListLongText entity.
    • getMaintPackageIfPresent

      @Nonnull public io.vavr.control.Option<List<MaintenanceTaskListStrtgyPckg>> getMaintPackageIfPresent()
      Retrieval of associated MaintenanceTaskListStrtgyPckg entities (one to many). This corresponds to the OData navigation property _MaintPackage.

      If the navigation property for an entity MaintenanceTaskList has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _MaintPackage is already loaded, the result will contain the MaintenanceTaskListStrtgyPckg entities. If not, an Option with result state empty is returned.
    • setMaintPackage

      public void setMaintPackage(@Nonnull List<MaintenanceTaskListStrtgyPckg> value)
      Overwrites the list of associated MaintenanceTaskListStrtgyPckg entities for the loaded navigation property _MaintPackage.

      If the navigation property _MaintPackage of a queried MaintenanceTaskList 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 MaintenanceTaskListStrtgyPckg entities.
    • addMaintPackage

      public void addMaintPackage(MaintenanceTaskListStrtgyPckg... entity)
      Adds elements to the list of associated MaintenanceTaskListStrtgyPckg entities. This corresponds to the OData navigation property _MaintPackage.

      If the navigation property _MaintPackage of a queried MaintenanceTaskList 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 MaintenanceTaskListStrtgyPckg entities.
    • getOperationIfPresent

      @Nonnull public io.vavr.control.Option<List<MaintenanceTaskListOperation>> getOperationIfPresent()
      Retrieval of associated MaintenanceTaskListOperation entities (one to many). This corresponds to the OData navigation property _Operation.

      If the navigation property for an entity MaintenanceTaskList has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _Operation is already loaded, the result will contain the MaintenanceTaskListOperation entities. If not, an Option with result state empty is returned.
    • setOperation

      public void setOperation(@Nonnull List<MaintenanceTaskListOperation> value)
      Overwrites the list of associated MaintenanceTaskListOperation entities for the loaded navigation property _Operation.

      If the navigation property _Operation of a queried MaintenanceTaskList 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 MaintenanceTaskListOperation entities.
    • addOperation

      public void addOperation(MaintenanceTaskListOperation... entity)
      Adds elements to the list of associated MaintenanceTaskListOperation entities. This corresponds to the OData navigation property _Operation.

      If the navigation property _Operation of a queried MaintenanceTaskList 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 MaintenanceTaskListOperation entities.
    • createWithReference

      @Nonnull public static BoundAction.SingleToSingle<MaintenanceTaskList,MaintenanceTaskList> createWithReference(@Nonnull Boolean documentCopyIsRequested, @Nonnull Boolean relationshipCopyIsRequested, @Nonnull Boolean descriptionCopyIsRequested, @Nullable LocalDate maintTskListValidityStartDate)
      Action that can be applied to any entity object of this class.

      Parameters:
      maintTskListValidityStartDate - Constraints: Nullable

      Original parameter name from the Odata EDM: MaintTskListValidityStartDate

      relationshipCopyIsRequested - Constraints: Not nullable

      Original parameter name from the Odata EDM: RelationshipCopyIsRequested

      documentCopyIsRequested - Constraints: Not nullable

      Original parameter name from the Odata EDM: DocumentCopyIsRequested

      descriptionCopyIsRequested - Constraints: Not nullable

      Original parameter name from the Odata EDM: DescriptionCopyIsRequested

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

      @Nonnull public static MaintenanceTaskList.MaintenanceTaskListBuilder builder()
    • getTaskListType

      @Nullable public String getTaskListType()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TaskListType

      Returns:
      Task List Type
    • getTaskListGroup

      @Nullable public String getTaskListGroup()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: TaskListGroup

      Returns:
      Key for Task List Group
    • getTaskListGroupCounter

      @Nullable public String getTaskListGroupCounter()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TaskListGroupCounter

      Returns:
      Group Counter
    • getTaskListVersionCounter

      @Nullable public String getTaskListVersionCounter()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: TaskListVersionCounter

      Returns:
      Internal counter
    • getMaintenancePlanningPlant

      @Nullable public String getMaintenancePlanningPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaintenancePlanningPlant

      Returns:
      Maintenance Planning Plant
    • getTaskListStatus

      @Nullable public String getTaskListStatus()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TaskListStatus

      Returns:
      Status
    • getTaskListStatusDesc

      @Nullable public String getTaskListStatusDesc()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TaskListStatusDesc

      Returns:
      Description of the Status
    • getTechnicalObject

      @Nullable public String getTechnicalObject()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TechnicalObject

      Returns:
      Technical Object
    • getTaskListUsage

      @Nullable public String getTaskListUsage()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TaskListUsage

      Returns:
      Task List Usage
    • getTaskListDesc

      @Nullable public String getTaskListDesc()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TaskListDesc

      Returns:
      Routing Description
    • getWorkCenter

      @Nullable public String getWorkCenter()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WorkCenter

      Returns:
      Work Center
    • getMaintenanceStrategy

      @Nullable public String getMaintenanceStrategy()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: MaintenanceStrategy

      Returns:
      Maintenance Strategy
    • getOperationSystemCondition

      @Nullable public String getOperationSystemCondition()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OperationSystemCondition

      Returns:
      System Condition
    • getAssembly

      @Nullable public String getAssembly()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Assembly

      Returns:
      Assembly
    • getChangeNumber

      @Nullable public String getChangeNumber()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      Change Number
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid-To Date
    • getIsMarkedForDeletion

      @Nullable public Boolean getIsMarkedForDeletion()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsMarkedForDeletion

      Returns:
      Indicator: Delete completely in reorganization run
    • getLastChangeDate

      @Nullable public LocalDate getLastChangeDate()
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Date of the last change made to the task list
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Last Changed By User
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By User
    • getCreationDate

      @Nullable public LocalDate getCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Returns:
      Date Record Created On
    • getPlant

      @Nullable public String getPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getResponsiblePlannerGroup

      @Nullable public String getResponsiblePlannerGroup()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ResponsiblePlannerGroup

      Returns:
      Responsible Planner Group or Department
    • getEquipment

      @Nullable public String getEquipment()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Equipment

      Returns:
      Equipment Number
    • getFunctionalLocationLabelName

      @Nullable public String getFunctionalLocationLabelName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: FunctionalLocationLabelName

      Returns:
      Functional Location Label
    • getTaskListIsHierarchical

      @Nullable public Boolean getTaskListIsHierarchical()
      Constraints: Not nullable

      Original property name from the Odata EDM: TaskListIsHierarchical

      Returns:
      Sign: Task List Contains Hierarchical Operations
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<MaintenanceTaskList>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<MaintenanceTaskList>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<MaintenanceTaskList>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<MaintenanceTaskList>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<MaintenanceTaskList>