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

public class QualityTaskLongText extends VdmEntity<QualityTaskLongText> implements VdmEntitySet
Quality Task Long Text

Original entity name from the Odata EDM: QualityTaskLongText_Type

  • Field Details

  • Constructor Details

    • QualityTaskLongText

      public QualityTaskLongText()
    • QualityTaskLongText

      public QualityTaskLongText(@Nullable String qualityTaskInternalId, @Nullable Short longTextInternalNumber, @Nullable String language, @Nullable String longTextID, @Nullable String qualityTaskLongText, @Nullable String longTextCreatedByUser, @Nullable OffsetDateTime longTextCreatedAt, @Nullable String longTextLastChangedByUser, @Nullable OffsetDateTime longTextLastChangedAt, @Nullable QualityTask to_QualityTask)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: QualityTaskInternalId

      Parameters:
      qualityTaskInternalId - Notification Number
    • setLongTextInternalNumber

      public void setLongTextInternalNumber(@Nullable Short longTextInternalNumber)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LongTextInternalNumber

      Parameters:
      longTextInternalNumber - Long Text Counter
    • setLanguage

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

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setLongTextID

      public void setLongTextID(@Nullable String longTextID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LongTextID

      Parameters:
      longTextID - Text ID
    • setQualityTaskLongText

      public void setQualityTaskLongText(@Nullable String qualityTaskLongText)
      Constraints: Not nullable

      Original property name from the Odata EDM: QualityTaskLongText

      Parameters:
      qualityTaskLongText - Long Text
    • setLongTextCreatedByUser

      public void setLongTextCreatedByUser(@Nullable String longTextCreatedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LongTextCreatedByUser

      Parameters:
      longTextCreatedByUser - Name of Person Responsible for Creating the Object
    • setLongTextCreatedAt

      public void setLongTextCreatedAt(@Nullable OffsetDateTime longTextCreatedAt)
      Constraints: Nullable

      Original property name from the Odata EDM: LongTextCreatedAt

      Parameters:
      longTextCreatedAt - Long Text Created On as Timestamp in UTC
    • setLongTextLastChangedByUser

      public void setLongTextLastChangedByUser(@Nullable String longTextLastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LongTextLastChangedByUser

      Parameters:
      longTextLastChangedByUser - Name of Person Who Changed Object
    • setLongTextLastChangedAt

      public void setLongTextLastChangedAt(@Nullable OffsetDateTime longTextLastChangedAt)
      Constraints: Nullable

      Original property name from the Odata EDM: LongTextLastChangedAt

      Parameters:
      longTextLastChangedAt - Long Text Changed On as Timestamp in UTC
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity QualityTaskLongText 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 _QualityTask is already loaded, the result will contain the QualityTask entity. If not, an Option with result state empty is returned.
    • setQualityTask

      public void setQualityTask(QualityTask value)
      Overwrites the associated QualityTask entity for the loaded navigation property _QualityTask.
      Parameters:
      value - New QualityTask entity.
    • builder

      @Nonnull public static QualityTaskLongText.QualityTaskLongTextBuilder builder()
    • getQualityTaskInternalId

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

      Original property name from the Odata EDM: QualityTaskInternalId

      Returns:
      Notification Number
    • getLongTextInternalNumber

      @Nullable public Short getLongTextInternalNumber()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LongTextInternalNumber

      Returns:
      Long Text Counter
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getLongTextID

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

      Original property name from the Odata EDM: LongTextID

      Returns:
      Text ID
    • getQualityTaskLongText

      @Nullable public String getQualityTaskLongText()
      Constraints: Not nullable

      Original property name from the Odata EDM: QualityTaskLongText

      Returns:
      Long Text
    • getLongTextCreatedByUser

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

      Original property name from the Odata EDM: LongTextCreatedByUser

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

      @Nullable public OffsetDateTime getLongTextCreatedAt()
      Constraints: Nullable

      Original property name from the Odata EDM: LongTextCreatedAt

      Returns:
      Long Text Created On as Timestamp in UTC
    • getLongTextLastChangedByUser

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

      Original property name from the Odata EDM: LongTextLastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getLongTextLastChangedAt

      @Nullable public OffsetDateTime getLongTextLastChangedAt()
      Constraints: Nullable

      Original property name from the Odata EDM: LongTextLastChangedAt

      Returns:
      Long Text Changed On as Timestamp in UTC
    • toString

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

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

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

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

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