java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.statutoryreportingtask.Activity.ActivityBuilder
Enclosing class:
Activity

public static final class Activity.ActivityBuilder extends Object
Helper class to allow for fluent creation of Activity instances.
  • Method Details

    • phase

      @Nonnull public Activity.ActivityBuilder phase(Phase value)
      Navigation property _Phase for Activity to single Phase.
      Parameters:
      value - The Phase to build this Activity with.
      Returns:
      This Builder to allow for a fluent interface.
    • run

      @Nonnull public Activity.ActivityBuilder run(Run... value)
      Navigation property _Run for Activity to multiple Run.
      Parameters:
      value - The Runs to build this Activity with.
      Returns:
      This Builder to allow for a fluent interface.
    • task

      @Nonnull public Activity.ActivityBuilder task(Task value)
      Navigation property _Task for Activity to single Task.
      Parameters:
      value - The Task to build this Activity with.
      Returns:
      This Builder to allow for a fluent interface.
    • statryRptActivityUUID

      @Nonnull public Activity.ActivityBuilder statryRptActivityUUID(@Nullable UUID statryRptActivityUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: StatryRptActivityUUID

      Returns:
      this.
    • statryRptPhaseUUID

      @Nonnull public Activity.ActivityBuilder statryRptPhaseUUID(@Nullable UUID statryRptPhaseUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: StatryRptPhaseUUID

      Returns:
      this.
    • statryRptTaskUUID

      @Nonnull public Activity.ActivityBuilder statryRptTaskUUID(@Nullable UUID statryRptTaskUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: StatryRptTaskUUID

      Returns:
      this.
    • statryRptgEntity

      @Nonnull public Activity.ActivityBuilder statryRptgEntity(@Nullable String statryRptgEntity)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: StatryRptgEntity

      Returns:
      this.
    • statryRptCategory

      @Nonnull public Activity.ActivityBuilder statryRptCategory(@Nullable String statryRptCategory)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: StatryRptCategory

      Returns:
      this.
    • statryRptActivityId

      @Nonnull public Activity.ActivityBuilder statryRptActivityId(@Nullable String statryRptActivityId)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: StatryRptActivityId

      Returns:
      this.
    • statryRptActivityType

      @Nonnull public Activity.ActivityBuilder statryRptActivityType(@Nullable String statryRptActivityType)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: StatryRptActivityType

      Returns:
      this.
    • statryRptActivityPhase

      @Nonnull public Activity.ActivityBuilder statryRptActivityPhase(@Nullable String statryRptActivityPhase)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: StatryRptActivityPhase

      Returns:
      this.
    • statryRptActivityStatus

      @Nonnull public Activity.ActivityBuilder statryRptActivityStatus(@Nullable String statryRptActivityStatus)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: StatryRptActivityStatus

      Returns:
      this.
    • statryRptTaskDueDate

      @Nonnull public Activity.ActivityBuilder statryRptTaskDueDate(@Nullable LocalDate statryRptTaskDueDate)
      Constraints: Nullable

      Original property name from the Odata EDM: StatryRptTaskDueDate

      Returns:
      this.
    • _Messages

      @Nonnull public Activity.ActivityBuilder _Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      this.
    • build

      @Nonnull public Activity build()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object