Class CallType

    • Constructor Detail

      • CallType

        public CallType()
      • CallType

        public CallType​(String value)
      • CallType

        public CallType​(String origNum,
                        String destNum)
    • Method Detail

      • format

        public String format​(String pattern)

        Formats the value of this type according to a pattern (@see Formatter). One single value of this type can be referenced by the pattern using an index. The item order is defined by the natural (alphabetical) order of their keys.

        Index '1' will reference the call's destination number and index '2' will reference the call's origination number.

        Specified by:
        format in interface Type
        Parameters:
        pattern - the pattern to use containing indexes to reference the single elements of this type.
        Returns:
        the formatted string
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object