aboutsummaryrefslogtreecommitdiffstats
path: root/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/entities/uri/GraphInventorySingleResourceUri.java
blob: ac0e4a0c94cabc842a0bf65a1370e2f42f0791e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.onap.aaiclient.client.graphinventory.entities.uri;

import org.onap.aaiclient.client.graphinventory.GraphInventoryObjectPlurals;
import org.onap.aaiclient.client.graphinventory.GraphInventoryObjectType;

public interface GraphInventorySingleResourceUri<T extends GraphInventorySingleResourceUri<?, ?, ?, ?>, P extends GraphInventoryPluralResourceUri<?, ?>, SingleObject extends GraphInventoryObjectType, PluralObject extends GraphInventoryObjectPlurals>
        extends GraphInventoryResourceUri<T, SingleObject> {

    public T resourceVersion(String version);

    public T relationshipAPI();

    public P relatedTo(PluralObject plural);

    public T relatedTo(SingleObject type, String... values);
}