java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.Project.ProjectBuilder
Enclosing class:
Project

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

    • projectRoleSet

      @Nonnull public Project.ProjectBuilder projectRoleSet(ProjectRole... value)
      Navigation property ProjectRoleSet for Project to multiple ProjectRole.
      Parameters:
      value - The ProjectRoles to build this Project with.
      Returns:
      This Builder to allow for a fluent interface.
    • workPackageSet

      @Nonnull public Project.ProjectBuilder workPackageSet(WorkPackage... value)
      Navigation property WorkPackageSet for Project to multiple WorkPackage.
      Parameters:
      value - The WorkPackages to build this Project with.
      Returns:
      This Builder to allow for a fluent interface.
    • projectID

      @Nonnull public Project.ProjectBuilder projectID(@Nullable String projectID)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProjectID

      Returns:
      this.
    • projectName

      @Nonnull public Project.ProjectBuilder projectName(@Nullable String projectName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProjectName

      Returns:
      this.
    • projectStage

      @Nonnull public Project.ProjectBuilder projectStage(@Nullable String projectStage)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjectStage

      Returns:
      this.
    • orgID

      @Nonnull public Project.ProjectBuilder orgID(@Nullable String orgID)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: OrgID

      Returns:
      this.
    • projectCategory

      @Nonnull public Project.ProjectBuilder projectCategory(@Nullable String projectCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProjectCategory

      Returns:
      this.
    • currency

      @Nonnull public Project.ProjectBuilder currency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Returns:
      this.
    • startDate

      @Nonnull public Project.ProjectBuilder startDate(@Nullable LocalDateTime startDate)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: StartDate

      Returns:
      this.
    • endDate

      @Nonnull public Project.ProjectBuilder endDate(@Nullable LocalDateTime endDate)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: EndDate

      Returns:
      this.
    • projManagerExtId

      @Nonnull public Project.ProjectBuilder projManagerExtId(@Nullable String projManagerExtId)
      Constraints: Not nullable, Maximum length: 38

      Original property name from the Odata EDM: ProjManagerExtId

      Returns:
      this.
    • projManagerCompCode

      @Nonnull public Project.ProjectBuilder projManagerCompCode(@Nullable String projManagerCompCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjManagerCompCode

      Returns:
      this.
    • customer

      @Nonnull public Project.ProjectBuilder customer(@Nullable String customer)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Customer

      Returns:
      this.
    • costCenter

      @Nonnull public Project.ProjectBuilder costCenter(@Nullable String costCenter)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CostCenter

      Returns:
      this.
    • profitCenter

      @Nonnull public Project.ProjectBuilder profitCenter(@Nullable String profitCenter)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProfitCenter

      Returns:
      this.
    • projAccountantExtId

      @Nonnull public Project.ProjectBuilder projAccountantExtId(@Nullable String projAccountantExtId)
      Constraints: Not nullable, Maximum length: 38

      Original property name from the Odata EDM: ProjAccountantExtId

      Returns:
      this.
    • projAccountantCompCode

      @Nonnull public Project.ProjectBuilder projAccountantCompCode(@Nullable String projAccountantCompCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjAccountantCompCode

      Returns:
      this.
    • projControllerExtId

      @Nonnull public Project.ProjectBuilder projControllerExtId(@Nullable String projControllerExtId)
      Constraints: Not nullable, Maximum length: 38

      Original property name from the Odata EDM: ProjControllerExtId

      Returns:
      this.
    • projControllerCompCode

      @Nonnull public Project.ProjectBuilder projControllerCompCode(@Nullable String projControllerCompCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjControllerCompCode

      Returns:
      this.
    • projPartnerExtId

      @Nonnull public Project.ProjectBuilder projPartnerExtId(@Nullable String projPartnerExtId)
      Constraints: Not nullable, Maximum length: 38

      Original property name from the Odata EDM: ProjPartnerExtId

      Returns:
      this.
    • projPartnerCompCode

      @Nonnull public Project.ProjectBuilder projPartnerCompCode(@Nullable String projPartnerCompCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjPartnerCompCode

      Returns:
      this.
    • projectDesc

      @Nonnull public Project.ProjectBuilder projectDesc(@Nullable String projectDesc)
      Constraints: none

      Original property name from the Odata EDM: ProjectDesc

      Returns:
      this.
    • confidential

      @Nonnull public Project.ProjectBuilder confidential(@Nullable String confidential)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: Confidential

      Returns:
      this.
    • useProjectBilling

      @Nonnull public Project.ProjectBuilder useProjectBilling(@Nullable String useProjectBilling)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: UseProjectBilling

      Returns:
      this.
    • restrictTimePosting

      @Nonnull public Project.ProjectBuilder restrictTimePosting(@Nullable String restrictTimePosting)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RestrictTimePosting

      Returns:
      this.
    • createdOn

      @Nonnull public Project.ProjectBuilder createdOn(@Nullable LocalDateTime createdOn)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CreatedOn

      Returns:
      this.
    • changedOn

      @Nonnull public Project.ProjectBuilder changedOn(@Nullable ZonedDateTime changedOn)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ChangedOn

      Returns:
      this.
    • build

      @Nonnull public Project build()
    • toString

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