Annotation Type RelatedResourcesEntry
-
@Target(TYPE) @Retention(RUNTIME) public @interface RelatedResourcesEntry
Defines a relationship between resources within aResourceSchema.- Author:
- Luca Frosini (ISTI - CNR)
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdescriptionA description of the relationship.Class<? extends IsRelatedTo>relationThe relation type connecting the resources.Class<? extends Resource>sourceThe source resource of the relationship.Class<? extends Resource>targetThe target resource of the relationship.
-
-
-
-
relation
Class<? extends IsRelatedTo> relation
The relation type connecting the resources.- Returns:
- The relation class.
- Default:
- org.gcube.informationsystem.model.reference.relations.IsRelatedTo.class
-
-
-
description
String description
A description of the relationship.- Returns:
- The description.
- Default:
- ""
-
-