Class EquipmentPartner.EquipmentPartnerBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.equipment.EquipmentPartner.EquipmentPartnerBuilder
- Enclosing class:
- EquipmentPartner
Helper class to allow for fluent creation of EquipmentPartner instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createdByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12creationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0Navigation property to_Equipment for EquipmentPartner to single Equipment.(Key Field) Constraints: Not nullable, Maximum length: 18equipmentPartnerObjectNmbr(String equipmentPartnerObjectNmbr) (Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 12partnerFunction(String partnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 2toString()
-
Method Details
-
equipment
Navigation property to_Equipment for EquipmentPartner to single Equipment.- Parameters:
value- The Equipment to build this EquipmentPartner with.- Returns:
- This Builder to allow for a fluent interface.
-
equipment
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Equipment
- Parameters:
value- The equipment to build this EquipmentPartner with.- Returns:
- This Builder to allow for a fluent interface.
-
partnerFunction
@Nonnull public EquipmentPartner.EquipmentPartnerBuilder partnerFunction(@Nullable String partnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PartnerFunction
- Returns:
this.
-
equipmentPartnerObjectNmbr
@Nonnull public EquipmentPartner.EquipmentPartnerBuilder equipmentPartnerObjectNmbr(@Nullable String equipmentPartnerObjectNmbr) (Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: EquipmentPartnerObjectNmbr
- Returns:
this.
-
partner
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: Partner
- Returns:
this.
-
createdByUser
@Nonnull public EquipmentPartner.EquipmentPartnerBuilder createdByUser(@Nullable String createdByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
this.
-
creationDate
@Nonnull public EquipmentPartner.EquipmentPartnerBuilder creationDate(@Nullable LocalDateTime creationDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
this.
-
build
-
toString
-