@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ProtocolElem other = (ProtocolElem) obj;
        return Objects.equals(this.id, other.id);
    }