@java.lang.Override public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() { return $YangModuleInfoImpl.getInstance(); } }
@Override public InterfacesState build() { return new InterfacesStateImpl(this); }
@Override public Interfaces build() { return new InterfacesImpl(this); }
@Override protected Interfaces convert(final InterfacesState operationalData) { LOG.debug("InterfacesInitializer.convert()"); InterfacesBuilder interfacesBuilder = new InterfacesBuilder(); interfacesBuilder .setInterface(Lists.transform(operationalData.getInterface(), InterfacesInitializer::initialize)); return interfacesBuilder.build(); }
/** * @return <code>java.util.List</code> <code>interface</code>, or an empty list if it is not present */ default @NonNull List<Interface> nonnullInterface() { return CodeHelpers.nonnull(getInterface()); }
/** * @return <code>java.util.List</code> <code>interface</code>, or an empty list if it is not present */ default @NonNull List<Interface> nonnullInterface() { return CodeHelpers.nonnull(getInterface()); }
public InterfacesStateBuilder addAugmentation(java.lang.Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.InterfacesState>> augmentationType, Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.InterfacesState> augmentation) { if (augmentation == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentation); return this; }
public InterfacesBuilder addAugmentation(java.lang.Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces>> augmentationType, Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces> augmentation) { if (augmentation == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentation); return this; }
InterfacesStateImpl(InterfacesStateBuilder base) { this._interface = base.getInterface(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
InterfacesImpl(InterfacesBuilder base) { this._interface = base.getInterface(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
@Override public void merge(@Nonnull final org.opendaylight.yangtools.concepts.Builder<? extends DataObject> builder, @Nonnull final List<Interface> readData) { ((InterfacesStateBuilder) builder).setInterface(readData); }
public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() { return $YangModuleInfoImpl.getInstance(); } }
public InterfacesState build() { return new InterfacesStateImpl(this); }
public Interfaces build() { return new InterfacesImpl(this); }
public InterfacesStateBuilder addAugmentation(Class<? extends Augmentation<InterfacesState>> augmentationType, Augmentation<InterfacesState> augmentationValue) { if (augmentationValue == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentationValue); return this; }
public InterfacesBuilder addAugmentation(java.lang.Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces>> augmentationType, Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces> augmentation) { if (augmentation == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentation); return this; }
@Override public void merge(@Nonnull final org.opendaylight.yangtools.concepts.Builder<? extends DataObject> builder, @Nonnull final List<Interface> readData) { ((InterfacesStateBuilder) builder).setInterface(readData); } }
public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() { return $YangModuleInfoImpl.getInstance(); } }
public InterfacesState build() { return new InterfacesStateImpl(this); }
public Interfaces build() { return new InterfacesImpl(this); }