com.ibm.tws.objects.types
Class WorkstationZOSAttributes

java.lang.Object
  extended bycom.ibm.tws.objects.types.WorkstationZOSAttributes
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WorkstationInPlanZOSAttributes

public class WorkstationZOSAttributes
extends java.lang.Object
implements java.io.Serializable

This object is a container for the zOS specific attributes for a Workstation object; these attributes are only valid when the workstation is a z/OS workstation.

The following syntax validation constraints must be met on WorkstationZOSAttributes objects in z/OS environment:

isSplittable Default value is false
isJobSetupAllowed Default value is false
isStartedTaskSupported Default value is false
isWTOSupported Default value is false
defaultTransportTime An amount of time, expressed in seconds
Valid values are 0-99 hours and 0-59 minutes
Default value is 0
defaultJobDuration Default value is 0
printoutRouting Not longer than 8 characters
destination Can be set only if type is COMPUTER and reportingAttribute is AUTOMATIC
Not longer than 8 characters
parallelServersUsage One of the values exposed by the ResourceUsage class
Default value is PLANNING_AND_CONTROL
server1Name R1 resource name
server1Usage One of the values exposed by the ResourceUsage class
Default value is PLANNING_AND_CONTROL
server2Name R2 resource name
server2Usage One of the values exposed by the ResourceUsage class
Default value is PLANNING_AND_CONTROL
accessMethodPort Can be set only if both accessMethod and accessMethodNodeAddress are set
Valid range is from 0 to 32760
Default value is 0
If accessMethod is set to r3batch, to handle SAP R/3 jobs, it is not necessary to set this field
accessMethodNodeAddress Can be set only if accessMethod is set
Must be a valid hostname or internet address
If accessMethod is set to r3batch, to handle SAP R/3 jobs, it is not necessary to set this field
isWait Default value is false

See Also:
Workstation, ResourceUsage, WorkstationType, WorkstationReportingAttribute, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
WorkstationZOSAttributes()
          Creates an empty WorkstationZOSAttributes object
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if all fields of this WorkstationZOSAttributes object are equal to those of the given one.
 java.lang.String getAccessMethodNodeAddress()
          Returns the access method node address.
 int getAccessMethodPort()
          Returns the access method port number.
 int getDefaultJobDuration()
          Returns the average duration for jobs on the workstation.
 int getDefaultTransportTime()
          Returns the time required to transport material to a workstation from a preceding workstation.
 java.lang.String getDestination()
          Returns the destination where computer and WTO jobs will be routed for initiation.
 ResourceUsage getParallelServersUsage()
          Returns the ordinal value used to explain if parallel servers are used for planning and controlling work.
 java.lang.String getPrintoutRouting()
          Returns the daily planning ddname where the reports for this workstation are written.
 java.lang.String getServer1Name()
          Returns the server1Name attribute.
 ResourceUsage getServer1Usage()
          Returns the server1Usage attribute.
 java.lang.String getServer2Name()
          Returns the server2Name attribute.
 ResourceUsage getServer2Usage()
          Returns the server2Usage attribute.
 java.util.List getSupportedTaskTypes()
          Returns the list of task types that are supported by this workstation.
 java.lang.String getSuReDatasetName()
          Returns the suReDatasetName attribute.
 int hashCode()
          Returns a hash code for this WorkstationZOSAttributes object.
 boolean isJobSetupAllowed()
          Returns true if a "General" workstation can be used to prepare JCL using the job setup facilities.
 boolean isSplittable()
          Returns true if a job can be interrupted on this workstation.
 boolean isStartedTaskSupported()
          Returns true if jobs should be treated as started tasks at a "Computer" workstation.
 boolean isWait()
          Returns true if the option wait on this workstation is checked.
 boolean isWTOSupported()
          Returns true if jobs should be treated as WTO messages at a "General" workstation.
 void setAccessMethodNodeAddress(java.lang.String value)
          Sets the access method node address.
 void setAccessMethodPort(int value)
          Sets the access method port number.
 void setDefaultJobDuration(int value)
          Sets the average duration for jobs on the workstation.
 void setDefaultTransportTime(int value)
          Sets the time required to transport material to a workstation from a preceding workstation.
 void setDestination(java.lang.String value)
          Sets the destination where computer and WTO jobs will be routed for initiation.
 void setJobSetupAllowed(boolean value)
          Sets the property used to decide if a "General" workstation can be used to prepare JCL using the job setup facilities.
 void setParallelServersUsage(ResourceUsage value)
          Sets the ordinal value used to explain if parallel servers are used for planning and controlling work.
 void setPrintoutRouting(java.lang.String value)
          Sets the daily planning ddname where the reports for this workstation are written.
 void setServer1Name(java.lang.String value)
          Sets the server1Name attribute.
 void setServer1Usage(ResourceUsage value)
          Sets the server1Usage attribute.
 void setServer2Name(java.lang.String value)
          Sets the server2Name attribute.
 void setServer2Usage(ResourceUsage value)
          Sets the server2Usage attribute.
 void setSplittable(boolean value)
          Sets the property used to decide if a job can be interrupted on this workstation.
 void setStartedTaskSupported(boolean value)
          Sets the property used to decide if jobs should be treated as started tasks at a "Computer" workstation.
 void setSuReDatasetName(java.lang.String value)
          Sets the suReDatasetName attribute.
 void setWait(boolean value)
          Sets the option wait on this workstation.
 void setWTOSupported(boolean value)
          Sets the property used to decide if jobs should be treated as WTO messages at a general workstation.
 java.lang.String toString()
          Returns a string representation of this WorkstationZOSAttributes object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

Constructor Detail

WorkstationZOSAttributes

public WorkstationZOSAttributes()
Creates an empty WorkstationZOSAttributes object

Method Detail

isSplittable

public boolean isSplittable()
Returns true if a job can be interrupted on this workstation.

Returns:
True if a job can be interrupted on this workstation. Valid for "General" and "Printer" workstations only.

isJobSetupAllowed

public boolean isJobSetupAllowed()
Returns true if a "General" workstation can be used to prepare JCL using the job setup facilities.

Returns:
True if a "General" workstation can be used to prepare JCL using the job setup facilities.

isStartedTaskSupported

public boolean isStartedTaskSupported()
Returns true if jobs should be treated as started tasks at a "Computer" workstation.

Returns:
True if jobs should be treated as started tasks at a "Computer" workstation.

isWTOSupported

public boolean isWTOSupported()
Returns true if jobs should be treated as WTO messages at a "General" workstation.

Returns:
True if jobs should be treated as WTO messages at a "General" workstation.

isWait

public boolean isWait()
Returns true if the option wait on this workstation is checked.

Returns:
True if the option wait on this workstation is checked.

getDefaultTransportTime

public int getDefaultTransportTime()
Returns the time required to transport material to a workstation from a preceding workstation.

Returns:
The time required to transport material to a workstation from a preceding workstation. Valid values are 0-99 hours and 0-59 minutes.

getDefaultJobDuration

public int getDefaultJobDuration()
Returns the average duration for jobs on the workstation.

Returns:
The average duration for jobs on the workstation.

getPrintoutRouting

public java.lang.String getPrintoutRouting()
Returns the daily planning ddname where the reports for this workstation are written.

Returns:
The daily planning ddname where the reports for this workstation are written.

getSuReDatasetName

public java.lang.String getSuReDatasetName()
Returns the suReDatasetName attribute.

Returns:
The suReDatasetName attribute.

getDestination

public java.lang.String getDestination()
Returns the destination where computer and WTO jobs will be routed for initiation.

Returns:
The destination where computer and WTO jobs will be routed for initiation.

getParallelServersUsage

public ResourceUsage getParallelServersUsage()
Returns the ordinal value used to explain if parallel servers are used for planning and controlling work.

Returns:
The ordinal value used to explain if parallel servers are used for planning and controlling work.

getServer1Name

public java.lang.String getServer1Name()
Returns the server1Name attribute.

Returns:
The server1Name attribute.

getServer1Usage

public ResourceUsage getServer1Usage()
Returns the server1Usage attribute.

Returns:
The server1Usage attribute.

getServer2Name

public java.lang.String getServer2Name()
Returns the server2Name attribute.

Returns:
The server2Name attribute.

getServer2Usage

public ResourceUsage getServer2Usage()
Returns the server2Usage attribute.

Returns:
The server2Usage attribute.

getAccessMethodPort

public int getAccessMethodPort()
Returns the access method port number.

Returns:
The access method port number.

getAccessMethodNodeAddress

public java.lang.String getAccessMethodNodeAddress()
Returns the access method node address.

Returns:
The access method node address.

getSupportedTaskTypes

public java.util.List getSupportedTaskTypes()
Returns the list of task types that are supported by this workstation.

Returns:
A list of task type descriptions (TaskTypes objects), representing the supported task types for this workstation.

setSplittable

public void setSplittable(boolean value)
Sets the property used to decide if a job can be interrupted on this workstation.

Parameters:
value - True if a job can be interrupted on this workstation. Valid for "General" and "Printer" workstations only.

setJobSetupAllowed

public void setJobSetupAllowed(boolean value)
Sets the property used to decide if a "General" workstation can be used to prepare JCL using the job setup facilities.

Parameters:
value - True if a "General" workstation can be used to prepare JCL using the job setup facilities.

setStartedTaskSupported

public void setStartedTaskSupported(boolean value)
Sets the property used to decide if jobs should be treated as started tasks at a "Computer" workstation.

Parameters:
value - True if jobs should be treated as started tasks at a "Computer" workstation.

setWTOSupported

public void setWTOSupported(boolean value)
Sets the property used to decide if jobs should be treated as WTO messages at a general workstation.

Parameters:
value - True if jobs should be treated as WTO messages at a general workstation.

setWait

public void setWait(boolean value)
Sets the option wait on this workstation.

Parameters:
value - The option wait on this workstation.

setDefaultTransportTime

public void setDefaultTransportTime(int value)
Sets the time required to transport material to a workstation from a preceding workstation.

Parameters:
value - The time required to transport material to a workstation from a preceding workstation. Valid values are 0-99 hours and 0-59 minutes.

setDefaultJobDuration

public void setDefaultJobDuration(int value)
Sets the average duration for jobs on the workstation.

Parameters:
value - The average duration for jobs on the workstation.

setPrintoutRouting

public void setPrintoutRouting(java.lang.String value)
Sets the daily planning ddname where the reports for this workstation are written.

Parameters:
value - The daily planning ddname where the reports for this workstation are written.

setSuReDatasetName

public void setSuReDatasetName(java.lang.String value)
Sets the suReDatasetName attribute.

Parameters:
value - The suReDatasetName attribute.

setDestination

public void setDestination(java.lang.String value)
Sets the destination where computer and WTO jobs will be routed for initiation.

Parameters:
value - The destination where computer and WTO jobs will be routed for initiation.

setParallelServersUsage

public void setParallelServersUsage(ResourceUsage value)
Sets the ordinal value used to explain if parallel servers are used for planning and controlling work.

Parameters:
value - The ordinal value used to explain if parallel servers are used for planning and controlling work.

setServer1Name

public void setServer1Name(java.lang.String value)
Sets the server1Name attribute.

Parameters:
value - The server1Name attribute.

setServer1Usage

public void setServer1Usage(ResourceUsage value)
Sets the server1Usage attribute.

Parameters:
value - The server1Usage attribute.

setServer2Name

public void setServer2Name(java.lang.String value)
Sets the server2Name attribute.

Parameters:
value - The server2Name attribute.

setServer2Usage

public void setServer2Usage(ResourceUsage value)
Sets the server2Usage attribute.

Parameters:
value - The server2Usage attribute.

setAccessMethodPort

public void setAccessMethodPort(int value)
Sets the access method port number.

Parameters:
value - The access method port number.

setAccessMethodNodeAddress

public void setAccessMethodNodeAddress(java.lang.String value)
Sets the access method node address.

Parameters:
value - The access method node address.

equals

public boolean equals(java.lang.Object object)
Returns true if all fields of this WorkstationZOSAttributes object are equal to those of the given one.

Parameters:
object - The object to be compared with this one.
Returns:
True if this object equals to the given one.

hashCode

public int hashCode()
Returns a hash code for this WorkstationZOSAttributes object.

Returns:
The object's hash code.

toString

public java.lang.String toString()
Returns a string representation of this WorkstationZOSAttributes object.

Returns:
A text string including all WorkstationZOSAttributes fields.


Copyright © 2005 IBM All Rights Reserved.