Class Workpackage.WorkpackageBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialprojectdetail.Workpackage.WorkpackageBuilder
- Enclosing class:
- Workpackage
Helper class to allow for fluent creation of Workpackage instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constraints: Not nullable, Maximum length: 12changedOn(ZonedDateTime changedOn) Constraints: Not nullable, Precision: 7planDataSet(PlanData... value) Navigation property PlanDataSet for Workpackage to multiple PlanData.Constraints: Not nullable, Maximum length: 40projectName(String projectName) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 15toString()unitOfMeasure(String unitOfMeasure) Constraints: Not nullable, Maximum length: 30workItemSet(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) Constraints: Not nullable, Maximum length: 60workPackageType(String workPackageType) Constraints: Not nullable, Maximum length: 1workPackageUnitText(String workPackageUnitText) Constraints: Not nullable, Maximum length: 40wPEndDate(LocalDateTime wPEndDate) Constraints: Not nullable, Precision: 7wPStartDate(LocalDateTime wPStartDate) Constraints: Not nullable, Precision: 7
-
Method Details
-
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.
-
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.
-
planDataSet
Navigation property PlanDataSet for Workpackage to multiple PlanData.- Parameters:
value- The PlanDatas to build this Workpackage with.- Returns:
- This Builder to allow for a fluent interface.
-
workPackageUnitText
@Nonnull public Workpackage.WorkpackageBuilder workPackageUnitText(@Nullable String workPackageUnitText) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: WorkPackageUnitText
- Returns:
this.
-
workPackageType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WorkPackageType
- Returns:
this.
-
unitOfMeasure
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: UnitOfMeasure
- Returns:
this.
-
quantity
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Quantity
- Returns:
this.
-
changedOn
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: ChangedOn
- Returns:
this.
-
projectID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Returns:
this.
-
changedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChangedBy
- Returns:
this.
-
workPackageID
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: WorkPackageID
- Returns:
this.
-
workPackageName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: WorkPackageName
- 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.
-
projectName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectName
- Returns:
this.
-
build
-
toString
-