Class TapeDriveState
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.dto.TapeDriveState
-
- All Implemented Interfaces:
TapeDriveSpec
public class TapeDriveState extends java.lang.Object implements TapeDriveSpec
-
-
Constructor Summary
Constructors Constructor Description TapeDriveState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TapeDriveStatus>
addToDriveStatuses(TapeDriveStatus driveStatus)
java.lang.Integer
getBlockNumber()
java.lang.String
getCartridge()
java.lang.String
getDensityCode()
java.lang.String
getDescription()
java.util.List<TapeDriveStatus>
getDriveStatuses()
java.lang.Integer
getErrorCountSinceLastStatus()
java.lang.Integer
getFileNumber()
java.lang.Integer
getPartition()
java.lang.String
getStatusBits()
java.lang.Long
getTapeBlockSize()
void
setBlockNumber(java.lang.Integer blockNumber)
void
setCartridge(java.lang.String cartridge)
void
setDensityCode(java.lang.String densityCode)
void
setDescription(java.lang.String description)
void
setDriveStatuses(java.util.List<TapeDriveStatus> driveStatuses)
void
setErrorCountSinceLastStatus(java.lang.Integer errorCountSinceLastStatus)
void
setFileNumber(java.lang.Integer fileNumber)
void
setPartition(java.lang.Integer partition)
void
setStatusBits(java.lang.String statusBits)
void
setTapeBlockSize(java.lang.Long tapeBlockSize)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.gouv.vitam.storage.offers.tape.dto.TapeDriveSpec
driveHasTape, hasDensity, isBeginOfTape, isCacheEnabled, isEmptyDrive, isEndOfData, isEndOfFile, isSetMark, isWormTape, needCleanDrive
-
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceTapeDriveSpec
-
setDescription
public void setDescription(java.lang.String description)
-
getFileNumber
public java.lang.Integer getFileNumber()
- Specified by:
getFileNumber
in interfaceTapeDriveSpec
-
setFileNumber
public void setFileNumber(java.lang.Integer fileNumber)
-
getBlockNumber
public java.lang.Integer getBlockNumber()
-
setBlockNumber
public void setBlockNumber(java.lang.Integer blockNumber)
-
getPartition
public java.lang.Integer getPartition()
-
setPartition
public void setPartition(java.lang.Integer partition)
-
getTapeBlockSize
public java.lang.Long getTapeBlockSize()
-
setTapeBlockSize
public void setTapeBlockSize(java.lang.Long tapeBlockSize)
-
getDensityCode
public java.lang.String getDensityCode()
-
setDensityCode
public void setDensityCode(java.lang.String densityCode)
-
getCartridge
public java.lang.String getCartridge()
- Specified by:
getCartridge
in interfaceTapeDriveSpec
-
setCartridge
public void setCartridge(java.lang.String cartridge)
-
getErrorCountSinceLastStatus
public java.lang.Integer getErrorCountSinceLastStatus()
- Specified by:
getErrorCountSinceLastStatus
in interfaceTapeDriveSpec
-
setErrorCountSinceLastStatus
public void setErrorCountSinceLastStatus(java.lang.Integer errorCountSinceLastStatus)
-
getStatusBits
public java.lang.String getStatusBits()
-
setStatusBits
public void setStatusBits(java.lang.String statusBits)
-
getDriveStatuses
public java.util.List<TapeDriveStatus> getDriveStatuses()
- Specified by:
getDriveStatuses
in interfaceTapeDriveSpec
-
setDriveStatuses
public void setDriveStatuses(java.util.List<TapeDriveStatus> driveStatuses)
-
addToDriveStatuses
public java.util.List<TapeDriveStatus> addToDriveStatuses(TapeDriveStatus driveStatus)
-
-