Simplify equals() methods
[aaa.git] / aaa-authn-api / src / main / java / org / opendaylight / aaa / api / model / UserPwd.java
1 /*
2  * Copyright (c) 2014, 2015 Hewlett-Packard Development Company, L.P. 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.aaa.api.model;
9
10 import javax.xml.bind.annotation.XmlRootElement;
11
12 @XmlRootElement(name = "userpwd")
13 public class UserPwd {
14     private String username;
15     private String userpwd;
16
17     public String getUsername() {
18         return username;
19     }
20
21     public void setUsername(final String name) {
22         username = name;
23     }
24
25     public String getUserpwd() {
26         return userpwd;
27     }
28
29     public void setUserpwd(final String pwd) {
30         userpwd = pwd;
31     }
32 }