Enum LogbookLifeCycleMongoDbName
- java.lang.Object
-
- java.lang.Enum<LogbookLifeCycleMongoDbName>
-
- fr.gouv.vitam.logbook.common.server.database.collections.LogbookLifeCycleMongoDbName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LogbookLifeCycleMongoDbName>
public enum LogbookLifeCycleMongoDbName extends java.lang.Enum<LogbookLifeCycleMongoDbName>
Enum with all possible logbook life cycle parameters
Use to set parameter value and to check emptiness or nullity
-
-
Enum Constant Summary
Enum Constants Enum Constant Description agentIdentifier
agentIdentifiereventDateTime
eventDateTimeeventDetailData
eventDetailDataeventIdentifier
eventIdentifiereventIdentifierProcess
eventIdentifierProcesseventType
eventTypeeventTypeProcess
eventTypeProcessobjectIdentifier
objectIdentifieroutcome
outcomeoutcomeDetail
outcomeDetailoutcomeDetailMessage
outcomeDetailMessageparentEventIdentifier
parentEventIdentifier
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDbname()
static LogbookLifeCycleMongoDbName
getFromDbname(java.lang.String name)
static LogbookLifeCycleMongoDbName
getLogbookLifeCycleMongoDbName(LogbookParameterName name)
LogbookParameterName
getLogbookParameterName()
static LogbookLifeCycleMongoDbName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogbookLifeCycleMongoDbName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
eventIdentifier
public static final LogbookLifeCycleMongoDbName eventIdentifier
eventIdentifier
-
parentEventIdentifier
public static final LogbookLifeCycleMongoDbName parentEventIdentifier
parentEventIdentifier
-
eventType
public static final LogbookLifeCycleMongoDbName eventType
eventType
-
eventDateTime
public static final LogbookLifeCycleMongoDbName eventDateTime
eventDateTime
-
eventIdentifierProcess
public static final LogbookLifeCycleMongoDbName eventIdentifierProcess
eventIdentifierProcess
-
eventTypeProcess
public static final LogbookLifeCycleMongoDbName eventTypeProcess
eventTypeProcess
-
outcome
public static final LogbookLifeCycleMongoDbName outcome
outcome
-
outcomeDetail
public static final LogbookLifeCycleMongoDbName outcomeDetail
outcomeDetail
-
outcomeDetailMessage
public static final LogbookLifeCycleMongoDbName outcomeDetailMessage
outcomeDetailMessage
-
agentIdentifier
public static final LogbookLifeCycleMongoDbName agentIdentifier
agentIdentifier
-
objectIdentifier
public static final LogbookLifeCycleMongoDbName objectIdentifier
objectIdentifier
-
eventDetailData
public static final LogbookLifeCycleMongoDbName eventDetailData
eventDetailData
-
-
Method Detail
-
values
public static LogbookLifeCycleMongoDbName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LogbookLifeCycleMongoDbName c : LogbookLifeCycleMongoDbName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogbookLifeCycleMongoDbName valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDbname
public final java.lang.String getDbname()
- Returns:
- the corresponding dbname
-
getLogbookParameterName
public final LogbookParameterName getLogbookParameterName()
- Returns:
- the corresponding
LogbookParameterName
-
getLogbookLifeCycleMongoDbName
public static final LogbookLifeCycleMongoDbName getLogbookLifeCycleMongoDbName(LogbookParameterName name)
- Parameters:
name
- asLogbookParameterName
- Returns:
- the corresponding
LogbookLifeCycleMongoDbName
-
getFromDbname
public static final LogbookLifeCycleMongoDbName getFromDbname(java.lang.String name)
- Parameters:
name
- as db field name- Returns:
- the corresponding
LogbookLifeCycleMongoDbName
-
-