Enum EExternalUserRefType

java.lang.Object
java.lang.Enum<EExternalUserRefType>
de.xima.fc.mdl.enums.EExternalUserRefType
All Implemented Interfaces:
Serializable, Comparable<EExternalUserRefType>

public enum EExternalUserRefType extends Enum<EExternalUserRefType>
Enum representing the type of external user reference.

This enum is used to differentiate between different types of external user references.

  • Enum Constant Details

    • EXTERNAL_INBOX

      public static final EExternalUserRefType EXTERNAL_INBOX
      Represents an external user reference that is associated with an external inbox.
    • CUSTOM

      public static final EExternalUserRefType CUSTOM
      Represents an external user reference that is associated with a custom type.
  • Method Details

    • values

      public static EExternalUserRefType[] 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

      public static EExternalUserRefType 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 name
      NullPointerException - if the argument is null
    • buildExternalRefString

      public String buildExternalRefString(String ref)
    • getType

      public static EExternalUserRefType getType(String externalRef)
      Returns the type of external user reference based on the provided external reference string.
      Parameters:
      externalRef - the external reference string
      Returns:
      the type of external user reference, or null if the type cannot be determined
    • getRefString

      public static String getRefString(String externalRef)
      Returns the reference string from the provided external reference string.
      Parameters:
      externalRef - the external reference string
      Returns:
      the reference string, or null if the reference string cannot be determined