Enum LogbookMongoDbName
- java.lang.Object
-
- java.lang.Enum<LogbookMongoDbName>
-
- fr.gouv.vitam.logbook.common.server.database.collections.LogbookMongoDbName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LogbookMongoDbName>
public enum LogbookMongoDbName extends java.lang.Enum<LogbookMongoDbName>
Enum with all possible logbook parameters
Use to set parameter value and to check emptiness or nullity
-
-
Enum Constant Summary
Enum Constants Enum Constant Description agentIdentifier
agentIdentifieragentIdentifierApplication
agentIdentifierApplicationagentIdentifierApplicationSession
agentIdentifierApplicationSessionagentIdentifierPersonae
agentIdentifierApplicationagIdExt
agencies detailseventDateTime
eventDateTimeeventDetailData
eventDetailDataeventIdentifier
eventIdentifiereventIdentifierProcess
eventIdentifierProcesseventIdentifierRequest
eventIdentifierRequesteventType
eventTypeeventTypeProcess
eventTypeProcessobjectIdentifier
objectIdentifierobjectIdentifierIncome
objectIdentifierIncomeobjectIdentifierRequest
objectIdentifierRequestoutcome
outcomeoutcomeDetail
outcomeDetailoutcomeDetailMessage
outcomeDetailMessageparentEventIdentifier
parentEventIdentifierrightsStatementIdentifier
rightsStatementIdentifier
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDbname()
static LogbookMongoDbName
getFromDbname(java.lang.String name)
static LogbookMongoDbName
getLogbookMongoDbName(LogbookParameterName name)
LogbookParameterName
getLogbookParameterName()
static LogbookMongoDbName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogbookMongoDbName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
eventIdentifier
public static final LogbookMongoDbName eventIdentifier
eventIdentifier
-
parentEventIdentifier
public static final LogbookMongoDbName parentEventIdentifier
parentEventIdentifier
-
eventType
public static final LogbookMongoDbName eventType
eventType
-
eventDateTime
public static final LogbookMongoDbName eventDateTime
eventDateTime
-
eventDetailData
public static final LogbookMongoDbName eventDetailData
eventDetailData
-
eventIdentifierProcess
public static final LogbookMongoDbName eventIdentifierProcess
eventIdentifierProcess
-
eventTypeProcess
public static final LogbookMongoDbName eventTypeProcess
eventTypeProcess
-
outcome
public static final LogbookMongoDbName outcome
outcome
-
outcomeDetail
public static final LogbookMongoDbName outcomeDetail
outcomeDetail
-
outcomeDetailMessage
public static final LogbookMongoDbName outcomeDetailMessage
outcomeDetailMessage
-
agentIdentifier
public static final LogbookMongoDbName agentIdentifier
agentIdentifier
-
agentIdentifierApplication
public static final LogbookMongoDbName agentIdentifierApplication
agentIdentifierApplication
-
agentIdentifierPersonae
public static final LogbookMongoDbName agentIdentifierPersonae
agentIdentifierApplication
-
agentIdentifierApplicationSession
public static final LogbookMongoDbName agentIdentifierApplicationSession
agentIdentifierApplicationSession
-
eventIdentifierRequest
public static final LogbookMongoDbName eventIdentifierRequest
eventIdentifierRequest
-
agIdExt
public static final LogbookMongoDbName agIdExt
agencies details
-
rightsStatementIdentifier
public static final LogbookMongoDbName rightsStatementIdentifier
rightsStatementIdentifier
-
objectIdentifier
public static final LogbookMongoDbName objectIdentifier
objectIdentifier
-
objectIdentifierRequest
public static final LogbookMongoDbName objectIdentifierRequest
objectIdentifierRequest
-
objectIdentifierIncome
public static final LogbookMongoDbName objectIdentifierIncome
objectIdentifierIncome
-
-
Method Detail
-
values
public static LogbookMongoDbName[] 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 (LogbookMongoDbName c : LogbookMongoDbName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogbookMongoDbName 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
-
getLogbookMongoDbName
public static final LogbookMongoDbName getLogbookMongoDbName(LogbookParameterName name)
- Parameters:
name
- asLogbookParameterName
- Returns:
- the corresponding
LogbookMongoDbName
-
getFromDbname
public static final LogbookMongoDbName getFromDbname(java.lang.String name)
- Parameters:
name
- as db field name- Returns:
- the corresponding
LogbookMongoDbName
-
-