Annotation Type ResourceSchema
-
@Documented @Target(TYPE) @Retention(RUNTIME) public @interface ResourceSchema
Defines the schema for a resource, specifying its constituent facets and relationships with other resources.- Author:
- Luca Frosini (ISTI - CNR)
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ResourceSchemaEntry[]facetsThe facets that make up this resource.RelatedResourcesEntry[]resourcesThe resources that are related to this resource.
-
-
-
Element Detail
-
facets
ResourceSchemaEntry[] facets
The facets that make up this resource.- Returns:
- an array of facets
- Default:
- {}
-
-
-
resources
RelatedResourcesEntry[] resources
The resources that are related to this resource.- Returns:
- an array of related resources
- Default:
- {}
-
-