Class DefectCode.DefectCodeBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.defectcodeandcodegroup.DefectCode.DefectCodeBuilder
- Enclosing class:
- DefectCode
Helper class to allow for fluent creation of DefectCode instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()codeGroupIsUsable(Boolean codeGroupIsUsable) Constraints: nonecodeIsInactive(String codeIsInactive) Constraints: Not nullable, Maximum length: 1defectCode(String defectCode) (Key Field) Constraints: Not nullable, Maximum length: 4defectCodeGroup(DefectCodeGroup value) Navigation property to_DefectCodeGroup for DefectCode to single DefectCodeGroup.defectCodeGroup(String value) (Key Field) Constraints: Not nullable, Maximum length: 8text(DefectCodeText... value) Navigation property to_Text for DefectCode to multiple DefectCodeText.toString()
-
Method Details
-
defectCodeGroup
Navigation property to_DefectCodeGroup for DefectCode to single DefectCodeGroup.- Parameters:
value- The DefectCodeGroup to build this DefectCode with.- Returns:
- This Builder to allow for a fluent interface.
-
defectCodeGroup
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: DefectCodeGroup
- Parameters:
value- The defectCodeGroup to build this DefectCode with.- Returns:
- This Builder to allow for a fluent interface.
-
text
Navigation property to_Text for DefectCode to multiple DefectCodeText.- Parameters:
value- The DefectCodeTexts to build this DefectCode with.- Returns:
- This Builder to allow for a fluent interface.
-
defectCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: DefectCode
- Returns:
this.
-
codeIsInactive
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CodeIsInactive
- Returns:
this.
-
codeGroupIsUsable
Constraints: noneOriginal property name from the Odata EDM: CodeGroupIsUsable
- Returns:
this.
-
build
-
toString
-