Enum EntityType
- All Implemented Interfaces:
Serializable, Comparable<EntityType>
Enumeration of formcycle entities for referencing purposes.
- Since:
- 21.11.25
- Author:
- Norman Lorenz
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<EntityType> ofTypeName(String typeName) Gets theEntityTypefor the giventype name.static EntityTypeofTypeNameOrNull(String typeName) Gets theEntityTypefor the giventype name, or null if not found.typeName()Gets the string identifying this type.static EntityTypeReturns 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 Details
-
FORM_RESOURCE
-
CLIENT_RESOURCE
-
INBOX
-
USER_GROUP
-
CLIENT_COUNTER
-
CLIENT_FORM_THEME
-
DATA_SOURCE
-
APPOINTMENT_TEMPLATE
-
PROMPT_CONNECTION
-
PROMPT_QUERY
-
TEMPLATE
-
WORKFLOW_STATE
-
WEB_DAV_CONNECTION
-
LDAP_CONNECTION
-
LDAP_QUERY
-
DIRECT_CLIENT_AUTHORIZATION
-
DATABASE_CONNECTION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
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
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
-