From 9819a1bd7f6cd4b487694188d7066cc7b373724b Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 14 Jul 2022 15:50:29 +0200 Subject: [PATCH] Added comment --- .../resourceregistry/api/rest/AccessPath.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/AccessPath.java b/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/AccessPath.java index 3e9399f..eb2f64c 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/AccessPath.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/AccessPath.java @@ -36,8 +36,20 @@ public class AccessPath { public static final String RELATION_TYPE_PATH_PART = "RELATION_TYPE_NAME"; public static final String REFERENCE_TYPE_PATH_PART = "REFERENCE_TYPE_NAME"; + /** + * Used only in getRelated() function + * The _ is prepended to avoid clash with field name + */ public static final String _REFERENCE_PARAM = "_reference"; + /** + * Used only in getRelated() function + * The _ is prepended to avoid clash with field name + */ public static final String _POLYMORPHIC_PARAM = "_polymorphic"; + /** + * Used only in getRelated() function + * The _ is prepended to avoid clash with field name + */ public static final String _DIRECTION_PARAM = "_direction"; // public static final String _INCLUDE_RELATION_PARAM = "_includeRelation";