public static final class WorkPackage.WorkPackageBuilder extends Object
Modifier and Type | Method and Description |
---|---|
WorkPackage |
build() |
WorkPackage.WorkPackageBuilder |
changedOn(ZonedDateTime changedOn)
Constraints: Not nullable, Precision: 7
|
WorkPackage.WorkPackageBuilder |
createdOn(LocalDateTime createdOn)
Constraints: Not nullable, Precision: 7
|
WorkPackage.WorkPackageBuilder |
demandSet(Demand... value)
Navigation property DemandSet for WorkPackage to multiple Demand.
|
WorkPackage.WorkPackageBuilder |
description(String description)
Constraints: none
|
WorkPackage.WorkPackageBuilder |
project(Project value)
Navigation property to_Project for WorkPackage to single Project.
|
WorkPackage.WorkPackageBuilder |
projectID(String projectID)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
WorkPackage.WorkPackageBuilder |
resourceDemand(EngmntProjRsceDmnd... value)
Navigation property to_ResourceDemand for WorkPackage to multiple EngmntProjRsceDmnd.
|
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 workPackageFunctionSet(WorkPackageFunction... value)
value
- The WorkPackageFunctions to build this WorkPackage with.@Nonnull public WorkPackage.WorkPackageBuilder demandSet(Demand... value)
value
- The Demands to build this WorkPackage with.@Nonnull public WorkPackage.WorkPackageBuilder workItemSet(WorkItem... value)
value
- The WorkItems to build this WorkPackage with.@Nonnull public WorkPackage.WorkPackageBuilder project(Project value)
value
- The Project to build this WorkPackage with.@Nonnull public WorkPackage.WorkPackageBuilder resourceDemand(EngmntProjRsceDmnd... value)
value
- The EngmntProjRsceDmnds to build this WorkPackage with.@Nonnull public WorkPackage.WorkPackageBuilder projectID(@Nullable String projectID)
Original property name from the Odata EDM: ProjectID
this
.@Nonnull public WorkPackage.WorkPackageBuilder workPackageID(@Nullable String workPackageID)
Original property name from the Odata EDM: WorkPackageID
this
.@Nonnull public WorkPackage.WorkPackageBuilder workPackageName(@Nullable String workPackageName)
Original property name from the Odata EDM: WorkPackageName
this
.@Nonnull public WorkPackage.WorkPackageBuilder description(@Nullable String description)
Original property name from the Odata EDM: Description
this
.@Nonnull 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
.@Nonnull 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
.@Nonnull 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
.@Nonnull public WorkPackage.WorkPackageBuilder unitQuantity(@Nullable BigDecimal unitQuantity)
Original property name from the Odata EDM: UnitQuantity
this
.@Nonnull 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
.@Nonnull public WorkPackage.WorkPackageBuilder createdOn(@Nullable LocalDateTime createdOn)
Original property name from the Odata EDM: CreatedOn
this
.@Nonnull public WorkPackage.WorkPackageBuilder changedOn(@Nullable ZonedDateTime changedOn)
Original property name from the Odata EDM: ChangedOn
this
.@Nonnull public WorkPackage build()
Copyright © 2020 SAP SE. All rights reserved.