Class TapeCatalog
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.model.QueueMessageEntity
-
- fr.gouv.vitam.storage.engine.common.model.TapeCatalog
-
public class TapeCatalog extends QueueMessageEntity
TapeCatalog
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALTERNATIVE_CODE
static java.lang.String
BUCKET
static java.lang.String
CAPACITY
static java.lang.String
CODE
static java.lang.String
COMPRESSED
static java.lang.String
CURRENT_LOCATION
static java.lang.String
FILE_COUNT
static java.lang.String
LABEL
static java.lang.String
LIBRARY
static java.lang.String
PREVIOUS_LOCATION
static java.lang.String
TAPE_STATE
static java.lang.String
TYPE
static java.lang.String
VERSION
static java.lang.String
WORM
static java.lang.String
WRITTEN_BYTES
-
Fields inherited from class fr.gouv.vitam.storage.engine.common.model.QueueMessageEntity
ID, MESSAGE_TYPE, PRIORITY, STATE, TAG_CREATION_DATE, TAG_LAST_UPDATE
-
-
Constructor Summary
Constructors Constructor Description TapeCatalog()
-
Method Summary
-
Methods inherited from class fr.gouv.vitam.storage.engine.common.model.QueueMessageEntity
getCreated, getId, getLastUpdate, getMessageType, getPriority, getState, setCreated, setId, setLastUpdate, setMessageType, setPriority, setState
-
-
-
-
Field Detail
-
CODE
public static final java.lang.String CODE
- See Also:
- Constant Field Values
-
ALTERNATIVE_CODE
public static final java.lang.String ALTERNATIVE_CODE
- See Also:
- Constant Field Values
-
BUCKET
public static final java.lang.String BUCKET
- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
-
LIBRARY
public static final java.lang.String LIBRARY
- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
CAPACITY
public static final java.lang.String CAPACITY
- See Also:
- Constant Field Values
-
FILE_COUNT
public static final java.lang.String FILE_COUNT
- See Also:
- Constant Field Values
-
CURRENT_LOCATION
public static final java.lang.String CURRENT_LOCATION
- See Also:
- Constant Field Values
-
PREVIOUS_LOCATION
public static final java.lang.String PREVIOUS_LOCATION
- See Also:
- Constant Field Values
-
COMPRESSED
public static final java.lang.String COMPRESSED
- See Also:
- Constant Field Values
-
WORM
public static final java.lang.String WORM
- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
-
WRITTEN_BYTES
public static final java.lang.String WRITTEN_BYTES
- See Also:
- Constant Field Values
-
TAPE_STATE
public static final java.lang.String TAPE_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCode
public java.lang.String getCode()
-
setCode
public TapeCatalog setCode(java.lang.String code)
-
getLabel
public TapeCatalogLabel getLabel()
-
setLabel
public TapeCatalog setLabel(TapeCatalogLabel label)
-
getLibrary
public java.lang.String getLibrary()
-
setLibrary
public TapeCatalog setLibrary(java.lang.String library)
-
getType
public java.lang.String getType()
-
setType
public TapeCatalog setType(java.lang.String type)
-
getWrittenBytes
public java.lang.Long getWrittenBytes()
-
setWrittenBytes
public void setWrittenBytes(java.lang.Long writtenBytes)
-
getTapeState
public TapeState getTapeState()
-
setTapeState
public TapeCatalog setTapeState(TapeState tapeState)
-
getCapacity
public java.lang.Long getCapacity()
-
setCapacity
public TapeCatalog setCapacity(java.lang.Long capacity)
-
getFileCount
public java.lang.Integer getFileCount()
-
setFileCount
public TapeCatalog setFileCount(java.lang.Integer fileCount)
-
getCurrentLocation
public TapeLocation getCurrentLocation()
-
setCurrentLocation
public TapeCatalog setCurrentLocation(TapeLocation currentLocation)
-
getPreviousLocation
public TapeLocation getPreviousLocation()
-
setPreviousLocation
public TapeCatalog setPreviousLocation(TapeLocation previousLocation)
-
isCompressed
public boolean isCompressed()
-
setCompressed
public TapeCatalog setCompressed(boolean compressed)
-
isWorm
public boolean isWorm()
-
setWorm
public TapeCatalog setWorm(boolean worm)
-
getVersion
public int getVersion()
-
setVersion
public TapeCatalog setVersion(int version)
-
getAlternativeCode
public java.lang.String getAlternativeCode()
-
setAlternativeCode
public TapeCatalog setAlternativeCode(java.lang.String alternativeCode)
-
getBucket
public java.lang.String getBucket()
-
setBucket
public TapeCatalog setBucket(java.lang.String bucket)
-
getCurrentPosition
public java.lang.Integer getCurrentPosition()
-
setCurrentPosition
public TapeCatalog setCurrentPosition(java.lang.Integer currentPosition)
-
-