KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > cheatsheets > data > Intro


1 /*******************************************************************************
2  * Copyright (c) 2002, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.internal.cheatsheets.data;
12
13 public class Intro {
14     private String JavaDoc contextId;
15     private String JavaDoc href;
16     private String JavaDoc description;
17
18     /**
19      * Constructor for Intro.
20      */

21     public Intro() {
22         super();
23     }
24     
25     public Intro(String JavaDoc description, String JavaDoc href, String JavaDoc contextId) {
26         super();
27         this.description = description;
28         this.href = href;
29         this.contextId = contextId;
30     }
31     
32     /**
33      * Returns the contenxtId.
34      * @return String
35      */

36     public String JavaDoc getContextId() {
37         return contextId;
38     }
39
40     /**
41      * Returns the helpLink.
42      * @return String
43      */

44     public String JavaDoc getHref() {
45         return href;
46     }
47
48     /**
49      * Returns the description.
50      * @return String
51      */

52     public String JavaDoc getDescription() {
53         return description;
54     }
55
56     /**
57      * Sets the contextId.
58      * @param contextId The contextId to set
59      */

60     public void setContextId(String JavaDoc contextId) {
61         this.contextId = contextId;
62     }
63
64     /**
65      * Sets the helpLink.
66      * @param helpLink The helpLink to set
67      */

68     public void setHref(String JavaDoc helpLink) {
69         this.href = helpLink;
70     }
71
72     /**
73      * Sets the description.
74      * @param description The description to set
75      */

76     public void setDescription(String JavaDoc description) {
77         this.description = description;
78     }
79 }
80
Popular Tags