1 11 package org.eclipse.team.internal.ccvs.core.connection; 12 13 14 import org.eclipse.team.internal.ccvs.core.IUserInfo; 15 16 20 public class UserInfo implements IUserInfo { 21 22 private String username; 23 private String password; 24 private boolean isUsernameMutable; 25 26 protected UserInfo(String username, String password, boolean isUsernameMutable) { 27 this.username = username; 28 this.password = password; 29 this.isUsernameMutable = isUsernameMutable; 30 } 31 32 35 public String getUsername() { 36 return username; 37 } 38 39 protected String getPassword() { 40 return password; 41 } 42 43 46 public boolean isUsernameMutable() { 47 return isUsernameMutable; 48 } 49 50 53 public void setPassword(String password) { 54 this.password = password; 55 } 56 57 60 public void setUsername(String username) { 61 this.username = username; 62 } 63 64 } 65 | Popular Tags |