(no commit message)
[sfa.git] / gui / JavaApplication1 / src / javaapplication1 / User.java
1 /*
2  * User.java
3  *
4  * Created on March 29, 2008, 11:36 PM
5  *
6  * To change this template, choose Tools | Template Manager
7  * and open the template in the editor.
8  */
9
10 package javaapplication1;
11 import javax.swing.*;
12 /**
13  *
14  * @author soners
15  */
16 public class User {
17     
18     /** Creates a new instance of User */
19     public User() {
20     }
21     
22     public void setCurrentUser(String hrn, String type, String directory){
23         this.hrn = hrn;
24         this.type = type;
25         this.directory = directory;        
26     }
27
28     /**
29      * Holds value of property hrn.
30      */
31     private String hrn;
32
33     /**
34      * Getter for property hrn.
35      * @return Value of property hrn.
36      */
37     public String getHrn() {
38         return this.hrn;
39     }
40
41     /**
42      * Setter for property hrn.
43      * @param hrn New value of property hrn.
44      */
45     public void setHrn(String hrn) {
46         this.hrn = hrn;
47     }
48     
49
50     /**
51      * Holds value of property type.
52      */
53     private String type;
54
55     /**
56      * Getter for property type.
57      * @return Value of property type.
58      */
59     public String getType() {
60         return this.type;
61     }
62
63     /**
64      * Setter for property type.
65      * @param type New value of property type.
66      */
67     public void setType(String type) {
68         this.type = type;
69     }
70
71     /**
72      * Holds value of property directory.
73      */
74     private String directory;
75
76     /**
77      * Getter for property directory.
78      * @return Value of property directory.
79      */
80     public String getDirectory() {
81         return this.directory;
82     }
83
84     /**
85      * Setter for property directory.
86      * @param directory New value of property directory.
87      */
88     public void setDirectory(String directory) {
89         this.directory = directory;
90     }
91     
92 }