Annotation Type ResourceSchemaEntry


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface ResourceSchemaEntry
    It is used by TypeMapper to identify which getter method are related to and Entity PropertyDefinition. The name of the property is obtained by removing "get" or "is" from method name and lower casing the first letter.
    Author:
    Luca Frosini (ISTI - CNR)
    • Element Detail

      • relation

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

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

        String description
        Default:
        ""
      • min

        int min
        Default:
        0
      • max

        int max
        Default:
        -1