All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lhings.java.annotations.DeviceInfo Maven / Gradle / Ivy

Go to download

Java library for device connectivity with Lhings. Lhings is a cloud platform that allows you to retrieve information from your devices and remotely control them in a very easy way. Learn more at http://support.lhings.com.

The newest version!
/* Copyright 2014 Lyncos Technologies S. L.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. 
 */


package com.lhings.java.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation is used to provide generic meta information about
 * the device, like its manufacturer, model, serial number, and type of
 * device. The type of device is a special field, because depending on 
 * its value a different icon is shown in Lhings for the device. Currently
 * the Lhings changes its default device icon for a customized one for the
 * following device types:
 * 
 *
 * If you want the icon of your device added to this list, do not hesitate
 * to contact us.
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
public @interface DeviceInfo {
	String manufacturer() default "";
	String modelName() default "";
	String serialNumber() default "";
	String deviceType() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy