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

io.overcoded.grid.annotation.DisplayValue Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package io.overcoded.grid.annotation;

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

/**
 * With DisplayValue we can define how we want to display
 * the annotated type on ui elements, e.g. in a dropdown.
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface DisplayValue {
    /**
     * Describes how to display a complex data type in a column or in a label.
     * 

* As our grid project designed to use with Spring Boot, Hibernate and Vaadin, * DisplayValue designed to use with SPeL. * If an element starts with ', that means that should be handled as string * otherwise refers to a variable, which should handled by SPeL. * * @return display value array */ String[] value(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy