001 package net.sf.persism.annotations; 002 003 /* 004 * $RCSfile: $ 005 * $Revision: $ 006 * $Date: $ 007 * Created by IntelliJ IDEA. 008 * User: DHoward 009 * Date: 9/8/11 010 * Time: 6:18 AM 011 */ 012 013 import java.lang.annotation.ElementType; 014 import java.lang.annotation.Retention; 015 import java.lang.annotation.RetentionPolicy; 016 import java.lang.annotation.Target; 017 018 /** 019 * Indicates that the property is not mapped to a column. This annotation can appear on the class field, getter or setter. 020 * Persism ignores read-only properties so this annotation is only required where you have a read/write property which does not map to any column. 021 */ 022 @Retention(RetentionPolicy.RUNTIME) 023 @Target(value = {ElementType.METHOD, ElementType.FIELD}) 024 public @interface NotMapped { 025 026 }