public static final class Workpackage.WorkpackageBuilder extends Object
Modifier and Type | Method and Description |
---|---|
Workpackage |
build() |
Workpackage.WorkpackageBuilder |
changedBy(String changedBy)
Constraints: Not nullable, Maximum length: 12
|
Workpackage.WorkpackageBuilder |
changedOn(ZonedDateTime changedOn)
Constraints: Not nullable, Precision: 7
|
Workpackage.WorkpackageBuilder |
planDataSet(PlanData... value)
Navigation property PlanDataSet for Workpackage to multiple PlanData.
|
Workpackage.WorkpackageBuilder |
projectID(String projectID)
Constraints: Not nullable, Maximum length: 40
|
Workpackage.WorkpackageBuilder |
projectName(String projectName)
Constraints: Not nullable, Maximum length: 40
|
Workpackage.WorkpackageBuilder |
quantity(String quantity)
Constraints: Not nullable, Maximum length: 15
|
String |
toString() |
Workpackage.WorkpackageBuilder |
unitOfMeasure(String unitOfMeasure)
Constraints: Not nullable, Maximum length: 30
|
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)
Constraints: Not nullable, Maximum length: 60
|
Workpackage.WorkpackageBuilder |
workPackageType(String workPackageType)
Constraints: Not nullable, Maximum length: 1
|
Workpackage.WorkpackageBuilder |
workPackageUnitText(String workPackageUnitText)
Constraints: Not nullable, Maximum length: 40
|
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 workItemSet(WorkItem... value)
value
- The WorkItems to build this Workpackage with.@Nonnull public Workpackage.WorkpackageBuilder planDataSet(PlanData... value)
value
- The PlanDatas to build this Workpackage with.public Workpackage.WorkpackageBuilder workPackageUnitText(@Nullable String workPackageUnitText)
Original property name from the Odata EDM: WorkPackageUnitText
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 unitOfMeasure(@Nullable String unitOfMeasure)
Original property name from the Odata EDM: UnitOfMeasure
this
.public Workpackage.WorkpackageBuilder quantity(@Nullable String quantity)
Original property name from the Odata EDM: Quantity
this
.public Workpackage.WorkpackageBuilder changedOn(@Nullable ZonedDateTime changedOn)
Original property name from the Odata EDM: ChangedOn
this
.public Workpackage.WorkpackageBuilder projectID(@Nullable String projectID)
Original property name from the Odata EDM: ProjectID
this
.public Workpackage.WorkpackageBuilder changedBy(@Nullable String changedBy)
Original property name from the Odata EDM: ChangedBy
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.WorkpackageBuilder projectName(@Nullable String projectName)
Original property name from the Odata EDM: ProjectName
this
.public Workpackage build()
Copyright © 2020 SAP SE. All rights reserved.