1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-06 16:45:25 +02:00
cdt/rse/doc/org.eclipse.rse.doc.isv/guide/tutorial/TeamResource.html

84 lines
1.8 KiB
HTML
Raw Normal View History

2006-05-30 15:32:53 +00:00
<!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>
2006-05-30 15:32:53 +00:00
<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;
2006-05-30 15:32:53 +00:00
/**
* This models a remote resource representing a team defined on a particular system.
*/
public class TeamResource extends AbstractResource {
private String name;
private DeveloperResource[] developers;
2006-05-30 15:32:53 +00:00
/**
* Default constructor
*/
public TeamResource()
{
super();
}
/**
* Constructor for TeamResource when given a parent subsystem.
*/
public TeamResource(ISubSystem parentSubSystem)
2006-05-30 15:32:53 +00:00
{
super(parentSubSystem);
2006-05-30 15:32:53 +00:00
}
/**
* Returns the name.
* @return String
*/
public String getName()
2006-05-30 15:32:53 +00:00
{
return name;
}
2006-05-30 15:32:53 +00:00
/**
* Sets the name.
* @param name The name to set
*/
public void setName(String name)
2006-05-30 15:32:53 +00:00
{
this.name = name;
}
2006-05-30 15:32:53 +00:00
/**
* Returns the developers.
* @return DeveloperResource[]
*/
public DeveloperResource[] getDevelopers()
2006-05-30 15:32:53 +00:00
{
return developers;
}
2006-05-30 15:32:53 +00:00
/**
* Sets the developers.
* @param developers The developers to set
*/
public void setDevelopers(DeveloperResource[] developers)
2006-05-30 15:32:53 +00:00
{
this.developers = developers;
}
2006-05-30 15:32:53 +00:00
}
2006-05-30 15:32:53 +00:00
</samp></pre>
</body>
</html>