Class OfferLog
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.model.OfferLog
-
-
Constructor Summary
Constructors Constructor Description OfferLog()
Constructor,jackson usage onlyOfferLog(long sequence, java.time.LocalDateTime time, java.lang.String container, java.lang.String fileName, OfferLogAction action)
OfferLog(java.lang.String container, java.lang.String fileName, OfferLogAction action)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(OfferLog o)
boolean
equals(java.lang.Object o)
OfferLogAction
getAction()
java.lang.String
getContainer()
java.lang.String
getFileName()
OfferLogFormatVersion
getFormatVersion()
long
getSequence()
java.time.LocalDateTime
getTime()
int
hashCode()
OfferLog
setAction(OfferLogAction action)
OfferLog
setContainer(java.lang.String container)
OfferLog
setFileName(java.lang.String fileName)
OfferLog
setFormatVersion(OfferLogFormatVersion formatVersion)
OfferLog
setSequence(long sequence)
OfferLog
setTime(java.time.LocalDateTime time)
java.lang.String
toString()
-
-
-
Field Detail
-
SEQUENCE
public static final java.lang.String SEQUENCE
- See Also:
- Constant Field Values
-
TIME
public static final java.lang.String TIME
- See Also:
- Constant Field Values
-
CONTAINER
public static final java.lang.String CONTAINER
- See Also:
- Constant Field Values
-
FILENAME
public static final java.lang.String FILENAME
- See Also:
- Constant Field Values
-
ACTION
public static final java.lang.String ACTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OfferLog
public OfferLog()
Constructor,jackson usage only
-
OfferLog
public OfferLog(java.lang.String container, java.lang.String fileName, OfferLogAction action)
Constructor- Parameters:
container
- containerfileName
- fileNameaction
- action
-
OfferLog
public OfferLog(long sequence, java.time.LocalDateTime time, java.lang.String container, java.lang.String fileName, OfferLogAction action)
-
-
Method Detail
-
getSequence
public long getSequence()
- Returns:
- the sequence
-
setSequence
public OfferLog setSequence(long sequence)
- Parameters:
sequence
- the sequence to set- Returns:
- this
-
getTime
public java.time.LocalDateTime getTime()
- Returns:
- the time
-
setTime
public OfferLog setTime(java.time.LocalDateTime time)
- Parameters:
time
- the time to set- Returns:
- this
-
getContainer
public java.lang.String getContainer()
- Returns:
- the container
-
setContainer
public OfferLog setContainer(java.lang.String container)
- Parameters:
container
- the container to set- Returns:
- this
-
getFileName
public java.lang.String getFileName()
- Returns:
- the fileName
-
setFileName
public OfferLog setFileName(java.lang.String fileName)
- Parameters:
fileName
- the fileName to set- Returns:
- this
-
getAction
public OfferLogAction getAction()
- Returns:
- the action
-
setAction
public OfferLog setAction(OfferLogAction action)
- Parameters:
action
- the action to set- Returns:
- this
-
getFormatVersion
public OfferLogFormatVersion getFormatVersion()
-
setFormatVersion
public OfferLog setFormatVersion(OfferLogFormatVersion formatVersion)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(OfferLog o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<OfferLog>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-