001package org.dcm4che3.conf.core.api; 002 003import java.lang.annotation.Retention; 004import java.lang.annotation.RetentionPolicy; 005 006/** 007 * Denotes a field where the parent object will be set. Parent is defined as follows: 008 * <ul> 009 * <li>For child property (field), parent is the object</li> 010 * <li>For a list element, parent is the object that contains the list </li> 011 * <li>For a map value, parent is the object that contains the map </li> 012 * <li>For an extension, parent is the object that contains the extension map </li> 013 * </ul> 014 * 015 * If there is no parent found (i.e. the object is used independently), will be set to <b>null</b>. 016 */ 017@Retention(RetentionPolicy.RUNTIME) 018public @interface Parent { 019}