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

io.github.wistefan.mapping.annotations.MappingEnabled Maven / Gradle / Ivy

package io.github.wistefan.mapping.annotations;

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

/**
 * Indicates that the given object can be mapped to an NGSI-LD Entity
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface MappingEnabled {

	/**
	 * Supported entity types for the mapping. E.g. which ngsi-ld entity types can be mapped to the object.
	 */
	String[] entityType() default {""};

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy