2 * Copyright (c) 2022 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.access.concepts;
10 import static com.google.common.base.Verify.verifyNotNull;
11 import static java.util.Objects.requireNonNull;
14 * Serialization proxy for {@link FrontendIdentifier}.
16 final class FI implements FrontendIdentifier.SerialForm {
18 private static final long serialVersionUID = 1L;
20 private FrontendIdentifier identifier;
22 @SuppressWarnings("checkstyle:RedundantModifier")
27 FI(final FrontendIdentifier identifier) {
28 this.identifier = requireNonNull(identifier);
32 public FrontendIdentifier identifier() {
33 return verifyNotNull(identifier);
37 public void setIdentifier(final FrontendIdentifier identifier) {
38 this.identifier = requireNonNull(identifier);
42 public Object readResolve() {