Class TapeLibraryState
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.dto.TapeLibraryState
-
- All Implemented Interfaces:
TapeLibrarySpec
public class TapeLibraryState extends java.lang.Object implements TapeLibrarySpec
-
-
Constructor Summary
Constructors Constructor Description TapeLibraryState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TapeDrive>
addToDrives(TapeDrive tapeDrive)
java.util.List<TapeSlot>
addToSlots(TapeSlot tapeSlot)
java.lang.String
getDevice()
int
getDriveCount()
java.util.List<TapeDrive>
getDrives()
int
getMailBoxCount()
java.util.List<TapeSlot>
getSlots()
int
getSlotsCount()
void
setDevice(java.lang.String device)
void
setDriveCount(int driveCount)
void
setDrives(java.util.List<TapeDrive> drives)
void
setMailBoxCount(int mailBoxCount)
void
setSlots(java.util.List<TapeSlot> slots)
void
setSlotsCount(int slotsCount)
-
-
-
Method Detail
-
getDevice
public java.lang.String getDevice()
- Specified by:
getDevice
in interfaceTapeLibrarySpec
-
setDevice
public void setDevice(java.lang.String device)
-
getDriveCount
public int getDriveCount()
- Specified by:
getDriveCount
in interfaceTapeLibrarySpec
-
setDriveCount
public void setDriveCount(int driveCount)
-
getSlotsCount
public int getSlotsCount()
- Specified by:
getSlotsCount
in interfaceTapeLibrarySpec
-
setSlotsCount
public void setSlotsCount(int slotsCount)
-
getMailBoxCount
public int getMailBoxCount()
- Specified by:
getMailBoxCount
in interfaceTapeLibrarySpec
-
setMailBoxCount
public void setMailBoxCount(int mailBoxCount)
-
getDrives
public java.util.List<TapeDrive> getDrives()
- Specified by:
getDrives
in interfaceTapeLibrarySpec
-
setDrives
public void setDrives(java.util.List<TapeDrive> drives)
-
getSlots
public java.util.List<TapeSlot> getSlots()
- Specified by:
getSlots
in interfaceTapeLibrarySpec
-
setSlots
public void setSlots(java.util.List<TapeSlot> slots)
-
-