Rational Developer for Power Systems Software
V7.6

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

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

public class ISeriesHostObjectLock
extends Object

Class representing a lock on a remote iSeries object.


Field Summary
static String Copyright
           
static String LOCK_EXCL_NOREAD
          Lock state *EXCL: Lock exclusive no read.
static String LOCK_EXCL_READ
          Lock state *EXCLRD: Lock exclusive allow read.
static String LOCK_NONE
          Lock state *NONE: No lock exists.
static String LOCK_SHARED_NOUPDATE
          Lock state *SHRNUP: Lock shared no update.
static String LOCK_SHARED_READ
          Lock state *SHRRD: Lock shared for read.
static String LOCK_SHARED_UPDATE
          Lock state *SHRUPD: Lock shared for update.
 
Constructor Summary
ISeriesHostObjectLock()
          Constructor
 
Method Summary
 String getJob()
          Get the full job name in the format: JobName/JobUser/JobNumber
 String getJobName()
          Get the job name.
 String getJobNumber()
          Get the job number.
 String getJobUser()
          Get the job user.
 String getLockState()
          Get the lock state.
 int getLockStatus()
          Get the lock's status.
 int getLockType()
          Get the lock type.
 void setJobName(String jobName)
          Set the job name.
 void setJobNumber(String jobNumber)
          Set the job number.
 void setJobUser(String jobUser)
          Set the job user name.
 void setLockState(String lockState)
          Set the lock's state.
 void setLockStatus(int lockStatus)
          Set the lock status.
 void setLockType(int lockType)
          Set the lock type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

LOCK_NONE

public static final String LOCK_NONE
Lock state *NONE: No lock exists.

See Also:
Constant Field Values

LOCK_SHARED_READ

public static final String LOCK_SHARED_READ
Lock state *SHRRD: Lock shared for read.

See Also:
Constant Field Values

LOCK_SHARED_UPDATE

public static final String LOCK_SHARED_UPDATE
Lock state *SHRUPD: Lock shared for update.

See Also:
Constant Field Values

LOCK_SHARED_NOUPDATE

public static final String LOCK_SHARED_NOUPDATE
Lock state *SHRNUP: Lock shared no update.

See Also:
Constant Field Values

LOCK_EXCL_READ

public static final String LOCK_EXCL_READ
Lock state *EXCLRD: Lock exclusive allow read.

See Also:
Constant Field Values

LOCK_EXCL_NOREAD

public static final String LOCK_EXCL_NOREAD
Lock state *EXCL: Lock exclusive no read.

See Also:
Constant Field Values
Constructor Detail

ISeriesHostObjectLock

public ISeriesHostObjectLock()
Constructor

Method Detail

setJobName

public void setJobName(String jobName)
Set the job name.


setJobUser

public void setJobUser(String jobUser)
Set the job user name.


setJobNumber

public void setJobNumber(String jobNumber)
Set the job number.


setLockState

public void setLockState(String lockState)
Set the lock's state.


setLockStatus

public void setLockStatus(int lockStatus)
Set the lock status.


setLockType

public void setLockType(int lockType)
Set the lock type.


getJob

public String getJob()
Get the full job name in the format: JobName/JobUser/JobNumber


getJobName

public String getJobName()
Get the job name.


getJobUser

public String getJobUser()
Get the job user.


getJobNumber

public String getJobNumber()
Get the job number.


getLockState

public String getLockState()
Get the lock state.

See Also:
LOCK_NONE, LOCK_SHARED_READ, LOCK_SHARED_UPDATE, LOCK_SHARED_NOUPDATE, LOCK_EXCL_READ, LOCK_EXCL_NOREAD

getLockStatus

public int getLockStatus()
Get the lock's status.


getLockType

public int getLockType()
Get the lock type.


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.