AnyLogic
Expand
Font size
  • java.lang.Object
All Implemented Interfaces:
DatabaseLoggingObjectDescriptor, java.io.Serializable, java.lang.Comparable<DatabaseLogFunctions>

public enum DatabaseLogFunctions
extends java.lang.Enum<DatabaseLogFunctions>
implements DatabaseLoggingObjectDescriptor

Enum Constant Summary

Enum Constants 
FORMAT_AGENT_NAME  
FORMAT_AGENT_TYPE_NAME  
Enum Constant Description

Field Summary

Fields inherited from interface com.anylogic.engine.database.DatabaseLoggingObjectDescriptor

EMPTY

Method Summary

All Methods Static Methods Instance Methods Concrete Methods 
java.lang.String getCreateSQL()  
java.lang.String getFunctionDefinition()  
java.lang.String getName()  
java.lang.String getType()  
static DatabaseLogFunctions valueOf​(java.lang.String name)
Returns the enum constant of this type with the specified name.
static DatabaseLogFunctions[] values()
Returns an array containing the constants of this enum type, in the order they are declared.
Modifier and Type Method Description

Methods inherited from class java.lang.Enum

compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

Methods inherited from interface com.anylogic.engine.database.DatabaseLoggingObjectDescriptor

getLoggingTypes, getSaveSQL

Enum Constant Detail

FORMAT_AGENT_TYPE_NAME

public static final DatabaseLogFunctions FORMAT_AGENT_TYPE_NAME

FORMAT_AGENT_NAME

public static final DatabaseLogFunctions FORMAT_AGENT_NAME

Method Detail

values

public static DatabaseLogFunctions[] 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 (DatabaseLogFunctions c : DatabaseLogFunctions.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DatabaseLogFunctions 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 name
java.lang.NullPointerException - if the argument is null

getName

public java.lang.String getName()
Specified by:
getName in interface DatabaseLoggingObjectDescriptor

getFunctionDefinition

public java.lang.String getFunctionDefinition()

getType

public java.lang.String getType()
Specified by:
getType in interface DatabaseLoggingObjectDescriptor

getCreateSQL

public java.lang.String getCreateSQL()
Specified by:
getCreateSQL in interface DatabaseLoggingObjectDescriptor
How can we improve this article?