Decouple config and netconf subsystems.
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / mapping / attributes / mapping / AbstractAttributeMappingStrategy.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, 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
9 package org.opendaylight.controller.config.facade.xml.mapping.attributes.mapping;
10
11 import javax.management.openmbean.OpenType;
12
13 public abstract class AbstractAttributeMappingStrategy<T, O extends OpenType<?>> implements
14         AttributeMappingStrategy<T, O> {
15
16     private final O attrOpenType;
17
18     public AbstractAttributeMappingStrategy(O attributeIfc) {
19         this.attrOpenType = attributeIfc;
20     }
21
22     @Override
23     public O getOpenType() {
24         return attrOpenType;
25     }
26
27 }