public class UpdateTableInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<UpdateTableInput>
UpdateTableInputBuilder
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:
UpdateTableInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new UpdateTableInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of UpdateTableInputBuilder, 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 methodUpdateTableInputBuilder
,
Builder
Constructor and Description |
---|
UpdateTableInputBuilder() |
UpdateTableInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) |
UpdateTableInputBuilder(TableUpdate arg) |
UpdateTableInputBuilder(TransactionAware arg) |
UpdateTableInputBuilder(TransactionMetadata arg) |
UpdateTableInputBuilder(UpdateTableInput base) |
Modifier and Type | Method and Description |
---|---|
UpdateTableInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<UpdateTableInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<UpdateTableInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<UpdateTableInput>> |
augmentation(Class<E$$> augmentationType) |
UpdateTableInput |
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() |
OriginalTable |
getOriginalTable() |
TableRef |
getTableRef() |
TransactionId |
getTransactionId() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri |
getTransactionUri() |
UpdatedTable |
getUpdatedTable() |
UpdateTableInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<UpdateTableInput>> augmentationType) |
UpdateTableInputBuilder |
setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value) |
UpdateTableInputBuilder |
setOriginalTable(OriginalTable value) |
UpdateTableInputBuilder |
setTableRef(TableRef value) |
UpdateTableInputBuilder |
setTransactionId(TransactionId value) |
UpdateTableInputBuilder |
setTransactionUri(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri value) |
UpdateTableInputBuilder |
setUpdatedTable(UpdatedTable value) |
public UpdateTableInputBuilder()
public UpdateTableInputBuilder(TransactionMetadata arg)
public UpdateTableInputBuilder(TransactionAware arg)
public UpdateTableInputBuilder(TableUpdate arg)
public UpdateTableInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg)
public UpdateTableInputBuilder(UpdateTableInput 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 OriginalTable getOriginalTable()
public TableRef getTableRef()
public TransactionId getTransactionId()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getTransactionUri()
public UpdatedTable getUpdatedTable()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<UpdateTableInput>> E$$ augmentation(Class<E$$> augmentationType)
public UpdateTableInputBuilder setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value)
public UpdateTableInputBuilder setOriginalTable(OriginalTable value)
public UpdateTableInputBuilder setTableRef(TableRef value)
public UpdateTableInputBuilder setTransactionId(TransactionId value)
public UpdateTableInputBuilder setTransactionUri(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri value)
public UpdateTableInputBuilder setUpdatedTable(UpdatedTable value)
public UpdateTableInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<UpdateTableInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<UpdateTableInput> augmentationValue)
public UpdateTableInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<UpdateTableInput>> augmentationType)
public UpdateTableInput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<UpdateTableInput,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.