1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00
cdt/rse/doc/org.eclipse.rse.doc.isv/guide/tutorial/DeveloperResource.html
David Dykstal fc3a24983c bug 149331 - Update tutorial to use current tutorial example code.
Get rid of etools references.
The tutorial still requires some work since it is hard to update from the code. All highlighting and anchor creation is done by hand, as are the differences from step to step.
2006-08-04 20:37:05 +00:00

104 lines
2.1 KiB
HTML
Executable file

<!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>DeveloperResource Class After Editing</title>
</head>
<body bgcolor="#ffffff">
<h1>DeveloperResource Class After Editing</h1>
<p>
<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 developer defined on a particular system.
*/
public class DeveloperResource extends AbstractResource {
<strong>private String name;</strong>
<strong>private String id;</strong>
<strong>private String deptNbr;</strong>
/**
* Default constructor for DeveloperResource.
*/
public DeveloperResource()
{
super();
}
/**
* Constructor for DeveloperResource when given parent subsystem.
*/
public DeveloperResource(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 id.
* @return String
*/
public String getId()
{
return id;
}
/**
* Sets the id.
* @param id The id to set
*/
public void setId(String id)
{
this.id = id;
}
/**
* Returns the deptNbr.
* @return String
*/
public String getDeptNbr()
{
return deptNbr;
}
/**
* Sets the deptNbr.
* @param deptNbr The deptNbr to set
*/
public void setDeptNbr(String deptNbr)
{
this.deptNbr = deptNbr;
}
}
</samp></pre>
</p>
</body>
</html>