(no commit message)
[sfa.git] / gui / JavaApplication1 / src / javaapplication1 / RecordInfo.java
1 /*
2  * RecordInfo.java
3  *
4  * Created on March 30, 2008, 12:07 AM
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  *
15  * @author soners
16  */
17 public class RecordInfo {
18     
19     /** Creates a new instance of RecordInfo */
20     public RecordInfo() {
21     }
22     
23     public void setCurrentRecord(String hrn, String type){
24         this.hrn = hrn;
25         this.type = type;        
26     }
27
28
29     /**
30      * Holds value of property hrn.
31      */
32     private String hrn;
33
34     /**
35      * Getter for property hrn.
36      * @return Value of property hrn.
37      */
38     public String getHrn() {
39         return this.hrn;
40     }
41
42     /**
43      * Setter for property hrn.
44      * @param hrn New value of property hrn.
45      */
46     public void setHrn(String hrn) {
47         this.hrn = hrn;
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 }