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

public class MaintenanceTaskListLongText extends VdmEntity<MaintenanceTaskListLongText> implements VdmEntitySet
Header Long Texts

Original entity name from the Odata EDM: MaintenanceTaskListLongTextType

  • Field Details

  • Constructor Details

    • MaintenanceTaskListLongText

      public MaintenanceTaskListLongText()
    • MaintenanceTaskListLongText

      public MaintenanceTaskListLongText(@Nullable String taskListType, @Nullable String taskListGroup, @Nullable String taskListGroupCounter, @Nullable String taskListVersionCounter, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable String plainLongText, @Nullable String language, @Nullable Collection<SAP__Message> _Messages, @Nullable MaintenanceTaskList to_MaintenanceTaskList)
  • Method Details

    • getType

      @Nonnull public Class<MaintenanceTaskListLongText> getType()
      Specified by:
      getType in class VdmObject<MaintenanceTaskListLongText>
    • 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 - Key for Task List Group
    • 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
    • setTaskListVersionCounter

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

      Original property name from the Odata EDM: TaskListVersionCounter

      Parameters:
      taskListVersionCounter - Internal counter
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDate validityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDate validityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid-To Date
    • setPlainLongText

      public void setPlainLongText(@Nullable String plainLongText)
      Constraints: Not nullable

      Original property name from the Odata EDM: PlainLongText

      Parameters:
      plainLongText - Long Text
    • setLanguage

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

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • 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<MaintenanceTaskListLongText>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity MaintenanceTaskListLongText 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 _MaintenanceTaskList is already loaded, the result will contain the MaintenanceTaskList entity. If not, an Option with result state empty is returned.
    • setMaintenanceTaskList

      public void setMaintenanceTaskList(MaintenanceTaskList value)
      Overwrites the associated MaintenanceTaskList entity for the loaded navigation property _MaintenanceTaskList.
      Parameters:
      value - New MaintenanceTaskList entity.
    • 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:
      Key for Task List Group
    • getTaskListGroupCounter

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

      Original property name from the Odata EDM: TaskListGroupCounter

      Returns:
      Group Counter
    • getTaskListVersionCounter

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

      Original property name from the Odata EDM: TaskListVersionCounter

      Returns:
      Internal counter
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid-To Date
    • getPlainLongText

      @Nullable public String getPlainLongText()
      Constraints: Not nullable

      Original property name from the Odata EDM: PlainLongText

      Returns:
      Long Text
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • 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<MaintenanceTaskListLongText>
    • equals

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

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

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

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