Annotation Interface BelongsToPolymorphic
- Author:
- Igor Polevoy
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
List of type labels corresponding to parent classes.
-
Element Details
-
parents
List of parent classes.- Returns:
- list of parent classes.
-
-
-
typeLabels
String[] typeLabelsList 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:
- {}
-