Clover icon

sunshower-sdk

  1. Project Clover database Sat May 12 2018 05:15:40 UTC
  2. Package io.sunshower.sdk.v1.core.auth.model

File UsernamePasswordCredentialElement.java

 

Coverage histogram

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

Code metrics

0
8
6
1
46
33
6
0.75
1.33
6
1

Classes

Class Line # Actions
UsernamePasswordCredentialElement 12 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 lombok.ToString;
5   
6    import javax.xml.bind.annotation.XmlAttribute;
7    import javax.xml.bind.annotation.XmlElement;
8    import javax.xml.bind.annotation.XmlRootElement;
9   
10    @ToString
11    @XmlRootElement(name = "username-password")
 
12    public class UsernamePasswordCredentialElement extends CredentialElement {
13   
14    @XmlAttribute
15    private String username;
16   
17    @XmlElement
18    private String password;
19   
 
20  0 toggle public UsernamePasswordCredentialElement() {
21  0 super();
22    }
23   
 
24  0 toggle public UsernamePasswordCredentialElement(String username, String password) {
25  0 this();
26  0 this.username = username;
27  0 this.password = password;
28    }
29   
 
30  0 toggle public String getUsername() {
31  0 return username;
32    }
33   
 
34  0 toggle public void setUsername(String username) {
35  0 this.username = username;
36    }
37   
 
38  0 toggle public String getPassword() {
39  0 return password;
40    }
41   
 
42  0 toggle public void setPassword(String password) {
43  0 this.password = password;
44    }
45   
46    }