Class CustomerHier.CustomerHierBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.masterdataforgroupreporting.CustomerHier.CustomerHierBuilder
- Enclosing class:
- CustomerHier
Helper class to allow for fluent creation of CustomerHier instances.
-
Method Summary
Modifier and TypeMethodDescriptionadditionalMasterDataHierarchy(String additionalMasterDataHierarchy) (Key Field) Constraints: Not nullable, Maximum length: 40build()cnsldtnCustomer(Customer value) Navigation property to_CnsldtnCustomer for CustomerHier to single Customer.cnsldtnCustomerHierT(CustomerHierText... value) Navigation property to_CnsldtnCustomerHierT for CustomerHier to multiple CustomerHierText.Constraints: Not nullable, Maximum length: 10customer_Text(String customer_Text) Constraints: Not nullable, Maximum length: 80hierarchyNode(String hierarchyNode) (Key Field) Constraints: Not nullable, Maximum length: 50hierarchyNode_Text(String hierarchyNode_Text) Constraints: Not nullable, Maximum length: 50hierarchyNodeLevel(String hierarchyNodeLevel) Constraints: Not nullable, Maximum length: 6hierarchyNodeSequence(String hierarchyNodeSequence) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 1parentNode(String parentNode) Constraints: Not nullable, Maximum length: 50sequenceNumber(String sequenceNumber) Constraints: Not nullable, Maximum length: 56toString()validityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0validityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0
-
Method Details
-
cnsldtnCustomer
Navigation property to_CnsldtnCustomer for CustomerHier to single Customer.- Parameters:
value- The Customer to build this CustomerHier with.- Returns:
- This Builder to allow for a fluent interface.
-
cnsldtnCustomerHierT
Navigation property to_CnsldtnCustomerHierT for CustomerHier to multiple CustomerHierText.- Parameters:
value- The CustomerHierTexts to build this CustomerHier with.- Returns:
- This Builder to allow for a fluent interface.
-
additionalMasterDataHierarchy
@Nonnull public CustomerHier.CustomerHierBuilder additionalMasterDataHierarchy(@Nullable String additionalMasterDataHierarchy) (Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: AdditionalMasterDataHierarchy
- Returns:
this.
-
hierarchyNode
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: HierarchyNode
- Returns:
this.
-
hierarchyNode_Text
@Nonnull public CustomerHier.CustomerHierBuilder hierarchyNode_Text(@Nullable String hierarchyNode_Text) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: HierarchyNode_Text
- Returns:
this.
-
validityEndDate
@Nonnull public CustomerHier.CustomerHierBuilder validityEndDate(@Nullable LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
this.
-
parentNode
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: ParentNode
- Returns:
this.
-
validityStartDate
@Nonnull public CustomerHier.CustomerHierBuilder validityStartDate(@Nullable LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
this.
-
customer
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Returns:
this.
-
customer_Text
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: Customer_Text
- Returns:
this.
-
sequenceNumber
Constraints: Not nullable, Maximum length: 56Original property name from the Odata EDM: SequenceNumber
- Returns:
this.
-
hierarchyNodeSequence
@Nonnull public CustomerHier.CustomerHierBuilder hierarchyNodeSequence(@Nullable String hierarchyNodeSequence) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: HierarchyNodeSequence
- Returns:
this.
-
hierarchyNodeLevel
@Nonnull public CustomerHier.CustomerHierBuilder hierarchyNodeLevel(@Nullable String hierarchyNodeLevel) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: HierarchyNodeLevel
- Returns:
this.
-
nodeType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: NodeType
- Returns:
this.
-
build
-
toString
-