KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * MenuLinks.java
3  *
4  * Created on March 24, 2003, 8:10 PM
5  */

6
7 package com.quikj.application.communicator.admin.controller;
8
9 import java.util.*;
10
11 /**
12  *
13  * @Source Vinod Batra
14  */

15 public class MenuLinks
16 {
17     /** Holds value of property image. */
18     private String JavaDoc image;
19     
20     /** Holds value of property company. */
21     private String JavaDoc company;
22     
23     /** Holds value of property url. */
24     private String JavaDoc url;
25     
26     /** Holds value of property links. */
27     private ArrayList links = new ArrayList();;
28     
29     /** Creates a new instance of MenuLinks */
30     public MenuLinks()
31     {
32     }
33     
34     /** Getter for property image.
35      * @return Value of property image.
36      *
37      */

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

47     public void setImage(String JavaDoc image)
48     {
49         this.image = image;
50     }
51     
52     /** Getter for property company.
53      * @return Value of property company.
54      *
55      */

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

65     public void setCompany(String JavaDoc company)
66     {
67         this.company = company;
68     }
69     
70     /** Getter for property url.
71      * @return Value of property url.
72      *
73      */

74     public String JavaDoc getUrl()
75     {
76         return this.url;
77     }
78     
79     /** Setter for property url.
80      * @param url New value of property url.
81      *
82      */

83     public void setUrl(String JavaDoc url)
84     {
85         this.url = url;
86     }
87     
88     /** Getter for property links.
89      * @return Value of property links.
90      *
91      */

92     public ArrayList getLinks()
93     {
94         return this.links;
95     }
96     
97     /** Setter for property links.
98      * @param links New value of property links.
99      *
100      */

101     public void setLinks(ArrayList links)
102     {
103         this.links = links;
104     }
105     
106     public void addLink(Link l)
107     {
108         links.add(l);
109     }
110 }
111
112
113
114
Popular Tags