Annotation Interface CometReference
Annotation to declare references and dependencies to other configuration items.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionRestrictions for this reference.Class<? extends CometEntity> Class of the referenced item -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionName of the referencing field (i.e.
-
Element Details
-
targetClass
Class<? extends CometEntity> targetClassClass of the referenced item
- Returns:
- class of the referenced item
-
idFieldName
String idFieldNameName of the referencing field (i.e. the "foreign key" column)
- Returns:
- name of the referencing field
- Default:
""
-
restriction
PluginConfigDependencyRestriction restrictionRestrictions for this reference.
- Returns:
- restrictions for this reference
-