import java.net.URI;
import java.util.Map;
-
import org.onap.so.client.graphinventory.entities.uri.Depth;
import org.onap.so.client.graphinventory.GraphInventoryObjectType;
public interface GraphInventoryUri {
-
- public URI build();
- /**
- * By default GraphInventory enforces a depth of 1. Some objects can be told to retrieve objects
- * nested beneath them by increasing this number.
- *
- * You can use 0 to restrict the returned information to only the object you requested
- * You can use all to retrieve all nested objects (this should only be used if you really need a massive amount of information and are caching the retrieval)
- * @param depth
- * @return
- */
- public GraphInventoryUri depth(Depth depth);
- /**
- * Makes client only return object fields, no relationships
- *
- * @return
- */
- public GraphInventoryUri nodesOnly(boolean nodesOnly);
- public GraphInventoryUri queryParam(String name, String... values);
- public GraphInventoryUri replaceQueryParam(String name, String... values);
- public GraphInventoryUri resultIndex(int index);
- public GraphInventoryUri resultSize(int size);
- public GraphInventoryUri limit(int size);
- public GraphInventoryUri clone();
-
- /**
- * returns all key values of the URI as a map. Key names can be found in {@link GraphInventoryObjectType}
- * @return
- */
- public Map<String, String> getURIKeys();
- public GraphInventoryObjectType getObjectType();
- public boolean equals(Object o);
- public int hashCode();
+
+ public URI build();
+
+ /**
+ * By default GraphInventory enforces a depth of 1. Some objects can be told to retrieve objects nested beneath them
+ * by increasing this number.
+ *
+ * You can use 0 to restrict the returned information to only the object you requested You can use all to retrieve
+ * all nested objects (this should only be used if you really need a massive amount of information and are caching
+ * the retrieval)
+ *
+ * @param depth
+ * @return
+ */
+ public GraphInventoryUri depth(Depth depth);
+
+ /**
+ * Makes client only return object fields, no relationships
+ *
+ * @return
+ */
+ public GraphInventoryUri nodesOnly(boolean nodesOnly);
+
+ public GraphInventoryUri queryParam(String name, String... values);
+
+ public GraphInventoryUri replaceQueryParam(String name, String... values);
+
+ public GraphInventoryUri resultIndex(int index);
+
+ public GraphInventoryUri resultSize(int size);
+
+ public GraphInventoryUri limit(int size);
+
+ public GraphInventoryUri clone();
+
+ /**
+ * returns all key values of the URI as a map. Key names can be found in {@link GraphInventoryObjectType}
+ *
+ * @return
+ */
+ public Map<String, String> getURIKeys();
+
+ public GraphInventoryObjectType getObjectType();
+
+ public boolean equals(Object o);
+
+ public int hashCode();
}