Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm.interfaces
Class ISeriesJobName

java.lang.Object
  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesJobName

public class ISeriesJobName
extends Object

This class represents a single job name, and is used to communicate the list of jobs to the JobMiner Similar to ISeriesHostObjectNameOnly, but simpler


Field Summary
static String copyright
           
static String Error
           
 
Constructor Summary
ISeriesJobName(String fullname)
          Constructor which takes full job name in the format: jobNumber/userName/jobName
ISeriesJobName(String fullname, boolean reverseOrder)
          Constructor which takes full job name in the format: jobName/userName/jobNumber
ISeriesJobName(String name, String user, String number)
          Constructor which takes individual job name parts: jobName userName jobNumber
 
Method Summary
 String getName()
          Get the name.
 String getNumber()
          Get the number
 String getUser()
          Get the user.
 String toCommand()
          For using as a job name in Cl command parameter
 String toReversedString()
          For printing to a stream file jobName/userName/jobNumber
 String toString()
          For printing to a stream file jobNumber/userName/jobName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

Error

public static final String Error
See Also:
Constant Field Values
Constructor Detail

ISeriesJobName

public ISeriesJobName(String name,
                      String user,
                      String number)
Constructor which takes individual job name parts: jobName userName jobNumber


ISeriesJobName

public ISeriesJobName(String fullname)
Constructor which takes full job name in the format: jobNumber/userName/jobName


ISeriesJobName

public ISeriesJobName(String fullname,
                      boolean reverseOrder)
Constructor which takes full job name in the format: jobName/userName/jobNumber

Method Detail

getName

public String getName()
Get the name.


getUser

public String getUser()
Get the user.


getNumber

public String getNumber()
Get the number


toString

public String toString()
For printing to a stream file jobNumber/userName/jobName

Overrides:
toString in class Object

toReversedString

public String toReversedString()
For printing to a stream file jobName/userName/jobNumber


toCommand

public String toCommand()
For using as a job name in Cl command parameter


Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.