public class BranchNodeListBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<BranchNodeList>
BranchNodeListBuilder 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:
BranchNodeListBuilder createTarget(int fooXyzzy, int barBaz) {
return new BranchNodeListBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of BranchNodeListBuilder, 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 methodBranchNodeListBuilder,
Builder| Constructor and Description |
|---|
BranchNodeListBuilder() |
BranchNodeListBuilder(Bnc arg) |
BranchNodeListBuilder(BranchNodeList base) |
BranchNodeListBuilder(Object arg) |
BranchNodeListBuilder(ObjectHeader arg) |
| Modifier and Type | Method and Description |
|---|---|
BranchNodeListBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<BranchNodeList>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<BranchNodeList> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<BranchNodeList>> |
augmentation(Class<E$$> augmentationType) |
BranchNodeList |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<Subobject> |
getSubobject() |
Boolean |
isIgnore() |
Boolean |
isProcessingRule() |
BranchNodeListBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<BranchNodeList>> augmentationType) |
BranchNodeListBuilder |
setIgnore(Boolean value) |
BranchNodeListBuilder |
setProcessingRule(Boolean value) |
BranchNodeListBuilder |
setSubobject(List<Subobject> values) |
public BranchNodeListBuilder()
public BranchNodeListBuilder(Bnc arg)
public BranchNodeListBuilder(Object arg)
public BranchNodeListBuilder(ObjectHeader arg)
public BranchNodeListBuilder(BranchNodeList 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<BranchNodeList>> E$$ augmentation(Class<E$$> augmentationType)
public BranchNodeListBuilder setSubobject(List<Subobject> values)
public BranchNodeListBuilder setIgnore(Boolean value)
public BranchNodeListBuilder setProcessingRule(Boolean value)
public BranchNodeListBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<BranchNodeList>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<BranchNodeList> augmentationValue)
public BranchNodeListBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<BranchNodeList>> augmentationType)
public BranchNodeList build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<BranchNodeList,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.