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

public class MaintenanceTaskListOpReltnshp extends VdmEntity<MaintenanceTaskListOpReltnshp> implements VdmEntitySet
Operation Relationships

Original entity name from the Odata EDM: MaintenanceTaskListOpReltnshpType

  • Field Details

  • Constructor Details

    • MaintenanceTaskListOpReltnshp

      public MaintenanceTaskListOpReltnshp()
    • MaintenanceTaskListOpReltnshp

      public MaintenanceTaskListOpReltnshp(@Nullable String taskListType, @Nullable String taskListGroup, @Nullable String taskListGroupCounter, @Nullable String taskListSequence, @Nullable String taskListOperationInternalId, @Nullable String taskListOpBOMItmIntVersCounter, @Nullable String maintenanceTaskListOperation, @Nullable String superiorOperation, @Nullable String operationText, @Nullable String masterRecipeRelationshipType, @Nullable Boolean operationIsSuccessor, @Nullable String factoryCalendar, @Nullable String workCenter, @Nullable String plant, @Nullable Boolean maxTimeIntvlIsUsedForSchedg, @Nullable String bOORelationshipType, @Nullable BigDecimal timeIntvlBtwnRelshp, @Nullable String timeIntvlBtwnRelshpUnit, @Nullable String workCenterInternalID, @Nullable Collection<SAP__Message> _Messages, List<MaintenanceTaskListOperation> to_Operation)
  • Method Details

    • getType

      @Nonnull public Class<MaintenanceTaskListOpReltnshp> getType()
      Specified by:
      getType in class VdmObject<MaintenanceTaskListOpReltnshp>
    • 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 - Number of the Standard Network
    • 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
    • setTaskListSequence

      public void setTaskListSequence(@Nullable String taskListSequence)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: TaskListSequence

      Parameters:
      taskListSequence - Sequence
    • setTaskListOperationInternalId

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

      Original property name from the Odata EDM: TaskListOperationInternalId

      Parameters:
      taskListOperationInternalId - Number of the Task List Node
    • setTaskListOpBOMItmIntVersCounter

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

      Original property name from the Odata EDM: TaskListOpBOMItmIntVersCounter

      Parameters:
      taskListOpBOMItmIntVersCounter - Internal counter
    • setMaintenanceTaskListOperation

      public void setMaintenanceTaskListOperation(@Nullable String maintenanceTaskListOperation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaintenanceTaskListOperation

      Parameters:
      maintenanceTaskListOperation - Operation / Phase Number
    • setSuperiorOperation

      public void setSuperiorOperation(@Nullable String superiorOperation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SuperiorOperation

      Parameters:
      superiorOperation - Operation / Phase Number
    • setOperationText

      public void setOperationText(@Nullable String operationText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: OperationText

      Parameters:
      operationText - Operation Short Text
    • setMasterRecipeRelationshipType

      public void setMasterRecipeRelationshipType(@Nullable String masterRecipeRelationshipType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: MasterRecipeRelationshipType

      Parameters:
      masterRecipeRelationshipType - Type of relationship
    • setOperationIsSuccessor

      public void setOperationIsSuccessor(@Nullable Boolean operationIsSuccessor)
      Constraints: Not nullable

      Original property name from the Odata EDM: OperationIsSuccessor

      Parameters:
      operationIsSuccessor - Indicator: maintained after successor
    • setFactoryCalendar

      public void setFactoryCalendar(@Nullable String factoryCalendar)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FactoryCalendar

      Parameters:
      factoryCalendar - Factory Calendar
    • 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
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setMaxTimeIntvlIsUsedForSchedg

      public void setMaxTimeIntvlIsUsedForSchedg(@Nullable Boolean maxTimeIntvlIsUsedForSchedg)
      Constraints: Not nullable

      Original property name from the Odata EDM: MaxTimeIntvlIsUsedForSchedg

      Parameters:
      maxTimeIntvlIsUsedForSchedg - Indicates whether maximum time interval will be considered
    • setBOORelationshipType

      public void setBOORelationshipType(@Nullable String bOORelationshipType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BOORelationshipType

      Parameters:
      bOORelationshipType - Key for type of relationship
    • setTimeIntvlBtwnRelshp

      public void setTimeIntvlBtwnRelshp(@Nullable BigDecimal timeIntvlBtwnRelshp)
      Constraints: Not nullable, Precision: 5, Scale: 1

      Original property name from the Odata EDM: TimeIntvlBtwnRelshp

      Parameters:
      timeIntvlBtwnRelshp - Time Interval Between Relationships
    • setTimeIntvlBtwnRelshpUnit

      public void setTimeIntvlBtwnRelshpUnit(@Nullable String timeIntvlBtwnRelshpUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TimeIntvlBtwnRelshpUnit

      Parameters:
      timeIntvlBtwnRelshpUnit - Unit for the time interval between relationships
    • setWorkCenterInternalID

      public void setWorkCenterInternalID(@Nullable String workCenterInternalID)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WorkCenterInternalID

      Parameters:
      workCenterInternalID - Object ID
    • 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<MaintenanceTaskListOpReltnshp>
    • getKey

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<MaintenanceTaskListOpReltnshp>
    • 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 MaintenanceTaskListOpReltnshp 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 MaintenanceTaskListOpReltnshp 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 MaintenanceTaskListOpReltnshp 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.
    • 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:
      Number of the Standard Network
    • getTaskListGroupCounter

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

      Original property name from the Odata EDM: TaskListGroupCounter

      Returns:
      Group Counter
    • getTaskListSequence

      @Nullable public String getTaskListSequence()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: TaskListSequence

      Returns:
      Sequence
    • getTaskListOperationInternalId

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

      Original property name from the Odata EDM: TaskListOperationInternalId

      Returns:
      Number of the Task List Node
    • getTaskListOpBOMItmIntVersCounter

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

      Original property name from the Odata EDM: TaskListOpBOMItmIntVersCounter

      Returns:
      Internal counter
    • getMaintenanceTaskListOperation

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

      Original property name from the Odata EDM: MaintenanceTaskListOperation

      Returns:
      Operation / Phase Number
    • getSuperiorOperation

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

      Original property name from the Odata EDM: SuperiorOperation

      Returns:
      Operation / Phase Number
    • getOperationText

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

      Original property name from the Odata EDM: OperationText

      Returns:
      Operation Short Text
    • getMasterRecipeRelationshipType

      @Nullable public String getMasterRecipeRelationshipType()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: MasterRecipeRelationshipType

      Returns:
      Type of relationship
    • getOperationIsSuccessor

      @Nullable public Boolean getOperationIsSuccessor()
      Constraints: Not nullable

      Original property name from the Odata EDM: OperationIsSuccessor

      Returns:
      Indicator: maintained after successor
    • getFactoryCalendar

      @Nullable public String getFactoryCalendar()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FactoryCalendar

      Returns:
      Factory Calendar
    • getWorkCenter

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

      Original property name from the Odata EDM: WorkCenter

      Returns:
      Work Center
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getMaxTimeIntvlIsUsedForSchedg

      @Nullable public Boolean getMaxTimeIntvlIsUsedForSchedg()
      Constraints: Not nullable

      Original property name from the Odata EDM: MaxTimeIntvlIsUsedForSchedg

      Returns:
      Indicates whether maximum time interval will be considered
    • getBOORelationshipType

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

      Original property name from the Odata EDM: BOORelationshipType

      Returns:
      Key for type of relationship
    • getTimeIntvlBtwnRelshp

      @Nullable public BigDecimal getTimeIntvlBtwnRelshp()
      Constraints: Not nullable, Precision: 5, Scale: 1

      Original property name from the Odata EDM: TimeIntvlBtwnRelshp

      Returns:
      Time Interval Between Relationships
    • getTimeIntvlBtwnRelshpUnit

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

      Original property name from the Odata EDM: TimeIntvlBtwnRelshpUnit

      Returns:
      Unit for the time interval between relationships
    • getWorkCenterInternalID

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

      Original property name from the Odata EDM: WorkCenterInternalID

      Returns:
      Object ID
    • 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<MaintenanceTaskListOpReltnshp>
    • equals

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

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

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

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