001 package com.sptci.prevayler.annotations;
002
003 import java.lang.annotation.Documented;
004 import java.lang.annotation.ElementType;
005 import java.lang.annotation.Inherited;
006 import java.lang.annotation.Retention;
007 import java.lang.annotation.RetentionPolicy;
008 import java.lang.annotation.Target;
009
010 /**
011 * Annotation for specifying all the full-text search indices for a prevalent
012 * class.
013 *
014 * <p>© Copyright 2008 <a href='http://sptci.com/' target='_top'>Sans
015 * Pareil Technologies, Inc.</a></p>
016 * @author Rakesh 2008-11-12
017 * @since Release 0.3.0
018 * @version $Id: Searchables.java 22 2008-11-24 19:04:25Z sptrakesh $
019 */
020 @Documented
021 @Inherited
022 @Retention( RetentionPolicy.RUNTIME )
023 @Target( ElementType.TYPE )
024 public @interface Searchables
025 {
026 /**
027 * The array of {@link Searchable} annotations that represent all the full
028 * text search index definitions for the prevalent object.
029 *
030 * @return The array of search index definitions.
031 */
032 Searchable[] value();
033 }