com.talk2object.plum.interaction.annotation.View Maven / Gradle / Ivy
package com.talk2object.plum.interaction.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.talk2object.plum.viewgeneration.viewbuilder.AnnotationViewBuilder;
/**
* provides additional view builder for model class. those view builder are not
* registered to the model class.
*
* @author jack
*
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface View {
/**
* class of View
*
* @return
*/
Class clazz();
Class viewBuilder() default AnnotationViewBuilder.class;
/**
* top categories of all actions
*
* @return
*/
String[] categories();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy