Reorganize mappingservice.implementation
[lispflowmapping.git] / mappingservice / implementation / src / main / java / org / opendaylight / lispflowmapping / implementation / util / DAOSubKeys.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc.  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.lispflowmapping.implementation.util;
10
11 /**
12  * Defines DAO Subkeys
13  *
14  * @author Florin Coras
15  *
16  */
17 public enum DAOSubKeys {
18     PASSWORD_SUBKEY("password"),
19     ADDRESS_SUBKEY("address"),
20     SUBSCRIBERS_SUBKEY("subscribers"),
21     LCAF_SRCDST_SUBKEY("lcaf_srcdst"),
22     UNKOWN("-1");
23
24     private String key;
25
26     private DAOSubKeys(String key) {
27         this.key = key;
28     }
29
30     public String getKey() {
31         return key;
32     }
33
34     @Override
35     public String toString() {
36         return key;
37     }
38
39 }