public class GoToTableCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GoToTableCase>
GoToTableCaseBuilder
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:
GoToTableCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new GoToTableCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GoToTableCaseBuilder, 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 methodGoToTableCaseBuilder
,
Builder
Constructor and Description |
---|
GoToTableCaseBuilder() |
GoToTableCaseBuilder(GoToTableCase base) |
Modifier and Type | Method and Description |
---|---|
GoToTableCaseBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GoToTableCase>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GoToTableCase> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GoToTableCase>> |
augmentation(Class<E$$> augmentationType) |
GoToTableCase |
build() |
GoToTable |
getGoToTable() |
GoToTableCaseBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GoToTableCase>> augmentationType) |
GoToTableCaseBuilder |
setGoToTable(GoToTable value) |
public GoToTableCaseBuilder()
public GoToTableCaseBuilder(GoToTableCase base)
public GoToTable getGoToTable()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GoToTableCase>> E$$ augmentation(Class<E$$> augmentationType)
public GoToTableCaseBuilder setGoToTable(GoToTable value)
public GoToTableCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GoToTableCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GoToTableCase> augmentationValue)
public GoToTableCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GoToTableCase>> augmentationType)
public GoToTableCase build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GoToTableCase,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.