@Override public void onNodeConnectorRemoved(NodeConnectorRemoved notification) { LOG.debug("NodeConnectorRemoved Notification ..................."); LOG.debug("NodeConnectorRef " + notification.getNodeConnectorRef()); LOG.debug("----------------------------------------------------------------------"); nodeConnectorRemoved.add(notification); }
public NodeConnectorRemovedBuilder(NodeConnectorRemoved base) { this._nodeConnectorRef = base.getNodeConnectorRef(); if (base instanceof NodeConnectorRemovedImpl) { NodeConnectorRemovedImpl impl = (NodeConnectorRemovedImpl) base; if (!impl.augmentation.isEmpty()) { this.augmentation = new HashMap<>(impl.augmentation); } } else if (base instanceof AugmentationHolder) { @SuppressWarnings("unchecked") Map<Class<? extends Augmentation<NodeConnectorRemoved>>, Augmentation<NodeConnectorRemoved>> aug =((AugmentationHolder<NodeConnectorRemoved>) base).augmentations(); if (!aug.isEmpty()) { this.augmentation = new HashMap<>(aug); } } }
if (!Objects.equals(_nodeConnectorRef, other.getNodeConnectorRef())) { return false;
@Override public void applyOperation(final ReadWriteTransaction tx) { final NodeConnectorRef ref = connector.getNodeConnectorRef(); LOG.debug("removing node connector {} ", ref.getValue()); tx.delete(LogicalDatastoreType.OPERATIONAL, ref.getValue()); } });