public class TopBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Top>
TopBuilder
instances.TopBuilder
Constructor and Description |
---|
TopBuilder() |
TopBuilder(Top base) |
TopBuilder(TwoLevelList arg) |
Modifier and Type | Method and Description |
---|---|
TopBuilder |
addAugmentation(Class<? extends Augmentation<Top>> augmentationType,
Augmentation<Top> augmentationValue) |
<E extends Augmentation<Top>> |
augmentation(Class<E> augmentationType) |
Top |
build() |
void |
fieldsFrom(DataObject arg)
Set fields from given grouping argument.
|
List<ChoiceList> |
getChoiceList() |
List<String> |
getTopLevelLeafList() |
List<TopLevelList> |
getTopLevelList() |
List<String> |
getTopLevelOrderedLeafList() |
TopBuilder |
removeAugmentation(Class<? extends Augmentation<Top>> augmentationType) |
TopBuilder |
setChoiceList(List<ChoiceList> values) |
TopBuilder |
setTopLevelLeafList(List<String> values) |
TopBuilder |
setTopLevelList(List<TopLevelList> values) |
TopBuilder |
setTopLevelOrderedLeafList(List<String> values) |
public TopBuilder()
public TopBuilder(TwoLevelList arg)
public TopBuilder(Top base)
public void fieldsFrom(DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<ChoiceList> getChoiceList()
public List<TopLevelList> getTopLevelList()
public <E extends Augmentation<Top>> E augmentation(Class<E> augmentationType)
public TopBuilder setChoiceList(List<ChoiceList> values)
public TopBuilder setTopLevelLeafList(List<String> values)
public TopBuilder setTopLevelList(List<TopLevelList> values)
public TopBuilder setTopLevelOrderedLeafList(List<String> values)
public TopBuilder addAugmentation(Class<? extends Augmentation<Top>> augmentationType, Augmentation<Top> augmentationValue)
public TopBuilder removeAugmentation(Class<? extends Augmentation<Top>> augmentationType)
public Top build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Top,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.