Class PhoneNumber

    • Constructor Detail

      • PhoneNumber

        public PhoneNumber​(String value,
                           String category)
    • Method Detail

      • getValue

        @NotNull
        public @NotNull String getValue()
        The phone number.
        Returns:
        value value
      • setValue

        public void setValue​(String value)
        Sets value.
        Parameters:
        value - the value
      • getCategory

        public String getCategory()
        The category.
        Returns:
        category category
      • setCategory

        public void setCategory​(String category)
        Sets category.
        Parameters:
        category - the category