1 /* 2 * To change this template, choose Tools | Templates 3 * and open the template in the editor. 4 */ 5 6 package cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations; 7 8 import cz.cuni.amis.pogamut.unreal.t3dgenerator.elements.IUnrealReferencable; 9 import java.lang.annotation.ElementType; 10 import java.lang.annotation.Retention; 11 import java.lang.annotation.RetentionPolicy; 12 import java.lang.annotation.Target; 13 14 /** 15 * Designates a field to be added as a child object and to the array property "Components" as well. The type of the field 16 * must be descendant of {@link IUnrealReferencable}. 17 * This field is by default not considered a property of the object. If it should be, 18 * use {@link UnrealProperty} annotation to designate this. 19 * @author Martin Cerny 20 */ 21 @Retention(RetentionPolicy.RUNTIME) 22 @Target(ElementType.FIELD) 23 public @interface UnrealComponent { 24 }