public AddGroupInputBuilder(AddGroupInput base) { this._buckets = base.getBuckets(); this._containerName = base.getContainerName(); this._groupId = base.getGroupId(); this._groupName = base.getGroupName(); this._groupRef = base.getGroupRef(); this._groupType = base.getGroupType(); this._node = base.getNode(); this._transactionUri = base.getTransactionUri(); this._barrier = base.isBarrier(); if (base instanceof AddGroupInputImpl) { AddGroupInputImpl impl = (AddGroupInputImpl) base; if (!impl.augmentation.isEmpty()) { this.augmentation = new HashMap<>(impl.augmentation); } } else if (base instanceof AugmentationHolder) { @SuppressWarnings("unchecked") AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.AddGroupInput> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.AddGroupInput>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
@Override public GroupAdded compose(TransactionId tXid) { GroupAddedBuilder groupMod = new GroupAddedBuilder((Group) input); groupMod.setTransactionId(tXid); groupMod.setGroupRef(input.getGroupRef()); return groupMod.build(); } };
if (!Objects.equals(_buckets, other.getBuckets())) { return false; if (!Objects.equals(_containerName, other.getContainerName())) { return false; if (!Objects.equals(_groupId, other.getGroupId())) { return false; if (!Objects.equals(_groupName, other.getGroupName())) { return false; if (!Objects.equals(_groupRef, other.getGroupRef())) { return false; if (!Objects.equals(_groupType, other.getGroupType())) { return false; if (!Objects.equals(_node, other.getNode())) { return false; if (!Objects.equals(_transactionUri, other.getTransactionUri())) { return false; if (!Objects.equals(_barrier, other.isBarrier())) { return false; if (!e.getValue().equals(other.getAugmentation(e.getKey()))) { return false;