live.dto
Class MDisk

java.lang.Object
  extended bylive.dto.MDisk

public class MDisk
extends Object

Stores all the information about minidisks (used for cloning)

Author:
Emily Celeskey

Field Summary
private  String amt
           
private  String blockOrCylinder
           
private  String mode
           
private  String MultiPW
           
private  boolean PW
           
private  String ReadPW
           
private  String startNum
           
private  String storageType
           
private  String virtAddr
           
private  String volumeID
           
private  String WritePW
           
 
Constructor Summary
MDisk()
           
MDisk(String virtAddr, String storageType, String startNum, String amt, String volumeID, String mode, boolean PW, String ReadPW, String WritePW, String MultiPW, String BlockOrCylinder)
          Creates a new instance of MDisk
 
Method Summary
 String getAllocationType()
          Returns the storage type
 String getBlOrCyl()
           
 String getMode()
          Returns the access mode
 String getMultiPW()
          Returns the multi access PW
 String getReadPW()
          Returns the read access PW
 String getSize()
           
 String getStartLoc()
          Returns the starting cylinder or block number
 String getVirtualAddr()
          Returns the virtual address of the disk
 String getVolumeID()
          Returns the volume ID
 String getWritePW()
          Returns the write access PW
 boolean hasPW()
          Returns the value of the PW boolean
 void setAllocationType(String storageType)
          Sets the storage type
 void setBlOrCyl(String blockOrCylinder)
           
 void setHasPW(boolean pW)
          Sets the PW variable
 void setMode(String mode)
          Sets the access mode
 void setMultiPW(String multiPW)
          Sets the multi access PW
 void setReadPW(String readPW)
          Sets the read access PW
 void setSize(String amt)
           
 void setStartLoc(String startNum)
          Sets the starting cylinder or block number
 void setVirtAddr(String virtAddr)
          Sets the virtual address of the disk
 void setVolumeID(String volumeID)
          Sets the volume ID
 void setWritePW(String writePW)
          Sets the write access PW
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

virtAddr

private String virtAddr

storageType

private String storageType

startNum

private String startNum

amt

private String amt

volumeID

private String volumeID

mode

private String mode

PW

private boolean PW

ReadPW

private String ReadPW

WritePW

private String WritePW

MultiPW

private String MultiPW

blockOrCylinder

private String blockOrCylinder
Constructor Detail

MDisk

public MDisk(String virtAddr,
             String storageType,
             String startNum,
             String amt,
             String volumeID,
             String mode,
             boolean PW,
             String ReadPW,
             String WritePW,
             String MultiPW,
             String BlockOrCylinder)
Creates a new instance of MDisk

Parameters:
virtAddr - virtual address of the minidisk
storageType - what kind of storage for this minidisk - AUTOG, T-DISK, V-DISK
startNum - starting number for DASD
amt - how much DASD to allocate
volumeID - which volume to allocate DASD on, usually LVDASD
mode - Access mode for the DASD
PW - Whether passwords have been set for the DASD or not
ReadPW - Read access password
WritePW - Write access password
MultiPW - Multi access password
BlockOrCylinder - whether it is being stored as a block or a cylinder

MDisk

public MDisk()
Method Detail

setVirtAddr

public void setVirtAddr(String virtAddr)
Sets the virtual address of the disk

Parameters:
virtAddr - The virtAddr to set.

getVirtualAddr

public String getVirtualAddr()
Returns the virtual address of the disk

Returns:
Returns the virtAddr.

setAllocationType

public void setAllocationType(String storageType)
Sets the storage type

Parameters:
storageType - The storageType to set.

getAllocationType

public String getAllocationType()
Returns the storage type

Returns:
Returns the storageType.

setStartLoc

public void setStartLoc(String startNum)
Sets the starting cylinder or block number

Parameters:
startNum - The startNum to set.

getStartLoc

public String getStartLoc()
Returns the starting cylinder or block number

Returns:
Returns the startNum.

setVolumeID

public void setVolumeID(String volumeID)
Sets the volume ID

Parameters:
volumeID - The volumeID to set.

getVolumeID

public String getVolumeID()
Returns the volume ID

Returns:
Returns the volumeID.

setMode

public void setMode(String mode)
Sets the access mode

Parameters:
mode - The mode to set.

getMode

public String getMode()
Returns the access mode

Returns:
Returns the mode.

setReadPW

public void setReadPW(String readPW)
Sets the read access PW

Parameters:
readPW - The readPW to set.

getReadPW

public String getReadPW()
Returns the read access PW

Returns:
Returns the readPW.

setWritePW

public void setWritePW(String writePW)
Sets the write access PW

Parameters:
writePW - The writePW to set.

getWritePW

public String getWritePW()
Returns the write access PW

Returns:
Returns the writePW.

setMultiPW

public void setMultiPW(String multiPW)
Sets the multi access PW

Parameters:
multiPW - The multiPW to set.

getMultiPW

public String getMultiPW()
Returns the multi access PW

Returns:
Returns the multiPW.

setHasPW

public void setHasPW(boolean pW)
Sets the PW variable

Parameters:
pW - Whether passwords have been set.

hasPW

public boolean hasPW()
Returns the value of the PW boolean

Returns:
Returns whether passwords have been set.

setSize

public void setSize(String amt)
Parameters:
amt - The amt to set.

getSize

public String getSize()
Returns:
Returns the amt.

setBlOrCyl

public void setBlOrCyl(String blockOrCylinder)
Parameters:
blockOrCylinder - Whether we're using blocks or cylinders

getBlOrCyl

public String getBlOrCyl()
Returns:
Returns whether we're using blocks or cylinders


Copyright © 2005