class GICSCode implements ImmutableBean, Serializable {

  public static GICSCode of(final int code) {
    if ((code < 10) || (code > 99999999)) {
      throw new IllegalArgumentException("Code out of range: " + code);
    }
    return GICSCode.of(Integer.toString(code));
  }

  @ImmutableConstructor private  GICSCode(final String code);

}