|
|
@ -1,9 +1,5 @@ |
|
|
|
public class Credential { |
|
|
|
|
|
|
|
/** |
|
|
|
* Value Object für das Tupel aus name + pw |
|
|
|
*/ |
|
|
|
|
|
|
|
private String name, password; |
|
|
|
private int id; |
|
|
|
|
|
|
@ -27,4 +23,9 @@ public class Credential { |
|
|
|
{ |
|
|
|
this.password = newPassword; |
|
|
|
} |
|
|
|
|
|
|
|
public void updateUsername(String newUsername) |
|
|
|
{ |
|
|
|
this.name = newUsername; |
|
|
|
} |
|
|
|
} |