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 used to configure all the foreign key fields in a prevalent
012 * object in a single block at the class level.
013 *
014 * <p>© Copyright 2008 <a href='http://sptci.com/' target='_top'>Sans Pareil Technologies, Inc.</a></p>
015 * @author Rakesh Vidyadharan 2008-05-23
016 * @version $Id: ForeignKeys.java 11 2008-06-30 21:33:41Z sptrakesh $
017 */
018 @Documented
019 @Inherited
020 @Retention( RetentionPolicy.RUNTIME )
021 @Target( ElementType.TYPE )
022 public @interface ForeignKeys
023 {
024 /**
025 * The array of foreign key annotations for the various fields in the
026 * prevalent object.
027 *
028 * @return The array of foreign key annotations.
029 */
030 ForeignKey[] value();
031 }