Back to project page jpdroid.
The source code is released under:
GNU General Public License
If you think the Android project jpdroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package br.com.rafael.jpdroid.annotations; //from w w w . j av a2 s. c om import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import br.com.rafael.jpdroid.enums.RelationType; /** * Identifica atributo como classe relacionada. * * @author Rafael Centenaro * */ @Target({java.lang.annotation.ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface RelationClass { /** * Nome coluna utilizada no relacionamento. * @return */ String joinColumn() default ""; String joinTable() default ""; /** * Tipo de relacionamento. * @return */ RelationType relationType(); /** * Identifica que este relacionamento n?o deve ser persistido. */ boolean Transient() default false; }