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

estivate.annotations.Convert Maven / Gradle / Ivy

The newest version!
package estivate.annotations;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

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

import estivate.core.Converter;

/**
 * @author Benoit Theunissen
 *
 */
@Target({ FIELD, METHOD })
@Retention(RUNTIME)
public @interface Convert {

    Class value();

    /**
     * 
     * @return String format to pass to the converter
     */
    String format() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy