public class ChoiceContainerBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<ChoiceContainer>
ChoiceContainerBuilder
instances.ChoiceContainerBuilder
Constructor and Description |
---|
ChoiceContainerBuilder() |
ChoiceContainerBuilder(Choice arg) |
ChoiceContainerBuilder(ChoiceContainer base) |
Modifier and Type | Method and Description |
---|---|
ChoiceContainerBuilder |
addAugmentation(Class<? extends Augmentation<ChoiceContainer>> augmentationType,
Augmentation<ChoiceContainer> augmentationValue) |
<E extends Augmentation<ChoiceContainer>> |
augmentation(Class<E> augmentationType) |
ChoiceContainer |
build() |
void |
fieldsFrom(DataObject arg)
Set fields from given grouping argument.
|
Identifier |
getIdentifier() |
ChoiceContainerBuilder |
removeAugmentation(Class<? extends Augmentation<ChoiceContainer>> augmentationType) |
ChoiceContainerBuilder |
setIdentifier(Identifier value) |
public ChoiceContainerBuilder()
public ChoiceContainerBuilder(Choice arg)
public ChoiceContainerBuilder(ChoiceContainer base)
public void fieldsFrom(DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic Identifier getIdentifier()
public <E extends Augmentation<ChoiceContainer>> E augmentation(Class<E> augmentationType)
public ChoiceContainerBuilder setIdentifier(Identifier value)
public ChoiceContainerBuilder addAugmentation(Class<? extends Augmentation<ChoiceContainer>> augmentationType, Augmentation<ChoiceContainer> augmentationValue)
public ChoiceContainerBuilder removeAugmentation(Class<? extends Augmentation<ChoiceContainer>> augmentationType)
public ChoiceContainer build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<ChoiceContainer,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.