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

public class QualityNotificationPartner extends VdmEntity<QualityNotificationPartner> implements VdmEntitySet
Quality Notification Partner

Original entity name from the Odata EDM: QualityNotificationPartner_Type

  • Field Details

  • Constructor Details

    • QualityNotificationPartner

      public QualityNotificationPartner()
    • QualityNotificationPartner

      public QualityNotificationPartner(@Nullable String qualityNotification, @Nullable String partnerFunction, @Nullable String notificationPartnerObjectNmbr, @Nullable String notificationPartnerObject, @Nullable String notificationObjectType, @Nullable String notificationPartner, @Nullable String createdByUser, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable String lastChangedByUser, @Nullable LocalTime lastChangeTime, @Nullable LocalDate lastChangeDate, @Nullable Boolean isDeleted, @Nullable QualityNotification to_QltyNotification)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: PartnerFunction

      Parameters:
      partnerFunction - Partner Function
    • setNotificationPartnerObjectNmbr

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

      Original property name from the Odata EDM: NotificationPartnerObjectNmbr

      Parameters:
      notificationPartnerObjectNmbr - Counter for differentiation 6-digit
    • setNotificationPartnerObject

      public void setNotificationPartnerObject(@Nullable String notificationPartnerObject)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: NotificationPartnerObject

      Parameters:
      notificationPartnerObject - Object Number
    • setNotificationObjectType

      public void setNotificationObjectType(@Nullable String notificationObjectType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: NotificationObjectType

      Parameters:
      notificationObjectType - Object Category
    • setNotificationPartner

      public void setNotificationPartner(@Nullable String notificationPartner)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: NotificationPartner

      Parameters:
      notificationPartner - Partner
    • 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
    • setLastChangeTime

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

      Original property name from the Odata EDM: LastChangeTime

      Parameters:
      lastChangeTime - Time of Change
    • setLastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • setIsDeleted

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

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - Delete Data Record
    • getEntityCollection

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

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

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

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

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

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

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

      Original property name from the Odata EDM: PartnerFunction

      Returns:
      Partner Function
    • getNotificationPartnerObjectNmbr

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

      Original property name from the Odata EDM: NotificationPartnerObjectNmbr

      Returns:
      Counter for differentiation 6-digit
    • getNotificationPartnerObject

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

      Original property name from the Odata EDM: NotificationPartnerObject

      Returns:
      Object Number
    • getNotificationObjectType

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

      Original property name from the Odata EDM: NotificationObjectType

      Returns:
      Object Category
    • getNotificationPartner

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

      Original property name from the Odata EDM: NotificationPartner

      Returns:
      Partner
    • 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
    • getLastChangeTime

      @Nullable public LocalTime getLastChangeTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: LastChangeTime

      Returns:
      Time of Change
    • getLastChangeDate

      @Nullable public LocalDate getLastChangeDate()
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      Delete Data Record
    • toString

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

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

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

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

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