src/java/isac/util/users/User.java
branchjava_rename_format
changeset 3922 fcd5648113ca
equal deleted inserted replaced
963:b4896ce4d1b0 3922:fcd5648113ca
       
     1 /****************************************************************** 
       
     2  * @author Alois Kirchsteiger member of the isac team
       
     3  * Copyright (c) 2004 by Alois Kirchsteiger
       
     4  * create 02.09.2004, 09:22:43
       
     5  * Insitute for Softwaretechnology, Graz University of Technology, Austria. 
       
     6  * 
       
     7  * Use is subject to license terms.
       
     8  ******************************************************************/
       
     9 
       
    10 //TODO: implement!!!
       
    11 package isac.util.users;
       
    12 
       
    13 import java.io.Serializable;
       
    14 
       
    15 /**
       
    16  * @author Alois Kirchsteiger 02.09.2004 09:22:43
       
    17  */
       
    18 public class User implements Serializable {
       
    19     private String username_;
       
    20 
       
    21     private String userpath_;
       
    22 
       
    23     public User(String username, String userpath) {
       
    24         username_ = username;
       
    25         userpath_ = userpath;
       
    26     }
       
    27 
       
    28     public UserAdmin getUserAdmin() {
       
    29         return new UserAdmin(userpath_, username_);
       
    30 
       
    31     }
       
    32 
       
    33     public UserModel getUserModel() {
       
    34         return new UserModel(userpath_, username_);
       
    35     }
       
    36 
       
    37     public UserSettings getUserSettings() {
       
    38         return new UserSettings(userpath_, username_);
       
    39 
       
    40     }
       
    41 
       
    42     public String getUsername() {
       
    43         return username_;
       
    44     }
       
    45 
       
    46 }