public class SrcNxNshc3CaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<SrcNxNshc3Case>
SrcNxNshc3CaseBuilder 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:
SrcNxNshc3CaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new SrcNxNshc3CaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of SrcNxNshc3CaseBuilder, 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 methodSrcNxNshc3CaseBuilder,
Builder| Constructor and Description |
|---|
SrcNxNshc3CaseBuilder() |
SrcNxNshc3CaseBuilder(NxmNxNshc3Grouping arg) |
SrcNxNshc3CaseBuilder(SrcNxNshc3Case base) |
| Modifier and Type | Method and Description |
|---|---|
SrcNxNshc3CaseBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxNshc3Case>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxNshc3Case> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxNshc3Case>> |
augmentation(Class<E$$> augmentationType) |
SrcNxNshc3Case |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
Boolean |
isNxNshc3Dst() |
SrcNxNshc3CaseBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxNshc3Case>> augmentationType) |
SrcNxNshc3CaseBuilder |
setNxNshc3Dst(Boolean value) |
public SrcNxNshc3CaseBuilder()
public SrcNxNshc3CaseBuilder(NxmNxNshc3Grouping arg)
public SrcNxNshc3CaseBuilder(SrcNxNshc3Case base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic Boolean isNxNshc3Dst()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxNshc3Case>> E$$ augmentation(Class<E$$> augmentationType)
public SrcNxNshc3CaseBuilder setNxNshc3Dst(Boolean value)
public SrcNxNshc3CaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxNshc3Case>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxNshc3Case> augmentationValue)
public SrcNxNshc3CaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxNshc3Case>> augmentationType)
public SrcNxNshc3Case build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<SrcNxNshc3Case,IllegalArgumentException>Copyright © 2019 OpenDaylight. All rights reserved.