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