Class WorkPackage.WorkPackageBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkPackage.WorkPackageBuilder
- Enclosing class:
- WorkPackage
Helper class to allow for fluent creation of WorkPackage instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()changedOn(ZonedDateTime changedOn) Constraints: Not nullable, Precision: 7createdOn(LocalDateTime createdOn) Constraints: Not nullable, Precision: 7Navigation property DemandSet for WorkPackage to multiple Demand.description(String description) Constraints: noneNavigation property to_Project for WorkPackage to single Project.(Key Field) Constraints: Not nullable, Maximum length: 40resourceDemand(EngmntProjRsceDmnd... value) Navigation property to_ResourceDemand for WorkPackage to multiple EngmntProjRsceDmnd.toString()Constraints: Not nullable, Maximum length: 40unitQuantity(BigDecimal unitQuantity) Constraints: Not nullable, Precision: 15, Scale: 3workItemSet(WorkItem... value) Navigation property WorkItemSet for WorkPackage to multiple WorkItem.workPackageFunctionSet(WorkPackageFunction... value) Navigation property WorkPackageFunctionSet for WorkPackage to multiple WorkPackageFunction.workPackageID(String workPackageID) (Key Field) Constraints: Not nullable, Maximum length: 50workPackageName(String workPackageName) (Key Field) Constraints: Not nullable, Maximum length: 60workPackageType(String workPackageType) Constraints: Not nullable, Maximum length: 1wPEndDate(LocalDateTime wPEndDate) Constraints: Not nullable, Precision: 7wPStartDate(LocalDateTime wPStartDate) Constraints: Not nullable, Precision: 7
-
Method Details
-
resourceDemand
Navigation property to_ResourceDemand for WorkPackage to multiple EngmntProjRsceDmnd.- Parameters:
value- The EngmntProjRsceDmnds to build this WorkPackage with.- Returns:
- This Builder to allow for a fluent interface.
-
project
Navigation property to_Project for WorkPackage to single Project.- Parameters:
value- The Project to build this WorkPackage with.- Returns:
- This Builder to allow for a fluent interface.
-
workItemSet
Navigation property WorkItemSet for WorkPackage to multiple WorkItem.- Parameters:
value- The WorkItems to build this WorkPackage with.- Returns:
- This Builder to allow for a fluent interface.
-
demandSet
Navigation property DemandSet for WorkPackage to multiple Demand.- Parameters:
value- The Demands to build this WorkPackage with.- Returns:
- This Builder to allow for a fluent interface.
-
workPackageFunctionSet
Navigation property WorkPackageFunctionSet for WorkPackage to multiple WorkPackageFunction.- Parameters:
value- The WorkPackageFunctions to build this WorkPackage with.- Returns:
- This Builder to allow for a fluent interface.
-
projectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Returns:
this.
-
workPackageID
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: WorkPackageID
- Returns:
this.
-
workPackageName
(Key Field) Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: WorkPackageName
- Returns:
this.
-
description
Constraints: noneOriginal property name from the Odata EDM: Description
- Returns:
this.
-
wPStartDate
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: WPStartDate
- Returns:
this.
-
wPEndDate
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: WPEndDate
- Returns:
this.
-
workPackageType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WorkPackageType
- Returns:
this.
-
unitQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: UnitQuantity
- Returns:
this.
-
unitId
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: UnitId
- Returns:
this.
-
createdOn
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreatedOn
- Returns:
this.
-
changedOn
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: ChangedOn
- Returns:
this.
-
build
-
toString
-