diff options
Diffstat (limited to 'common/src/main/java/org/onap/so/client/aai/entities/uri/NodesUri.java')
-rw-r--r-- | common/src/main/java/org/onap/so/client/aai/entities/uri/NodesUri.java | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/common/src/main/java/org/onap/so/client/aai/entities/uri/NodesUri.java b/common/src/main/java/org/onap/so/client/aai/entities/uri/NodesUri.java index 6ffc6ecd9b..4b4b5d92a2 100644 --- a/common/src/main/java/org/onap/so/client/aai/entities/uri/NodesUri.java +++ b/common/src/main/java/org/onap/so/client/aai/entities/uri/NodesUri.java @@ -21,7 +21,6 @@ package org.onap.so.client.aai.entities.uri; import javax.ws.rs.core.UriBuilder; - import org.onap.so.client.aai.AAIObjectPlurals; import org.onap.so.client.aai.AAIObjectType; import org.onap.so.client.graphinventory.GraphInventoryObjectPlurals; @@ -29,24 +28,24 @@ import org.onap.so.client.graphinventory.GraphInventoryObjectType; public class NodesUri extends AAISimpleUri { - private static final long serialVersionUID = 8818689895730182042L; - - protected NodesUri(AAIObjectType type, Object... values) { - super(type, values); - } - - protected NodesUri(AAIObjectPlurals type) { - super(type); - } - - - @Override - protected String getTemplate(GraphInventoryObjectType type) { - return UriBuilder.fromUri("/nodes").path(type.partialUri()).toTemplate(); - } - - @Override - protected String getTemplate(GraphInventoryObjectPlurals type) { - return UriBuilder.fromUri("/nodes").path(type.partialUri()).toTemplate(); - } + private static final long serialVersionUID = 8818689895730182042L; + + protected NodesUri(AAIObjectType type, Object... values) { + super(type, values); + } + + protected NodesUri(AAIObjectPlurals type) { + super(type); + } + + + @Override + protected String getTemplate(GraphInventoryObjectType type) { + return UriBuilder.fromUri("/nodes").path(type.partialUri()).toTemplate(); + } + + @Override + protected String getTemplate(GraphInventoryObjectPlurals type) { + return UriBuilder.fromUri("/nodes").path(type.partialUri()).toTemplate(); + } } |