Annotation Type BelongsToPolymorphic
-
@Retention(RUNTIME) @Target(TYPE) public @interface BelongsToPolymorphic
- Author:
- Igor Polevoy
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]typeLabelsList of type labels corresponding to parent classes.
-
-
-
-
typeLabels
String[] typeLabels
List of type labels corresponding to parent classes. This is a value to be stored in the "parent_type" column of the child record. Use this to override default behavior (parent full class name).- Returns:
- list of type labels corresponding to parent classes.
- Default:
- {}
-
-