jadex.bridge.nonfunctional.annotation.NameValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.
package jadex.bridge.nonfunctional.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Name, value pair.
*/
@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface NameValue
{
/**
* The name.
*/
public String name();
/**
* The value as string, will be parsed.
*/
public String value() default "";
/**
* The values as strings, will be individually parsed.
*/
public String[] values() default {};
/**
* The value as a class.
*/
public Class> clazz() default Object.class;
}