public class VendorInformationObjectBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<VendorInformationObject>
VendorInformationObjectBuilder 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:
VendorInformationObjectBuilder createTarget(int fooXyzzy, int barBaz) {
return new VendorInformationObjectBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of VendorInformationObjectBuilder, 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 methodVendorInformationObjectBuilder,
Builder| Constructor and Description |
|---|
VendorInformationObjectBuilder() |
VendorInformationObjectBuilder(Object arg) |
VendorInformationObjectBuilder(ObjectHeader arg) |
VendorInformationObjectBuilder(VendorInformation arg) |
VendorInformationObjectBuilder(VendorInformationObject base) |
| Modifier and Type | Method and Description |
|---|---|
VendorInformationObjectBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<VendorInformationObject>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<VendorInformationObject> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<VendorInformationObject>> |
augmentation(Class<E$$> augmentationType) |
VendorInformationObject |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.iana.rev130816.EnterpriseNumber |
getEnterpriseNumber() |
EnterpriseSpecificInformation |
getEnterpriseSpecificInformation() |
Boolean |
isIgnore() |
Boolean |
isProcessingRule() |
VendorInformationObjectBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<VendorInformationObject>> augmentationType) |
VendorInformationObjectBuilder |
setEnterpriseNumber(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.iana.rev130816.EnterpriseNumber value) |
VendorInformationObjectBuilder |
setEnterpriseSpecificInformation(EnterpriseSpecificInformation value) |
VendorInformationObjectBuilder |
setIgnore(Boolean value) |
VendorInformationObjectBuilder |
setProcessingRule(Boolean value) |
public VendorInformationObjectBuilder()
public VendorInformationObjectBuilder(Object arg)
public VendorInformationObjectBuilder(ObjectHeader arg)
public VendorInformationObjectBuilder(VendorInformation arg)
public VendorInformationObjectBuilder(VendorInformationObject 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.params.xml.ns.yang.iana.rev130816.EnterpriseNumber getEnterpriseNumber()
public EnterpriseSpecificInformation getEnterpriseSpecificInformation()
public Boolean isIgnore()
public Boolean isProcessingRule()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<VendorInformationObject>> E$$ augmentation(Class<E$$> augmentationType)
public VendorInformationObjectBuilder setEnterpriseNumber(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.iana.rev130816.EnterpriseNumber value)
public VendorInformationObjectBuilder setEnterpriseSpecificInformation(EnterpriseSpecificInformation value)
public VendorInformationObjectBuilder setIgnore(Boolean value)
public VendorInformationObjectBuilder setProcessingRule(Boolean value)
public VendorInformationObjectBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<VendorInformationObject>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<VendorInformationObject> augmentationValue)
public VendorInformationObjectBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<VendorInformationObject>> augmentationType)
public VendorInformationObject build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<VendorInformationObject,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.