blob: cf93b52acbcd3b2d31e7c3451f3166498e3467e7 [file] [log] [blame]
/*
* Copyright (c) 2020 Kentyou.
* 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
*
* Contributors:
* Kentyou - initial API and implementation
*/
package org.eclipse.sensinact.gateway.common.primitive;
/**
* A typed service
*
* @author <a href="mailto:christophe.munilla@cea.fr">Christophe Munilla</a>
*/
public interface Typable<T extends Enum<T>> {
/**
* Returns the <code>&lt;T&gt;</code> Enum type
* instance of this Typable service
*
* @return the <code>&lt;T&gt;</code> Enum type
* of this Typable service
*/
T getType();
}