@Override
  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (obj == null)
      return false;
    if (getClass() != obj.getClass())
      return false;
    JAgoraEdgeID other = (JAgoraEdgeID) obj;
    if (originID == null) {
      if (other.originID != null)
        return false;
    } else if (!originID.equals(other.originID))
      return false;
    if (targetID == null) {
      if (other.targetID != null)
        return false;
    } else if (!targetID.equals(other.targetID))
      return false;
    return true;
  }