Enum EExternalUserRefType

    • Enum Constant Detail

      • 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 Detail

      • values

        public static EExternalUserRefType[] 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 (EExternalUserRefType c : EExternalUserRefType.values())
            System.out.println(c);
        
        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