bump the version
[dmaap/messagerouter/msgrtr.git] / src / test / java / org / onap / dmaap / mr / test / dme2 / ApiKeyBean.java
1 /*******************************************************************************
2  *  ============LICENSE_START=======================================================
3  *  org.onap.dmaap
4  *  ================================================================================
5  *  Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6  *  ================================================================================
7  *  Licensed under the Apache License, Version 2.0 (the "License");
8  *  you may not use this file except in compliance with the License.
9  *  You may obtain a copy of the License at
10  *        http://www.apache.org/licenses/LICENSE-2.0
11  *  
12  *  Unless required by applicable law or agreed to in writing, software
13  *  distributed under the License is distributed on an "AS IS" BASIS,
14  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  *  See the License for the specific language governing permissions and
16  *  limitations under the License.
17  *  ============LICENSE_END=========================================================
18  *
19  *  ECOMP is a trademark and service mark of AT&T Intellectual Property.
20  *  
21  *******************************************************************************/
22 package org.onap.dmaap.mr.test.dme2;
23
24 import java.io.Serializable;
25
26 public class ApiKeyBean implements Serializable {
27
28         private static final long serialVersionUID = -8219849086890567740L;
29
30         // private static final String KEY_CHARS =
31         // "ABCDEFGHJIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
32
33         
34         private String email;
35         private String description;
36
37         public ApiKeyBean() {
38                 super();
39         }
40
41         public ApiKeyBean(String email, String description) {
42                 super();
43                 this.email = email;
44                 this.description = description;
45         }
46
47         public String getEmail() {
48                 return email;
49         }
50
51         public void setEmail(String email) {
52                 this.email = email;
53         }
54
55         public String getDescription() {
56                 return description;
57         }
58
59         public void setDescription(String description) {
60                 this.description = description;
61         }
62
63         /*
64          * public String getKey() { return generateKey(16); }
65          * 
66          * public String getSharedSecret() { return generateKey(24); }
67          * 
68          * private static String generateKey ( int length ) { return
69          * uniqueStringGenerator.createKeyUsingAlphabet ( KEY_CHARS, length ); }
70          */
71
72 }