/**
 * Copyright (c) 2020 Bosch.IO GmbH and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package org.eclipse.hawkbit.repository;

import java.io.Serializable;

public interface Identifiable<T extends Serializable> {

    T getId();
}

/**
 * Copyright (c) 2020 Bosch.IO GmbH and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package org.eclipse.hawkbit.repository;

import java.io.Serializable;

@FunctionalInterface
public interface Identifiable<T extends Serializable> {

    T getId();
}

Use best practise annotation for SAM interfaces in Java 8
Use best practise annotation for SAM interfaces in Java 8

Signed-off-by: Ammar Bikic <417bcc2872fb8ed5fe45ce0124fb7650d1b6cf9d@bosch.io>
