Class WriteOrder
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.model.QueueMessageEntity
-
- fr.gouv.vitam.storage.engine.common.model.WriteOrder
-
- All Implemented Interfaces:
ReadWriteOrder
public class WriteOrder extends QueueMessageEntity implements ReadWriteOrder
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARCHIVE_ID
static java.lang.String
BUCKET
static java.lang.String
DIGEST
static java.lang.String
FILE_BUCKET_ID
static java.lang.String
FILE_PATH
static java.lang.String
SIZE
-
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 WriteOrder()
WriteOrder(java.lang.String bucket, java.lang.String fileBucketId, java.lang.String filePath, long size, java.lang.String digest, java.lang.String archiveId, QueueMessageType queueMessageType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArchiveId()
java.lang.String
getBucket()
java.lang.String
getDigest()
java.lang.String
getFileBucketId()
java.lang.String
getFilePath()
long
getSize()
boolean
isWriteOrder()
WriteOrder
setArchiveId(java.lang.String archiveId)
WriteOrder
setBucket(java.lang.String bucket)
WriteOrder
setDigest(java.lang.String digest)
WriteOrder
setFileBucketId(java.lang.String fileBucketId)
WriteOrder
setFilePath(java.lang.String filePath)
WriteOrder
setSize(long size)
-
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
-
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
-
FILE_PATH
public static final java.lang.String FILE_PATH
- See Also:
- Constant Field Values
-
SIZE
public static final java.lang.String SIZE
- See Also:
- Constant Field Values
-
DIGEST
public static final java.lang.String DIGEST
- See Also:
- Constant Field Values
-
ARCHIVE_ID
public static final java.lang.String ARCHIVE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WriteOrder
public WriteOrder()
-
WriteOrder
public WriteOrder(java.lang.String bucket, java.lang.String fileBucketId, java.lang.String filePath, long size, java.lang.String digest, java.lang.String archiveId, QueueMessageType queueMessageType)
-
-
Method Detail
-
getBucket
public java.lang.String getBucket()
-
setBucket
public WriteOrder setBucket(java.lang.String bucket)
-
getFileBucketId
public java.lang.String getFileBucketId()
-
setFileBucketId
public WriteOrder setFileBucketId(java.lang.String fileBucketId)
-
getFilePath
public java.lang.String getFilePath()
-
setFilePath
public WriteOrder setFilePath(java.lang.String filePath)
-
getSize
public long getSize()
-
setSize
public WriteOrder setSize(long size)
-
getDigest
public java.lang.String getDigest()
-
setDigest
public WriteOrder setDigest(java.lang.String digest)
-
isWriteOrder
public boolean isWriteOrder()
- Specified by:
isWriteOrder
in interfaceReadWriteOrder
-
getArchiveId
public java.lang.String getArchiveId()
-
setArchiveId
public WriteOrder setArchiveId(java.lang.String archiveId)
-
-