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 |
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.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.
public WorkPackage.WorkPackageBuilder unitQuantity(@Nullable BigDecimal unitQuantity)
Original property name from the Odata EDM: UnitQuantity
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
public WorkPackage.WorkPackageBuilder projectID(@Nullable String projectID)
Original property name from the Odata EDM: ProjectID
public WorkPackage.WorkPackageBuilder description(@Nullable String description)
Original property name from the Odata EDM: Description
public WorkPackage.WorkPackageBuilder workPackageID(@Nullable String workPackageID)
Original property name from the Odata EDM: WorkPackageID
public WorkPackage.WorkPackageBuilder workPackageName(@Nullable String workPackageName)
Original property name from the Odata EDM: WorkPackageName
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.
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.
public WorkPackage build()
Copyright © 2019 SAP SE. All rights reserved.