public class NoPathBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NoPath>
NoPathBuilder 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:
NoPathBuilder createTarget(int fooXyzzy, int barBaz) {
return new NoPathBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NoPathBuilder, 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 methodNoPathBuilder,
Builder| Constructor and Description |
|---|
NoPathBuilder() |
NoPathBuilder(NoPath base) |
NoPathBuilder(NoPathObject arg) |
NoPathBuilder(Object arg) |
NoPathBuilder(ObjectHeader arg) |
| Modifier and Type | Method and Description |
|---|---|
NoPathBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NoPath>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<NoPath> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NoPath>> |
augmentation(Class<E$$> augmentationType) |
NoPath |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
Short |
getNatureOfIssue() |
Tlvs |
getTlvs() |
Boolean |
isIgnore() |
Boolean |
isProcessingRule() |
Boolean |
isUnsatisfiedConstraints() |
NoPathBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NoPath>> augmentationType) |
NoPathBuilder |
setIgnore(Boolean value) |
NoPathBuilder |
setNatureOfIssue(Short value) |
NoPathBuilder |
setProcessingRule(Boolean value) |
NoPathBuilder |
setTlvs(Tlvs value) |
NoPathBuilder |
setUnsatisfiedConstraints(Boolean value) |
public NoPathBuilder()
public NoPathBuilder(NoPathObject arg)
public NoPathBuilder(Object arg)
public NoPathBuilder(ObjectHeader arg)
public NoPathBuilder(NoPath base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic Short getNatureOfIssue()
public Tlvs getTlvs()
public Boolean isIgnore()
public Boolean isProcessingRule()
public Boolean isUnsatisfiedConstraints()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NoPath>> E$$ augmentation(Class<E$$> augmentationType)
public NoPathBuilder setNatureOfIssue(Short value)
public NoPathBuilder setTlvs(Tlvs value)
public NoPathBuilder setIgnore(Boolean value)
public NoPathBuilder setProcessingRule(Boolean value)
public NoPathBuilder setUnsatisfiedConstraints(Boolean value)
public NoPathBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NoPath>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NoPath> augmentationValue)
public NoPathBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NoPath>> augmentationType)
public NoPath build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NoPath,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.