TAPI topology creation for 100GE Transponder
[transportpce.git] / tapi / src / main / java / org / opendaylight / transportpce / tapi / utils / GenericServiceEndpoint.java
1 /*
2  * Copyright © 2018 Orange, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.transportpce.tapi.utils;
9
10 import org.opendaylight.yang.gen.v1.http.org.openroadm.common.service.types.rev190531.ServiceEndpoint;
11
12 public class GenericServiceEndpoint {
13     private ServiceEndpoint value;
14     private ServiceEndpointType type;
15
16     public ServiceEndpointType getType() {
17         return type;
18     }
19
20     public GenericServiceEndpoint(ServiceEndpoint sep, ServiceEndpointType type) {
21         this.value = sep;
22         this.type = type;
23     }
24
25     public ServiceEndpoint getValue() {
26         return value;
27     }
28
29
30 }