*/
public class Profile {
- /** The name of the user this profile belongs to. */
- private final String username;
-
/**
* Creates a new profile.
- *
- * @param username
- * The name of the user this profile belongs to
*/
- public Profile(String username) {
- this.username = username;
+ public Profile() {
}
/**
- * Returns the name of the user this profile belongs to.
+ * Creates a copy of a profile.
*
- * @return The name of the user this profile belongs to
+ * @param profile
+ * The profile to copy
*/
- public String getUsername() {
- return username;
+ public Profile(Profile profile) {
}
}