Annotation Interface RelatedResourcesEntry
Defines a relationship between resources within a
ResourceSchema.- Author:
- Luca Frosini (ISTI - CNR)
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA description of the relationship.Class<? extends IsRelatedTo>The relation type connecting the resources.The source resource of the relationship.The target resource of the relationship.
-
Element Details
-
source
The source resource of the relationship.- Returns:
- The source resource class.
- Default:
- org.gcube.informationsystem.model.reference.entities.Resource.class
-
relation
Class<? extends IsRelatedTo> relationThe relation type connecting the resources.- Returns:
- The relation class.
- Default:
- org.gcube.informationsystem.model.reference.relations.IsRelatedTo.class
-
target
The target resource of the relationship.- Returns:
- The target resource class.
- Default:
- org.gcube.informationsystem.model.reference.entities.Resource.class
-
description
String descriptionA description of the relationship.- Returns:
- The description.
- Default:
- ""
-