Clover icon

sunshower-sdk

  1. Project Clover database Wed Apr 4 2018 21:39:43 UTC
  2. Package io.sunshower.sdk.v1.core.auth.model

File UsernamePasswordCredentialElement.java

 

Coverage histogram

../../../../../../../img/srcFileCovDistChart0.png
34% of files have more coverage

Code metrics

0
8
6
1
44
29
6
0.75
1.33
6
1

Classes

Class Line # Actions
UsernamePasswordCredentialElement 10 8 6
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package io.sunshower.sdk.v1.core.auth.model;
2   
3   
4    import javax.xml.bind.annotation.XmlAttribute;
5    import javax.xml.bind.annotation.XmlElement;
6   
7    /**
8    * Created by gumerman on 5/24/17.
9    */
 
10    public class UsernamePasswordCredentialElement extends CredentialElement {
11   
12    @XmlAttribute
13    private String username;
14   
15    @XmlElement
16    private String password;
17   
 
18  0 toggle public UsernamePasswordCredentialElement() {
19  0 super();
20    }
21   
 
22  0 toggle public UsernamePasswordCredentialElement(String username, String password) {
23  0 this();
24  0 this.username = username;
25  0 this.password = password;
26    }
27   
 
28  0 toggle public String getUsername() {
29  0 return username;
30    }
31   
 
32  0 toggle public void setUsername(String username) {
33  0 this.username = username;
34    }
35   
 
36  0 toggle public String getPassword() {
37  0 return password;
38    }
39   
 
40  0 toggle public void setPassword(String password) {
41  0 this.password = password;
42    }
43   
44    }