class EnumId implements DataSerializableFixedID {

  @Override
  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (obj == null)
      return false;
    if (getClass() != obj.getClass())
      return false;
    EnumId other = (EnumId) obj;
    if (id != other.id)
      return false;
    return true;
  }

  public  EnumId(int id);
  public  EnumId();

}