Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 9fbe890f1056ce50ce85d8745fb78ce7ca126014 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2002, 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<LINK REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
<title>TeamResource Class After Editing</title>
</head>

<body>
<h1>TeamResource Class After Editing</h1>
<pre><samp>
package samples.model;

import org.eclipse.rse.core.subsystems.AbstractResource;
import org.eclipse.rse.core.subsystems.ISubSystem;

/**
 * This models a remote resource representing a team defined on a particular system.
 */
public class TeamResource extends AbstractResource {

	private String name;
	private DeveloperResource[] developers;
	
	/**
	 * Default constructor
	 */
	public TeamResource()
	{
		super();
	}
	/**
	 * Constructor for TeamResource when given a parent subsystem.
	 */
	public TeamResource(ISubSystem parentSubSystem)
	{
		super(parentSubSystem);
	}
	
	/**
	 * Returns the name.
	 * @return String
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * Sets the name.
	 * @param name The name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}

	/**
	 * Returns the developers.
	 * @return DeveloperResource[]
	 */
	public DeveloperResource[] getDevelopers()
	{
		return developers;
	}

	/**
	 * Sets the developers.
	 * @param developers The developers to set
	 */
	public void setDevelopers(DeveloperResource[] developers)
	{
		this.developers = developers;
	}


}
</samp></pre>
</body>
</html>

Back to the top