Annotation Type RelatedResourcesEntry


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface RelatedResourcesEntry
    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

      • source

        Class<? extends Resource> source
        Default:
        org.gcube.informationsystem.model.reference.entities.Resource.class
      • relation

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

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

        String description
        Default:
        ""