public class AnnotationBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Annotation>
AnnotationBuilder
instances.AnnotationBuilder
Constructor and Description |
---|
AnnotationBuilder() |
AnnotationBuilder(Annotation base) |
Modifier and Type | Method and Description |
---|---|
AnnotationBuilder |
addAugmentation(Class<? extends Augmentation<Annotation>> augmentationType,
Augmentation<Annotation> augmentationValue) |
<E extends Augmentation<Annotation>> |
augmentation(Class<E> augmentationType) |
Annotation |
build() |
String |
getAnnotation() |
AnnotationBuilder |
removeAugmentation(Class<? extends Augmentation<Annotation>> augmentationType) |
AnnotationBuilder |
setAnnotation(String value) |
public AnnotationBuilder()
public AnnotationBuilder(Annotation base)
public String getAnnotation()
public <E extends Augmentation<Annotation>> E augmentation(Class<E> augmentationType)
public AnnotationBuilder setAnnotation(String value)
public AnnotationBuilder addAugmentation(Class<? extends Augmentation<Annotation>> augmentationType, Augmentation<Annotation> augmentationValue)
public AnnotationBuilder removeAugmentation(Class<? extends Augmentation<Annotation>> augmentationType)
public Annotation build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Annotation,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.