public static final class WorkPackage.WorkPackageBuilder extends Object
Modifier and Type | Method and Description |
---|---|
WorkPackage |
build() |
WorkPackage.WorkPackageBuilder |
demandSet(Demand... value)
Navigation property DemandSet for WorkPackage to multiple Demand.
|
WorkPackage.WorkPackageBuilder |
description(String description)
Constraints: none
|
WorkPackage.WorkPackageBuilder |
projectID(String projectID)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
toString() |
WorkPackage.WorkPackageBuilder |
unitId(String unitId)
Constraints: Not nullable, Maximum length: 40
|
WorkPackage.WorkPackageBuilder |
unitQuantity(BigDecimal unitQuantity)
Constraints: Not nullable, Precision: 15, Scale: 3
|
WorkPackage.WorkPackageBuilder |
workItemSet(WorkItem... value)
Navigation property WorkItemSet for WorkPackage to multiple WorkItem.
|
WorkPackage.WorkPackageBuilder |
workPackageFunctionSet(WorkPackageFunction... value)
Navigation property WorkPackageFunctionSet for WorkPackage to multiple
WorkPackageFunction.
|
WorkPackage.WorkPackageBuilder |
workPackageID(String workPackageID)
(Key Field) Constraints: Not nullable, Maximum length: 50
|
WorkPackage.WorkPackageBuilder |
workPackageName(String workPackageName)
(Key Field) Constraints: Not nullable, Maximum length: 60
|
WorkPackage.WorkPackageBuilder |
workPackageType(String workPackageType)
Constraints: Not nullable, Maximum length: 1
|
WorkPackage.WorkPackageBuilder |
wPEndDate(LocalDateTime wPEndDate)
Constraints: Not nullable, Precision: 7
|
WorkPackage.WorkPackageBuilder |
wPStartDate(LocalDateTime wPStartDate)
Constraints: Not nullable, Precision: 7
|
@Nonnull public WorkPackage.WorkPackageBuilder workItemSet(WorkItem... value)
value
- The WorkItems to build this WorkPackage with.@Nonnull public WorkPackage.WorkPackageBuilder demandSet(Demand... value)
value
- The Demands to build this WorkPackage with.@Nonnull public WorkPackage.WorkPackageBuilder workPackageFunctionSet(WorkPackageFunction... value)
value
- The WorkPackageFunctions to build this WorkPackage with.public WorkPackage.WorkPackageBuilder unitId(@Nullable String unitId)
Original property name from the Odata EDM: UnitId
Resources correspond to individual entities in a project. You can assign multiple cost elements and activity types to each resource.
this
.public WorkPackage.WorkPackageBuilder unitQuantity(@Nullable BigDecimal unitQuantity)
Original property name from the Odata EDM: UnitQuantity
this
.public WorkPackage.WorkPackageBuilder workPackageType(@Nullable String workPackageType)
Original property name from the Odata EDM: WorkPackageType
You can use the following values to indicate the type of service planned in the work package:' ' - Time based servicesU - Unit based services
this
.public WorkPackage.WorkPackageBuilder projectID(@Nullable String projectID)
Original property name from the Odata EDM: ProjectID
this
.public WorkPackage.WorkPackageBuilder description(@Nullable String description)
Original property name from the Odata EDM: Description
this
.public WorkPackage.WorkPackageBuilder workPackageID(@Nullable String workPackageID)
Original property name from the Odata EDM: WorkPackageID
this
.public WorkPackage.WorkPackageBuilder workPackageName(@Nullable String workPackageName)
Original property name from the Odata EDM: WorkPackageName
this
.public WorkPackage.WorkPackageBuilder wPStartDate(@Nullable LocalDateTime wPStartDate)
Original property name from the Odata EDM: WPStartDate
Provides the planning horizon. By default, the dates are taken from the assigned master project.
this
.public WorkPackage.WorkPackageBuilder wPEndDate(@Nullable LocalDateTime wPEndDate)
Original property name from the Odata EDM: WPEndDate
Provides the planning horizon. By default, the dates are taken from the assigned master project.
this
.public WorkPackage build()
Copyright © 2020 SAP SE. All rights reserved.