Package de.xima.fc.mdl.enums
Enum EProjectSpecificDBTable
- java.lang.Object
-
- java.lang.Enum<EProjectSpecificDBTable>
-
- de.xima.fc.mdl.enums.EProjectSpecificDBTable
-
- All Implemented Interfaces:
Serializable
,Comparable<EProjectSpecificDBTable>
public enum EProjectSpecificDBTable extends Enum<EProjectSpecificDBTable>
Definiert die projektspezifischen Datentabelle, in denen die Vorgangsdaten abgelegt werden können.- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_INBOX
VIEW_INBOX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrefix()
String
getTableName(long clientId, long projectId)
String
getTableName(Projekt p)
ITableTemplate<?>
getTableTemplate(Projekt p)
int
getValueSizeLimit()
static EProjectSpecificDBTable
valueOf(String name)
Returns the enum constant of this type with the specified name.static EProjectSpecificDBTable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA_INBOX
public static final EProjectSpecificDBTable DATA_INBOX
-
VIEW_INBOX
public static final EProjectSpecificDBTable VIEW_INBOX
-
-
Method Detail
-
values
public static EProjectSpecificDBTable[] 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 (EProjectSpecificDBTable c : EProjectSpecificDBTable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EProjectSpecificDBTable valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTableName
public String getTableName(long clientId, long projectId)
-
getPrefix
public String getPrefix()
- Returns:
- The prefix for this type of table, prefer to use
getTableName(Projekt)
instead.
-
getTableTemplate
public ITableTemplate<?> getTableTemplate(Projekt p)
-
getValueSizeLimit
public int getValueSizeLimit()
-
-