TAPI topology creation for 100GE Transponder
[transportpce.git] / tapi / src / main / java / org / opendaylight / transportpce / tapi / utils / GenericServiceEndpoint.java
diff --git a/tapi/src/main/java/org/opendaylight/transportpce/tapi/utils/GenericServiceEndpoint.java b/tapi/src/main/java/org/opendaylight/transportpce/tapi/utils/GenericServiceEndpoint.java
new file mode 100644 (file)
index 0000000..0504076
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright © 2018 Orange, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.transportpce.tapi.utils;
+
+import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev190531.ServiceEndpoint;
+
+public class GenericServiceEndpoint {
+    private ServiceEndpoint value;
+    private ServiceEndpointType type;
+
+    public ServiceEndpointType getType() {
+        return type;
+    }
+
+    public GenericServiceEndpoint(ServiceEndpoint sep, ServiceEndpointType type) {
+        this.value = sep;
+        this.type = type;
+    }
+
+    public ServiceEndpoint getValue() {
+        return value;
+    }
+
+
+}