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

artoria.data.annotation.FieldInfo Maven / Gradle / Ivy

The newest version!
package artoria.data.annotation;

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

/**
 * The field information.
 * @author Kahle
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface FieldInfo {

    /**
     * Get the field description.
     * @return The field description
     */
    String description() default "";

    /**
     * Get the extra information for the field.
     * @return The extra information
     */
    String extra() default "";

    /**
     * Get the field sort.
     * @return The field sort
     */
    int    sort()  default 0;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy