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