[ONOS-3114] PortChainId

Change-Id: I3281996786b4a5acc43e5a97dc31051e443fbfca
diff --git a/apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/resources/PortChainWebResource.java b/apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/resources/PortChainWebResource.java
index 915eda5..db12bcc 100644
--- a/apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/resources/PortChainWebResource.java
+++ b/apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/resources/PortChainWebResource.java
@@ -82,10 +82,10 @@
     @Produces(MediaType.APPLICATION_JSON)
     public Response getPortPain(@PathParam("chain_id") String id) {
 
-        if (!service.exists(PortChainId.portChainId(id))) {
+        if (!service.exists(PortChainId.of(id))) {
             return Response.status(NOT_FOUND).entity(PORT_CHAIN_NOT_FOUND).build();
         }
-        PortChain portChain = nullIsNotFound(service.getPortChain(PortChainId.portChainId(id)),
+        PortChain portChain = nullIsNotFound(service.getPortChain(PortChainId.of(id)),
                                              PORT_CHAIN_NOT_FOUND);
         ObjectNode result = new ObjectMapper().createObjectNode();
         result.set("port_chain", new PortChainCodec().encode(portChain, this));
@@ -147,7 +147,7 @@
     @DELETE
     public void deletePortPain(@PathParam("chain_id") String id) {
         log.debug("Deletes port chain by identifier {}.", id);
-        PortChainId portChainId = PortChainId.portChainId(id);
+        PortChainId portChainId = PortChainId.of(id);
 
         Boolean issuccess = nullIsNotFound(service.removePortChain(portChainId), PORT_CHAIN_NOT_FOUND);
         if (!issuccess) {