Class OfferLog
java.lang.Object
fr.gouv.vitam.storage.engine.common.model.OfferLog
- All Implemented Interfaces:
Comparable<OfferLog>
OfferLog.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOfferLog()
Constructor,jackson usage onlyOfferLog
(long sequence, LocalDateTime time, String container, String fileName, OfferLogAction action) OfferLog
(String container, String fileName, OfferLogAction action) Constructor -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
long
getTime()
int
hashCode()
setAction
(OfferLogAction action) setContainer
(String container) setFileName
(String fileName) setFormatVersion
(OfferLogFormatVersion formatVersion) setSequence
(long sequence) setTime
(LocalDateTime time) toString()
-
Field Details
-
SEQUENCE
- See Also:
-
TIME
- See Also:
-
CONTAINER
- See Also:
-
FILENAME
- See Also:
-
ACTION
- See Also:
-
-
Constructor Details
-
OfferLog
public OfferLog()Constructor,jackson usage only -
OfferLog
Constructor- Parameters:
container
- containerfileName
- fileNameaction
- action
-
OfferLog
public OfferLog(long sequence, LocalDateTime time, String container, String fileName, OfferLogAction action)
-
-
Method Details
-
getSequence
public long getSequence()- Returns:
- the sequence
-
setSequence
- Parameters:
sequence
- the sequence to set- Returns:
- this
-
getTime
- Returns:
- the time
-
setTime
- Parameters:
time
- the time to set- Returns:
- this
-
getContainer
- Returns:
- the container
-
setContainer
- Parameters:
container
- the container to set- Returns:
- this
-
getFileName
- Returns:
- the fileName
-
setFileName
- Parameters:
fileName
- the fileName to set- Returns:
- this
-
getAction
- Returns:
- the action
-
setAction
- Parameters:
action
- the action to set- Returns:
- this
-
getFormatVersion
-
setFormatVersion
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<OfferLog>
-
toString
-