package com.raizlabs.android.dbflow.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Description: Used inside of {@link ForeignKey#references()}, describes the
 * local column name, type, and referencing table column name.
 * <p/>
 * Note: the type of the local column must match the
 * column type of the referenced column. By using a field as a Model object,
 * you will need to ensure the same types are used.
 */
@Retention(RetentionPolicy.SOURCE)
public @interface ForeignKeyReference {

    /**
     * @return The local column name that will be referenced in the DB
     */
    String columnName();

    /**
     * Needs to match both tables!
     *
     * @return The type of columns between tables
     */
    Class<?> columnType();

    /**
     * @return The column name in the referenced table
     */
    String foreignKeyColumnName();

    /**
     * @return True here if the referenced field is private. It must have a getter with the same name available such
     * that a field "name" has "getName()".
     */
    boolean referencedFieldIsPrivate() default false;

    /**
     * @return True here if the referenced field is package private. It will use the "_Helper" class
     * generated automatically to access the value of the field. Also, its required that the {@link ForeignKey#tableClass()}
     * is set or known at compile time via a Model object.
     */
    boolean referencedFieldIsPackagePrivate() default false;

    /**
     * @return sets the name of the referenced field getter.
     * @see Column#getterName() for more information.
     */
    String referencedGetterName() default "";

    /**
     * @return Sets the name of the referenced field setter.
     * @see Column#setterName() for more information.
     */
    String referencedSetterName() default "";
}

@@ -277,17 +277,20 @@
 e.%0A * %3Cp
-/
+%3E%3C/p
 %3E%0A * Not

fix java doc issue