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

public class QualityNotificationTask extends VdmEntity<QualityNotificationTask> implements VdmEntitySet
Quality Notification Task

Original entity name from the Odata EDM: QualityNotificationTask_Type

  • Field Details

  • Constructor Details

    • QualityNotificationTask

      public QualityNotificationTask()
    • QualityNotificationTask

      public QualityNotificationTask(@Nullable String qualityNotification, @Nullable String notificationTask, @Nullable String notificationTaskText, @Nullable Boolean isDeleted, @Nullable LocalDate notifTaskPlannedStartDate, @Nullable LocalTime notifTaskPlannedStartTime, @Nullable LocalDate notifTaskPlannedEndDate, @Nullable LocalTime notifTaskPlannedEndTime, @Nullable String statusObject, @Nullable String notifTaskCompletedByUser, @Nullable LocalDate notifTaskCompletionDate, @Nullable LocalTime notifTaskCompletionTime, @Nullable String responsiblePersonFunctionCode, @Nullable String personResponsible, @Nullable String notificationTaskSortNumber, @Nullable String notificationItem, @Nullable String notificationCauseID, @Nullable String qualityTaskCodeCatalog, @Nullable String qualityTaskCodeGroup, @Nullable String qualityTaskCode, @Nullable BigDecimal qltyTaskTimeBasedEffort, @Nullable String qltyTaskTimeBasedEffortUoM, @Nullable String createdByUser, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable String lastChangedByUser, @Nullable LocalDate lastChangeDate, @Nullable LocalTime lastChangeTime, @Nullable String notificationType, @Nullable String plant, @Nullable Boolean isBusinessPurposeCompleted, @Nullable QualityNotification to_QltyNotification, List<QltyNotificationTaskLongText> to_QltyNotificationTaskLongText)
  • Method Details

    • getType

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

      public void setQualityNotification(@Nullable String qualityNotification)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: QualityNotification

      Parameters:
      qualityNotification - Notification Number
    • setNotificationTask

      public void setNotificationTask(@Nullable String notificationTask)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationTask

      Parameters:
      notificationTask - Sequential Task Number
    • setNotificationTaskText

      public void setNotificationTaskText(@Nullable String notificationTaskText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: NotificationTaskText

      Parameters:
      notificationTaskText - Short Text for Task
    • setIsDeleted

      public void setIsDeleted(@Nullable Boolean isDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - Delete Data Record
    • setNotifTaskPlannedStartDate

      public void setNotifTaskPlannedStartDate(@Nullable LocalDate notifTaskPlannedStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: NotifTaskPlannedStartDate

      Parameters:
      notifTaskPlannedStartDate - Planned Start Date
    • setNotifTaskPlannedStartTime

      public void setNotifTaskPlannedStartTime(@Nullable LocalTime notifTaskPlannedStartTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: NotifTaskPlannedStartTime

      Parameters:
      notifTaskPlannedStartTime - Planned Start Time for Task
    • setNotifTaskPlannedEndDate

      public void setNotifTaskPlannedEndDate(@Nullable LocalDate notifTaskPlannedEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: NotifTaskPlannedEndDate

      Parameters:
      notifTaskPlannedEndDate - Planned Finish Date
    • setNotifTaskPlannedEndTime

      public void setNotifTaskPlannedEndTime(@Nullable LocalTime notifTaskPlannedEndTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: NotifTaskPlannedEndTime

      Parameters:
      notifTaskPlannedEndTime - Planned Finish Time for Task
    • setStatusObject

      public void setStatusObject(@Nullable String statusObject)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: StatusObject

      Parameters:
      statusObject - Object Number for Status Management
    • setNotifTaskCompletedByUser

      public void setNotifTaskCompletedByUser(@Nullable String notifTaskCompletedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: NotifTaskCompletedByUser

      Parameters:
      notifTaskCompletedByUser - Person Who Completed the Task
    • setNotifTaskCompletionDate

      public void setNotifTaskCompletionDate(@Nullable LocalDate notifTaskCompletionDate)
      Constraints: Nullable

      Original property name from the Odata EDM: NotifTaskCompletionDate

      Parameters:
      notifTaskCompletionDate - Date on Which the Task Was Completed
    • setNotifTaskCompletionTime

      public void setNotifTaskCompletionTime(@Nullable LocalTime notifTaskCompletionTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: NotifTaskCompletionTime

      Parameters:
      notifTaskCompletionTime - Time at Which Task Was Completed
    • setResponsiblePersonFunctionCode

      public void setResponsiblePersonFunctionCode(@Nullable String responsiblePersonFunctionCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ResponsiblePersonFunctionCode

      Parameters:
      responsiblePersonFunctionCode - Partner Function: Person/Department Responsible
    • setPersonResponsible

      public void setPersonResponsible(@Nullable String personResponsible)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: PersonResponsible

      Parameters:
      personResponsible - Person Responsible for Task (Partner Number)
    • setNotificationTaskSortNumber

      public void setNotificationTaskSortNumber(@Nullable String notificationTaskSortNumber)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationTaskSortNumber

      Parameters:
      notificationTaskSortNumber - Sort Number for Task
    • setNotificationItem

      public void setNotificationItem(@Nullable String notificationItem)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationItem

      Parameters:
      notificationItem - Item Number in Item Record
    • setNotificationCauseID

      public void setNotificationCauseID(@Nullable String notificationCauseID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationCauseID

      Parameters:
      notificationCauseID - Sequential Number for Cause
    • setQualityTaskCodeCatalog

      public void setQualityTaskCodeCatalog(@Nullable String qualityTaskCodeCatalog)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: QualityTaskCodeCatalog

      Parameters:
      qualityTaskCodeCatalog - Catalog Type - Tasks
    • setQualityTaskCodeGroup

      public void setQualityTaskCodeGroup(@Nullable String qualityTaskCodeGroup)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: QualityTaskCodeGroup

      Parameters:
      qualityTaskCodeGroup - Code Group - Tasks
    • setQualityTaskCode

      public void setQualityTaskCode(@Nullable String qualityTaskCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: QualityTaskCode

      Parameters:
      qualityTaskCode - Task Code
    • setQltyTaskTimeBasedEffort

      public void setQltyTaskTimeBasedEffort(@Nullable BigDecimal qltyTaskTimeBasedEffort)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: QltyTaskTimeBasedEffort

      Parameters:
      qltyTaskTimeBasedEffort - Time Effort for Task
    • setQltyTaskTimeBasedEffortUoM

      public void setQltyTaskTimeBasedEffortUoM(@Nullable String qltyTaskTimeBasedEffortUoM)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: QltyTaskTimeBasedEffortUoM

      Parameters:
      qltyTaskTimeBasedEffortUoM - Unit for Task Effort
    • setCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Responsible for Creating the Object
    • setCreationDate

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

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • setCreationTime

      public void setCreationTime(@Nullable LocalTime creationTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: CreationTime

      Parameters:
      creationTime - Time at Which Record Was Added
    • setLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Name of Person Who Changed Object
    • setLastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • setLastChangeTime

      public void setLastChangeTime(@Nullable LocalTime lastChangeTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: LastChangeTime

      Parameters:
      lastChangeTime - Time of Change
    • setNotificationType

      public void setNotificationType(@Nullable String notificationType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: NotificationType

      Parameters:
      notificationType - Notification Type
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant for Material
    • setIsBusinessPurposeCompleted

      public void setIsBusinessPurposeCompleted(@Nullable Boolean isBusinessPurposeCompleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsBusinessPurposeCompleted

      Parameters:
      isBusinessPurposeCompleted - Business Purpose Completed Flag
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity QualityNotificationTask 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 _QltyNotification is already loaded, the result will contain the QualityNotification entity. If not, an Option with result state empty is returned.
    • setQltyNotification

      public void setQltyNotification(QualityNotification value)
      Overwrites the associated QualityNotification entity for the loaded navigation property _QltyNotification.
      Parameters:
      value - New QualityNotification entity.
    • getQltyNotificationTaskLongTextIfPresent

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

      If the navigation property for an entity QualityNotificationTask 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 _QltyNotificationTaskLongText is already loaded, the result will contain the QltyNotificationTaskLongText entities. If not, an Option with result state empty is returned.
    • setQltyNotificationTaskLongText

      public void setQltyNotificationTaskLongText(@Nonnull List<QltyNotificationTaskLongText> value)
      Overwrites the list of associated QltyNotificationTaskLongText entities for the loaded navigation property _QltyNotificationTaskLongText.

      If the navigation property _QltyNotificationTaskLongText of a queried QualityNotificationTask 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 QltyNotificationTaskLongText entities.
    • addQltyNotificationTaskLongText

      public void addQltyNotificationTaskLongText(QltyNotificationTaskLongText... entity)
      Adds elements to the list of associated QltyNotificationTaskLongText entities. This corresponds to the OData navigation property _QltyNotificationTaskLongText.

      If the navigation property _QltyNotificationTaskLongText of a queried QualityNotificationTask 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 QltyNotificationTaskLongText entities.
    • builder

    • getQualityNotification

      @Nullable public String getQualityNotification()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: QualityNotification

      Returns:
      Notification Number
    • getNotificationTask

      @Nullable public String getNotificationTask()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationTask

      Returns:
      Sequential Task Number
    • getNotificationTaskText

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

      Original property name from the Odata EDM: NotificationTaskText

      Returns:
      Short Text for Task
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      Delete Data Record
    • getNotifTaskPlannedStartDate

      @Nullable public LocalDate getNotifTaskPlannedStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: NotifTaskPlannedStartDate

      Returns:
      Planned Start Date
    • getNotifTaskPlannedStartTime

      @Nullable public LocalTime getNotifTaskPlannedStartTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: NotifTaskPlannedStartTime

      Returns:
      Planned Start Time for Task
    • getNotifTaskPlannedEndDate

      @Nullable public LocalDate getNotifTaskPlannedEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: NotifTaskPlannedEndDate

      Returns:
      Planned Finish Date
    • getNotifTaskPlannedEndTime

      @Nullable public LocalTime getNotifTaskPlannedEndTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: NotifTaskPlannedEndTime

      Returns:
      Planned Finish Time for Task
    • getStatusObject

      @Nullable public String getStatusObject()
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: StatusObject

      Returns:
      Object Number for Status Management
    • getNotifTaskCompletedByUser

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

      Original property name from the Odata EDM: NotifTaskCompletedByUser

      Returns:
      Person Who Completed the Task
    • getNotifTaskCompletionDate

      @Nullable public LocalDate getNotifTaskCompletionDate()
      Constraints: Nullable

      Original property name from the Odata EDM: NotifTaskCompletionDate

      Returns:
      Date on Which the Task Was Completed
    • getNotifTaskCompletionTime

      @Nullable public LocalTime getNotifTaskCompletionTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: NotifTaskCompletionTime

      Returns:
      Time at Which Task Was Completed
    • getResponsiblePersonFunctionCode

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

      Original property name from the Odata EDM: ResponsiblePersonFunctionCode

      Returns:
      Partner Function: Person/Department Responsible
    • getPersonResponsible

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

      Original property name from the Odata EDM: PersonResponsible

      Returns:
      Person Responsible for Task (Partner Number)
    • getNotificationTaskSortNumber

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

      Original property name from the Odata EDM: NotificationTaskSortNumber

      Returns:
      Sort Number for Task
    • getNotificationItem

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

      Original property name from the Odata EDM: NotificationItem

      Returns:
      Item Number in Item Record
    • getNotificationCauseID

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

      Original property name from the Odata EDM: NotificationCauseID

      Returns:
      Sequential Number for Cause
    • getQualityTaskCodeCatalog

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

      Original property name from the Odata EDM: QualityTaskCodeCatalog

      Returns:
      Catalog Type - Tasks
    • getQualityTaskCodeGroup

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

      Original property name from the Odata EDM: QualityTaskCodeGroup

      Returns:
      Code Group - Tasks
    • getQualityTaskCode

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

      Original property name from the Odata EDM: QualityTaskCode

      Returns:
      Task Code
    • getQltyTaskTimeBasedEffort

      @Nullable public BigDecimal getQltyTaskTimeBasedEffort()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: QltyTaskTimeBasedEffort

      Returns:
      Time Effort for Task
    • getQltyTaskTimeBasedEffortUoM

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

      Original property name from the Odata EDM: QltyTaskTimeBasedEffortUoM

      Returns:
      Unit for Task Effort
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Responsible for Creating the Object
    • getCreationDate

      @Nullable public LocalDate getCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • getCreationTime

      @Nullable public LocalTime getCreationTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CreationTime

      Returns:
      Time at Which Record Was Added
    • getLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getLastChangeDate

      @Nullable public LocalDate getLastChangeDate()
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • getLastChangeTime

      @Nullable public LocalTime getLastChangeTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: LastChangeTime

      Returns:
      Time of Change
    • getNotificationType

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

      Original property name from the Odata EDM: NotificationType

      Returns:
      Notification Type
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant for Material
    • getIsBusinessPurposeCompleted

      @Nullable public Boolean getIsBusinessPurposeCompleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsBusinessPurposeCompleted

      Returns:
      Business Purpose Completed Flag
    • toString

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

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

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

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

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