io.ultreia.java4all.bean.spi.GenerateJavaBeanDefinition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-bean Show documentation
Show all versions of java-bean Show documentation
Java Bean api extends by Ultreia.io
package io.ultreia.java4all.bean.spi;
/*-
* #%L
* Java Beans extends by Ultreia.io
* %%
* Copyright (C) 2018 Ultreia.io
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
import io.ultreia.java4all.bean.JavaBean;
import io.ultreia.java4all.bean.JavaBeanDefinition;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Place this annotation on any {@link JavaBean} class to generate his {@link JavaBeanDefinition}.
*
* Created by tchemit on 07/01/2018.
*
* @author Tony Chemit - [email protected]
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
public @interface GenerateJavaBeanDefinition {
/**
* @return array of fully qualified class names that should be register for this definition, if none is
* specified, then use the processed java class type.
* @see JavaBeanDefinition#types()
*/
String[] types() default {};
/** @return {@code true} to generate predicate builder */
boolean predicate() default true;
/** @return {@code true} to generate comparator builder */
boolean comparator() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy