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

public class QualityNotificationItemCause extends VdmEntity<QualityNotificationItemCause> implements VdmEntitySet
Quality Notification Item Cause

Original entity name from the Odata EDM: QualityNotificationItemCause_Type

  • Field Details

  • Constructor Details

    • QualityNotificationItemCause

      public QualityNotificationItemCause()
    • QualityNotificationItemCause

      public QualityNotificationItemCause(@Nullable String qualityNotification, @Nullable String notificationItem, @Nullable String notificationCauseID, @Nullable String notificationCauseSortNumber, @Nullable String masterLanguage, @Nullable String notificationCauseText, @Nullable String notificationCauseCodeCatalog, @Nullable String notificationCauseCodeGroup, @Nullable String notificationCauseCode, @Nullable String notificationRootCause, @Nullable Boolean isDeleted, @Nullable Boolean isBusinessPurposeCompleted, @Nullable String createdByUser, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable String lastChangedByUser, @Nullable LocalDate lastChangeDate, @Nullable LocalTime lastChangeTime, @Nullable QualityNotification to_QltyNotification, @Nullable QualityNotificationItem to_QualityNotificationItem)
  • Method Details

    • getType

      @Nonnull public Class<QualityNotificationItemCause> getType()
      Specified by:
      getType in class VdmObject<QualityNotificationItemCause>
    • 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
    • setNotificationItem

      public void setNotificationItem(@Nullable String notificationItem)
      (Key Field) 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)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationCauseID

      Parameters:
      notificationCauseID - Sequential Number for Cause
    • setNotificationCauseSortNumber

      public void setNotificationCauseSortNumber(@Nullable String notificationCauseSortNumber)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationCauseSortNumber

      Parameters:
      notificationCauseSortNumber - Sort Number for Cause
    • setMasterLanguage

      public void setMasterLanguage(@Nullable String masterLanguage)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: MasterLanguage

      Parameters:
      masterLanguage - Master Language
    • setNotificationCauseText

      public void setNotificationCauseText(@Nullable String notificationCauseText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: NotificationCauseText

      Parameters:
      notificationCauseText - Cause Text
    • setNotificationCauseCodeCatalog

      public void setNotificationCauseCodeCatalog(@Nullable String notificationCauseCodeCatalog)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: NotificationCauseCodeCatalog

      Parameters:
      notificationCauseCodeCatalog - Catalog Type - Cause
    • setNotificationCauseCodeGroup

      public void setNotificationCauseCodeGroup(@Nullable String notificationCauseCodeGroup)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: NotificationCauseCodeGroup

      Parameters:
      notificationCauseCodeGroup - Code Group - Cause
    • setNotificationCauseCode

      public void setNotificationCauseCode(@Nullable String notificationCauseCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationCauseCode

      Parameters:
      notificationCauseCode - Cause Code
    • setNotificationRootCause

      public void setNotificationRootCause(@Nullable String notificationRootCause)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: NotificationRootCause

      Parameters:
      notificationRootCause - Root Cause
    • setIsDeleted

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

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - Is Deleted
    • setIsBusinessPurposeCompleted

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

      Original property name from the Odata EDM: IsBusinessPurposeCompleted

      Parameters:
      isBusinessPurposeCompleted - Business Purpose Completed Flag
    • 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
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<QualityNotificationItemCause>
    • 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 QualityNotificationItemCause 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.
    • getQualityNotificationItemIfPresent

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

      If the navigation property for an entity QualityNotificationItemCause 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 _QualityNotificationItem is already loaded, the result will contain the QualityNotificationItem entity. If not, an Option with result state empty is returned.
    • setQualityNotificationItem

      public void setQualityNotificationItem(QualityNotificationItem value)
      Overwrites the associated QualityNotificationItem entity for the loaded navigation property _QualityNotificationItem.
      Parameters:
      value - New QualityNotificationItem entity.
    • 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
    • getNotificationItem

      @Nullable public String getNotificationItem()
      (Key Field) 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()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NotificationCauseID

      Returns:
      Sequential Number for Cause
    • getNotificationCauseSortNumber

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

      Original property name from the Odata EDM: NotificationCauseSortNumber

      Returns:
      Sort Number for Cause
    • getMasterLanguage

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

      Original property name from the Odata EDM: MasterLanguage

      Returns:
      Master Language
    • getNotificationCauseText

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

      Original property name from the Odata EDM: NotificationCauseText

      Returns:
      Cause Text
    • getNotificationCauseCodeCatalog

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

      Original property name from the Odata EDM: NotificationCauseCodeCatalog

      Returns:
      Catalog Type - Cause
    • getNotificationCauseCodeGroup

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

      Original property name from the Odata EDM: NotificationCauseCodeGroup

      Returns:
      Code Group - Cause
    • getNotificationCauseCode

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

      Original property name from the Odata EDM: NotificationCauseCode

      Returns:
      Cause Code
    • getNotificationRootCause

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

      Original property name from the Odata EDM: NotificationRootCause

      Returns:
      Root Cause
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      Is Deleted
    • getIsBusinessPurposeCompleted

      @Nullable public Boolean getIsBusinessPurposeCompleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsBusinessPurposeCompleted

      Returns:
      Business Purpose Completed Flag
    • 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
    • toString

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

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

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

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

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