/** * AnalyzerBeans * Copyright (C) 2014 Neopost - Customer Information Management * * This copyrighted material is made available to anyone wishing to use, modify, * copy, or redistribute it subject to the terms and conditions of the GNU * Lesser General Public License, as published by the Free Software Foundation. * * 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 Lesser General Public License * for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this distribution; if not, write to: * Free Software Foundation, Inc. * 51 Franklin Street, Fifth Floor * Boston, MA 02110-1301 USA */ package org.eobjects.analyzer.beans.api; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.inject.Qualifier; import org.apache.metamodel.schema.Column; /** * Annotation to provide the extra metadata about a property that it is a * reference to a {@link Column}. The reference may be a hard reference (an * actual {@link Column}) or just a simple String reference (usually to make it * easier to serialize and deserialize state and handle schema changes). */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.FIELD }) @Documented @Inherited @Qualifier public @interface ColumnProperty { /** * Determines if a (single) column property may be used semantically as an * column-array where each array-item represents a new analyzer job with an * otherwise duplicated configuration. */ public boolean escalateToMultipleJobs() default false; }