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)
    • 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:
        {}