package com.h20.course.tp1;

/**
 * This interface describes a phone address entry, which consists on a name,
 * plus a phone number. We assume that the name is the owner of the given phone
 * number.

 * @author fpereira
 *
 */
public interface Entry {
  /**
   * Returns the name of the person who will be called through this phone
   * number.
   *
   * @return a string object.
   */
  String getName();

  /**
   * Returns a string describing the phone number that this object encodes.
   *
   * @return a string object
   */
  String getPhone();
}
