Annotation Interface ResourceSchemaEntry


@Target(TYPE) @Retention(RUNTIME) public @interface ResourceSchemaEntry
Defines a single entry in a ResourceSchema, specifying a facet that composes the resource.
Author:
Luca Frosini (ISTI - CNR)
  • Element Details

    • relation

      Class<? extends ConsistsOf> relation
      Returns:
      the relation
      Default:
      org.gcube.informationsystem.model.reference.relations.ConsistsOf.class
    • facet

      Class<? extends Facet> facet
      Returns:
      the facet
      Default:
      org.gcube.informationsystem.model.reference.entities.Facet.class
    • description

      String description
      Returns:
      the description
      Default:
      ""
    • min

      int min
      Returns:
      the min
      Default:
      0
    • max

      int max
      Returns:
      the max
      Default:
      -1