Package de.xima.fc.model.entity
Enum EntityType
- java.lang.Object
-
- java.lang.Enum<EntityType>
-
- de.xima.fc.model.entity.EntityType
-
- All Implemented Interfaces:
Serializable,Comparable<EntityType>
public enum EntityType extends Enum<EntityType> implements Serializable
Enumeration of formcycle entities for referencing purposes.- Since:
- 21.11.25
- Author:
- Norman Lorenz
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<EntityType>ofTypeName(String typeName)Gets theEntityTypefor the giventype name.static EntityTypeofTypeNameOrNull(String typeName)Gets theEntityTypefor the giventype name, or null if not found.StringtypeName()Gets the string identifying this type.static EntityTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EntityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORM_RESOURCE
public static final EntityType FORM_RESOURCE
-
CLIENT_RESOURCE
public static final EntityType CLIENT_RESOURCE
-
INBOX
public static final EntityType INBOX
-
USER_GROUP
public static final EntityType USER_GROUP
-
CLIENT_COUNTER
public static final EntityType CLIENT_COUNTER
-
CLIENT_FORM_THEME
public static final EntityType CLIENT_FORM_THEME
-
DATA_SOURCE
public static final EntityType DATA_SOURCE
-
APPOINTMENT_TEMPLATE
public static final EntityType APPOINTMENT_TEMPLATE
-
PROMPT_CONNECTION
public static final EntityType PROMPT_CONNECTION
-
PROMPT_QUERY
public static final EntityType PROMPT_QUERY
-
TEMPLATE
public static final EntityType TEMPLATE
-
WORKFLOW_STATE
public static final EntityType WORKFLOW_STATE
-
WEB_DAV_CONNECTION
public static final EntityType WEB_DAV_CONNECTION
-
LDAP_CONNECTION
public static final EntityType LDAP_CONNECTION
-
LDAP_QUERY
public static final EntityType LDAP_QUERY
-
DIRECT_CLIENT_AUTHORIZATION
public static final EntityType DIRECT_CLIENT_AUTHORIZATION
-
DATABASE_CONNECTION
public static final EntityType DATABASE_CONNECTION
-
-
Method Detail
-
values
public static EntityType[] 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 (EntityType c : EntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityType 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
-
ofTypeNameOrNull
public static EntityType ofTypeNameOrNull(String typeName)
Gets theEntityTypefor the giventype name, or null if not found.- Parameters:
typeName- The type name.- Returns:
- The entity type, or null if not found.
-
ofTypeName
public static Optional<EntityType> ofTypeName(String typeName)
Gets theEntityTypefor the giventype name.- Parameters:
typeName- The type name.- Returns:
- An optional containing the entity type, or an empty optional if not found.
-
typeName
public String typeName()
Gets the string identifying this type.- Returns:
- The type string.
-
-