Annotation Interface 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)
  • Element Details

    • facets

      The facets that make up this resource.
      Returns:
      an array of facets
      Default:
      {}
    • resources

      The resources that are related to this resource.
      Returns:
      an array of related resources
      Default:
      {}