Class ReadOrder
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.model.QueueMessageEntity
-
- fr.gouv.vitam.storage.engine.common.model.ReadOrder
-
- All Implemented Interfaces:
ReadWriteOrder
public class ReadOrder extends QueueMessageEntity implements ReadWriteOrder
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BUCKET
static java.lang.String
FILE_BUCKET_ID
static java.lang.String
FILE_NAME
static java.lang.String
FILE_POSITION
static java.lang.String
SIZE
static java.lang.String
TAPE_CODE
-
Fields inherited from class fr.gouv.vitam.storage.engine.common.model.QueueMessageEntity
ID, MESSAGE_TYPE, PRIORITY, STATE, TAG_CREATION_DATE, TAG_LAST_UPDATE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBucket()
java.lang.String
getFileBucketId()
java.lang.String
getFileName()
java.lang.Integer
getFilePosition()
long
getSize()
java.lang.String
getTapeCode()
boolean
isWriteOrder()
ReadOrder
setBucket(java.lang.String bucket)
ReadOrder
setFileBucketId(java.lang.String fileBucketId)
ReadOrder
setFileName(java.lang.String fileName)
ReadOrder
setFilePosition(java.lang.Integer filePosition)
ReadOrder
setSize(long size)
ReadOrder
setTapeCode(java.lang.String tapeCode)
-
Methods inherited from class fr.gouv.vitam.storage.engine.common.model.QueueMessageEntity
getCreated, getId, getLastUpdate, getMessageType, getPriority, getState, setCreated, setId, setLastUpdate, setMessageType, setPriority, setState
-
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.engine.common.model.ReadWriteOrder
getId
-
-
-
-
Field Detail
-
TAPE_CODE
public static final java.lang.String TAPE_CODE
- See Also:
- Constant Field Values
-
FILE_POSITION
public static final java.lang.String FILE_POSITION
- See Also:
- Constant Field Values
-
FILE_NAME
public static final java.lang.String FILE_NAME
- See Also:
- Constant Field Values
-
BUCKET
public static final java.lang.String BUCKET
- See Also:
- Constant Field Values
-
FILE_BUCKET_ID
public static final java.lang.String FILE_BUCKET_ID
- See Also:
- Constant Field Values
-
SIZE
public static final java.lang.String SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTapeCode
public java.lang.String getTapeCode()
-
setTapeCode
public ReadOrder setTapeCode(java.lang.String tapeCode)
-
getFilePosition
public java.lang.Integer getFilePosition()
-
setFilePosition
public ReadOrder setFilePosition(java.lang.Integer filePosition)
-
isWriteOrder
public boolean isWriteOrder()
- Specified by:
isWriteOrder
in interfaceReadWriteOrder
-
getFileName
public java.lang.String getFileName()
-
setFileName
public ReadOrder setFileName(java.lang.String fileName)
-
getBucket
public java.lang.String getBucket()
-
setBucket
public ReadOrder setBucket(java.lang.String bucket)
-
getFileBucketId
public java.lang.String getFileBucketId()
-
setFileBucketId
public ReadOrder setFileBucketId(java.lang.String fileBucketId)
-
getSize
public long getSize()
-
setSize
public ReadOrder setSize(long size)
-
-