KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Link.java
3  *
4  * Created on March 27, 2003, 8:15 PM
5  */

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

13 public class Link {
14     
15     /** Creates a new instance of Link */
16    
17        // public static Link instance = null;
18
private String JavaDoc source;
19         private String JavaDoc caption;
20         //private String picFile;
21
//private String image_file;
22
public Link() {
23         }
24         
25         public void setSource( String JavaDoc rhs) { source = rhs; }
26         
27         public void setCaption( String JavaDoc rhs ) { caption = rhs; }
28         
29         public String JavaDoc getSource() {
30             return source;
31         }
32         
33         public String JavaDoc getCaption() {
34             return caption;
35         }
36 // public static Link getInstance()
37
// {
38
// if (instance == null)
39
// return new Link();
40
//
41
// return instance;
42
// }
43
public String JavaDoc toString() {
44             return "Link: Source='" + getSource() + "' Caption='" + getCaption() + "'";
45         }
46         
47         /** Getter for property picFile.
48          * @return Value of property picFile.
49          *
50          */

51 // public java.lang.String getPicFile() {
52
// return picFile;
53
// }
54
//
55
// /** Setter for property picFile.
56
// * @param picFile New value of property picFile.
57
// *
58
// */
59
// public void setPicFile(java.lang.String picFile) {
60
// this.picFile = picFile;
61
// }
62

63         /** Getter for property image_file.
64          * @return Value of property image_file.
65          *
66          */

67       
68         
69         /** Setter for property image_file.
70          * @param image_file New value of property image_file.
71          *
72          */

73       
74         
75     }
76
77
Popular Tags