class TypedString implements Named, Comparable<T>, Serializable {

  @Override
  @ToString
  public final String toString() {
    return name;
  }

  protected  TypedString(String name);
  protected  TypedString(String name, Pattern pattern, String msg);
  protected  TypedString(String name, CharMatcher matcher, String msg);

}