public class NonBranchNodeListBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NonBranchNodeList>
NonBranchNodeListBuilder instances. Overall design of the class is that of a
fluent interface, where method chaining is used.
In general, this class is supposed to be used like this template:
NonBranchNodeListBuilder createTarget(int fooXyzzy, int barBaz) {
return new NonBranchNodeListBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NonBranchNodeListBuilder, as instances can be freely passed around without worrying about synchronization issues.
As a side note: method chaining results in:
build(), which is then returned from the methodNonBranchNodeListBuilder,
Builder| Constructor and Description |
|---|
NonBranchNodeListBuilder() |
NonBranchNodeListBuilder(Bnc arg) |
NonBranchNodeListBuilder(NonBranchNodeList base) |
NonBranchNodeListBuilder(Object arg) |
NonBranchNodeListBuilder(ObjectHeader arg) |
| Modifier and Type | Method and Description |
|---|---|
NonBranchNodeListBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NonBranchNodeList>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<NonBranchNodeList> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NonBranchNodeList>> |
augmentation(Class<E$$> augmentationType) |
NonBranchNodeList |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<Subobject> |
getSubobject() |
Boolean |
isIgnore() |
Boolean |
isProcessingRule() |
NonBranchNodeListBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NonBranchNodeList>> augmentationType) |
NonBranchNodeListBuilder |
setIgnore(Boolean value) |
NonBranchNodeListBuilder |
setProcessingRule(Boolean value) |
NonBranchNodeListBuilder |
setSubobject(List<Subobject> values) |
public NonBranchNodeListBuilder()
public NonBranchNodeListBuilder(Bnc arg)
public NonBranchNodeListBuilder(Object arg)
public NonBranchNodeListBuilder(ObjectHeader arg)
public NonBranchNodeListBuilder(NonBranchNodeList base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic Boolean isIgnore()
public Boolean isProcessingRule()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NonBranchNodeList>> E$$ augmentation(Class<E$$> augmentationType)
public NonBranchNodeListBuilder setSubobject(List<Subobject> values)
public NonBranchNodeListBuilder setIgnore(Boolean value)
public NonBranchNodeListBuilder setProcessingRule(Boolean value)
public NonBranchNodeListBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NonBranchNodeList>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NonBranchNodeList> augmentationValue)
public NonBranchNodeListBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NonBranchNodeList>> augmentationType)
public NonBranchNodeList build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NonBranchNodeList,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.