public class TerminationPointBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<TerminationPoint>
TerminationPointBuilder
instances.TerminationPointBuilder
Constructor and Description |
---|
TerminationPointBuilder() |
TerminationPointBuilder(TerminationPoint base) |
TerminationPointBuilder(TpAttributes arg) |
Modifier and Type | Method and Description |
---|---|
TerminationPointBuilder |
addAugmentation(Class<? extends Augmentation<TerminationPoint>> augmentationType,
Augmentation<TerminationPoint> augmentationValue) |
<E extends Augmentation<TerminationPoint>> |
augmentation(Class<E> augmentationType) |
TerminationPoint |
build() |
void |
fieldsFrom(DataObject arg)
Set fields from given grouping argument.
|
TpId |
getTpId() |
List<TpId> |
getTpRef() |
TerminationPointKey |
key() |
TerminationPointBuilder |
removeAugmentation(Class<? extends Augmentation<TerminationPoint>> augmentationType) |
TerminationPointBuilder |
setTpId(TpId value) |
TerminationPointBuilder |
setTpRef(List<TpId> values) |
TerminationPointBuilder |
withKey(TerminationPointKey key) |
public TerminationPointBuilder()
public TerminationPointBuilder(TpAttributes arg)
public TerminationPointBuilder(TerminationPoint base)
public void fieldsFrom(DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic TerminationPointKey key()
public TpId getTpId()
public <E extends Augmentation<TerminationPoint>> E augmentation(Class<E> augmentationType)
public TerminationPointBuilder withKey(TerminationPointKey key)
public TerminationPointBuilder setTpId(TpId value)
public TerminationPointBuilder setTpRef(List<TpId> values)
public TerminationPointBuilder addAugmentation(Class<? extends Augmentation<TerminationPoint>> augmentationType, Augmentation<TerminationPoint> augmentationValue)
public TerminationPointBuilder removeAugmentation(Class<? extends Augmentation<TerminationPoint>> augmentationType)
public TerminationPoint build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<TerminationPoint,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.