|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.as400jobsubsys.impl.JobCategoryImpl
This is a simple class to represent a job category,
Field Summary | |
---|---|
protected static ISeriesJobCategoryAdapter |
_adapterInst
|
protected List |
_jobs
|
protected String |
_jobSubsys
|
protected String |
_name
|
protected com.ibm.etools.systems.subsystems.SubSystem |
_subsystem
|
static String |
Copyright
|
protected Object |
parent
|
Constructor Summary | |
---|---|
JobCategoryImpl(com.ibm.etools.systems.subsystems.SubSystem subsystem,
String name,
String jobSubsys)
Constructor JobCategoryImpl. |
|
JobCategoryImpl(com.ibm.etools.systems.subsystems.SubSystem subsystem,
String name,
String jobSubsys,
Object parent)
Constructor JobCategoryImpl. |
Method Summary | |
---|---|
void |
addJob(Object job)
Add a job object to the list of jobs for this job category |
void |
addJobs(Object[] jobs)
Add a list of job objects to the list of jobs for this job category |
Object |
getAdapter(Class adapterType)
|
Object[] |
getChildren()
Get the list of jobs contained in this job category. |
int |
getChildrenNumber()
Gets the number of jobs contained in this job category. |
String |
getJobSubsys()
Gets the subsystem associated with the jobs contained in this job category. |
String |
getName()
Gets the name of the job category. |
Object |
getParent()
|
com.ibm.etools.systems.subsystems.SubSystem |
getSubSystem()
|
String |
getType()
Gets the type of the job category |
boolean |
hasChild()
|
void |
removeAllJobs()
Remove all jobs from the list of jobs of this job category |
void |
setJobs(Object[] jobs)
Set a list of job objects as the jobs for this job category |
void |
setParent(Object parent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
protected static ISeriesJobCategoryAdapter _adapterInst
protected String _name
protected String _jobSubsys
protected List _jobs
protected com.ibm.etools.systems.subsystems.SubSystem _subsystem
protected Object parent
Constructor Detail |
public JobCategoryImpl(com.ibm.etools.systems.subsystems.SubSystem subsystem, String name, String jobSubsys)
subsystem
- the iSeries job subsystemname
- the name of this job categoryjobSubsys
- the subsystem associated with the jobs in this categorypublic JobCategoryImpl(com.ibm.etools.systems.subsystems.SubSystem subsystem, String name, String jobSubsys, Object parent)
subsystem
- the iSeries job subsystemname
- the name of this job categoryjobSubsys
- the subsystem associated with the jobs in this categoryparent
- the parent filter that contains this job categoryMethod Detail |
public com.ibm.etools.systems.subsystems.SubSystem getSubSystem()
getSubSystem
in interface IJobCategory
IJobCategory.getSubSystem()
public String getName()
getName
in interface IJobCategory
public String getJobSubsys()
getJobSubsys
in interface IJobCategory
public String getType()
getType
in interface IJobCategory
public Object getParent()
getParent
in interface IJobCategory
IJobCategory.getParent()
public Object[] getChildren()
getChildren
in interface IJobCategory
public int getChildrenNumber()
getChildrenNumber
in interface IJobCategory
public boolean hasChild()
hasChild
in interface IJobCategory
IJobCategory.hasChild()
public void addJob(Object job)
addJob
in interface IJobCategory
job
- the job object to addpublic void addJobs(Object[] jobs)
addJobs
in interface IJobCategory
jobs
- the list of job objects to addpublic void removeAllJobs()
public void setJobs(Object[] jobs)
setJobs
in interface IJobCategory
jobs
- the list of job objects to setpublic Object getAdapter(Class adapterType)
getAdapter
in interface IAdaptable
IAdaptable.getAdapter(Class)
public void setParent(Object parent)
setParent
in interface IJobCategory
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |