Package com.tnsai.context.entity
Enum Class EntityType
- All Implemented Interfaces:
Serializable,Comparable<EntityType>,Constable
Entity type enumeration for categorizing resolved entities.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConversation/chat entityCustom entity type for domain-specific useCustomer entity (from CRM, billing, etc.)Document entityOrder/transaction entityOrganization entity (company, team)Product entitySupport ticket entityUser entity (from auth, identity systems) -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityTypeReturns the enum constant of this class with the specified name.static EntityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CUSTOMER
Customer entity (from CRM, billing, etc.) -
USER
User entity (from auth, identity systems) -
ORGANIZATION
Organization entity (company, team) -
TICKET
Support ticket entity -
CONVERSATION
Conversation/chat entity -
DOCUMENT
Document entity -
PRODUCT
Product entity -
ORDER
Order/transaction entity -
CUSTOM
Custom entity type for domain-specific use
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-