KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > communicator > admin > controller > LinkAttribute


1 /*
2  * LinkAttribute.java
3  *
4  * Created on March 26, 2003, 5:27 PM
5  */

6
7 package com.quikj.application.communicator.admin.controller;
8
9 /**
10  *
11  * @author amit
12  */

13 public class LinkAttribute
14 {
15     
16     /** Holds value of property name. */
17     private String JavaDoc name;
18     
19     /** Holds value of property link. */
20     private String JavaDoc link;
21     
22     /** Creates a new instance of LinkAttribute */
23     public LinkAttribute()
24     {
25     }
26     
27     public LinkAttribute(String JavaDoc name, String JavaDoc link)
28     {
29         this.name = name;
30         this.link = link;
31     }
32     
33     /** Getter for property name.
34      * @return Value of property name.
35      *
36      */

37     public String JavaDoc getName()
38     {
39         return this.name;
40     }
41     
42     /** Setter for property name.
43      * @param name New value of property name.
44      *
45      */

46     public void setName(String JavaDoc name)
47     {
48         this.name = name;
49     }
50     
51     /** Getter for property link.
52      * @return Value of property link.
53      *
54      */

55     public String JavaDoc getLink()
56     {
57         return this.link;
58     }
59     
60     /** Setter for property link.
61      * @param link New value of property link.
62      *
63      */

64     public void setLink(String JavaDoc link)
65     {
66         this.link = link;
67     }
68     
69 }
70
Popular Tags