public class TableUpdatedBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<TableUpdated>
TableUpdatedBuilder
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:
TableUpdatedBuilder createTarget(int fooXyzzy, int barBaz) {
return new TableUpdatedBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of TableUpdatedBuilder, 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 methodTableUpdatedBuilder
,
Builder
Constructor and Description |
---|
TableUpdatedBuilder() |
TableUpdatedBuilder(MultipartTransactionAware arg) |
TableUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) |
TableUpdatedBuilder(TableFeatures arg) |
TableUpdatedBuilder(TableUpdated base) |
TableUpdatedBuilder(TransactionAware arg) |
Modifier and Type | Method and Description |
---|---|
TableUpdatedBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<TableUpdated>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<TableUpdated> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<TableUpdated>> |
augmentation(Class<E$$> augmentationType) |
TableUpdated |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef |
getNode() |
List<TableFeatures> |
getTableFeatures() |
TransactionId |
getTransactionId() |
Boolean |
isMoreReplies() |
TableUpdatedBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<TableUpdated>> augmentationType) |
TableUpdatedBuilder |
setMoreReplies(Boolean value) |
TableUpdatedBuilder |
setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value) |
TableUpdatedBuilder |
setTableFeatures(List<TableFeatures> values) |
TableUpdatedBuilder |
setTransactionId(TransactionId value) |
public TableUpdatedBuilder()
public TableUpdatedBuilder(MultipartTransactionAware arg)
public TableUpdatedBuilder(TransactionAware arg)
public TableUpdatedBuilder(TableFeatures arg)
public TableUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg)
public TableUpdatedBuilder(TableUpdated base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef getNode()
public List<TableFeatures> getTableFeatures()
public TransactionId getTransactionId()
public Boolean isMoreReplies()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<TableUpdated>> E$$ augmentation(Class<E$$> augmentationType)
public TableUpdatedBuilder setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value)
public TableUpdatedBuilder setTableFeatures(List<TableFeatures> values)
public TableUpdatedBuilder setTransactionId(TransactionId value)
public TableUpdatedBuilder setMoreReplies(Boolean value)
public TableUpdatedBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<TableUpdated>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<TableUpdated> augmentationValue)
public TableUpdatedBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<TableUpdated>> augmentationType)
public TableUpdated build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<TableUpdated,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.