1 /** 2 * 3 */ 4 package ca.uhn.hl7v2.model; 5 6 import java.lang.annotation.ElementType; 7 import java.lang.annotation.Retention; 8 import java.lang.annotation.RetentionPolicy; 9 import java.lang.annotation.Target; 10 11 /** 12 * <p> 13 * {@link Message} classes marked with this annotation should not have their structure cached by 14 * the parser. In other words, this annotation is a signal to the parser that one instance 15 * of a particular {@link Message} subclass will not have the same structure as another. 16 * </p> 17 * <p> 18 * This annotation is only read if it is applied to a subclass of {@link Message} 19 * </p> 20 * 21 */ 22 @Retention(RetentionPolicy.RUNTIME) 23 @Target(value=ElementType.TYPE) 24 public @interface DoNotCacheStructure { 25 26 }