public static class NestedAttributeName.Builder extends Object
NestedAttributeName
.Modifier and Type | Method and Description |
---|---|
NestedAttributeName.Builder |
addElement(String element)
Adds a single element of NestedAttributeName.
|
NestedAttributeName.Builder |
addElements(List<String> elements)
Adds a List of elements to NestedAttributeName.
|
NestedAttributeName.Builder |
addElements(String... elements)
Adds a single element of NestedAttributeName.
|
NestedAttributeName |
build() |
NestedAttributeName.Builder |
elements(List<String> elements)
Sets the elements that compose a nested attribute name.
|
NestedAttributeName.Builder |
elements(String... elements)
Set elements of NestedAttributeName with list of Strings.
|
public NestedAttributeName.Builder addElement(String element)
Example:builder().addElement("foo").addElement("bar") will add elements in NestedAttributeName which represent a Nested Attribute Name foo.bar
element
- Attribute Name.public NestedAttributeName.Builder addElements(String... elements)
Example:builder().addElements("foo","bar") will add elements in NestedAttributeName which represent a Nested Attribute Name foo.bar
elements
- Nested Attribute Names. Each of strings in varargs represent the nested attribute name
at subsequent levels.public NestedAttributeName.Builder addElements(List<String> elements)
Example:builder().addElements(Arrays.asList("foo","bar")) will add elements in NestedAttributeName to represent a Nested Attribute Name foo.bar
elements
- List of Strings where each string corresponds to subsequent nesting attribute name.public NestedAttributeName.Builder elements(String... elements)
Example:builder().elements("foo","bar") will set the elements in NestedAttributeName to represent a nested attribute name of 'foo.bar'
elements
- a list of strings that correspond to the elements in a nested attribute name.public NestedAttributeName.Builder elements(List<String> elements)
Example:builder().elements(Arrays.asList("foo","bar")) will add elements in NestedAttributeName which represent a Nested Attribute Name foo.bar
elements
- a list of strings that correspond to the elements in a nested attribute name.public NestedAttributeName build()
Copyright © 2021. All rights reserved.