java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialprojectdetail.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.
    • changedBy

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

      Original property name from the Odata EDM: ChangedBy

      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.
    • 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.
    • changedOn

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

      Original property name from the Odata EDM: ChangedOn

      Returns:
      this.
    • profitCenterName

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

      Original property name from the Odata EDM: ProfitCenterName

      Returns:
      this.
    • 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.
    • stageDesc

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

      Original property name from the Odata EDM: StageDesc

      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.
    • 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.
    • customerName

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

      Original property name from the Odata EDM: CustomerName

      Returns:
      this.
    • projManagerId

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

      Original property name from the Odata EDM: ProjManagerId

      Returns:
      this.
    • projManagerName

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

      Original property name from the Odata EDM: ProjManagerName

      Returns:
      this.
    • projAccountantId

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

      Original property name from the Odata EDM: ProjAccountantId

      Returns:
      this.
    • projAccountantName

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

      Original property name from the Odata EDM: ProjAccountantName

      Returns:
      this.
    • projControllerId

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

      Original property name from the Odata EDM: ProjControllerId

      Returns:
      this.
    • projControllerName

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

      Original property name from the Odata EDM: ProjControllerName

      Returns:
      this.
    • projPartnerId

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

      Original property name from the Odata EDM: ProjPartnerId

      Returns:
      this.
    • projPartnerName

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

      Original property name from the Odata EDM: ProjPartnerName

      Returns:
      this.
    • costCenter

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

      Original property name from the Odata EDM: CostCenter

      Returns:
      this.
    • costCenterName

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

      Original property name from the Odata EDM: CostCenterName

      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.
    • currencyname

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

      Original property name from the Odata EDM: Currencyname

      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.
    • orgDesc

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

      Original property name from the Odata EDM: OrgDesc

      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.
    • build

      @Nonnull public Project build()
    • toString

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