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 > DeveloperResource Class After Editing< / title >
< / head >
< body bgcolor = "#ffffff" >
< h1 > DeveloperResource Class After Editing< / h1 >
< p >
< pre > < samp >
package samples.model;
2006-08-04 20:37:05 +00:00
import org.eclipse.rse.core.subsystems.AbstractResource;
import org.eclipse.rse.core.subsystems.ISubSystem;
2006-05-30 15:32:53 +00:00
/**
2006-08-04 20:37:05 +00:00
* This models a remote resource representing a developer defined on a particular system.
2006-05-30 15:32:53 +00:00
*/
2006-08-04 20:37:05 +00:00
public class DeveloperResource extends AbstractResource {
< strong > private String name;< / strong >
< strong > private String id;< / strong >
< strong > private String deptNbr;< / strong >
2006-05-30 15:32:53 +00:00
/**
* Default constructor for DeveloperResource.
*/
public DeveloperResource()
{
super();
}
2006-08-04 20:37:05 +00:00
2006-05-30 15:32:53 +00:00
/**
* Constructor for DeveloperResource when given parent subsystem.
*/
2006-08-04 20:37:05 +00:00
public DeveloperResource(ISubSystem parentSubSystem)
2006-05-30 15:32:53 +00:00
{
2006-08-04 20:37:05 +00:00
super(parentSubSystem);
2006-05-30 15:32:53 +00:00
}
2006-08-04 20:37:05 +00:00
2006-05-30 15:32:53 +00:00
/**
* Returns the name.
* @return String
*/
2006-08-04 20:37:05 +00:00
public String getName()
2006-05-30 15:32:53 +00:00
{
return name;
2006-08-04 20:37:05 +00:00
}
2006-05-30 15:32:53 +00:00
/**
* Sets the name.
* @param name The name to set
*/
2006-08-04 20:37:05 +00:00
public void setName(String name)
2006-05-30 15:32:53 +00:00
{
this.name = name;
2006-08-04 20:37:05 +00:00
}
2006-05-30 15:32:53 +00:00
/**
* Returns the id.
* @return String
*/
2006-08-04 20:37:05 +00:00
public String getId()
2006-05-30 15:32:53 +00:00
{
return id;
2006-08-04 20:37:05 +00:00
}
2006-05-30 15:32:53 +00:00
/**
* Sets the id.
* @param id The id to set
*/
2006-08-04 20:37:05 +00:00
public void setId(String id)
2006-05-30 15:32:53 +00:00
{
this.id = id;
2006-08-04 20:37:05 +00:00
}
2006-05-30 15:32:53 +00:00
/**
* Returns the deptNbr.
* @return String
*/
public String getDeptNbr()
{
return deptNbr;
}
/**
* Sets the deptNbr.
* @param deptNbr The deptNbr to set
*/
2006-08-04 20:37:05 +00:00
public void setDeptNbr(String deptNbr)
2006-05-30 15:32:53 +00:00
{
this.deptNbr = deptNbr;
2006-08-04 20:37:05 +00:00
}
2006-05-30 15:32:53 +00:00
2006-08-04 20:37:05 +00:00
}
2006-05-30 15:32:53 +00:00
< / samp > < / pre >
< / p >
< / body >
< / html >