package net.lvsq.jgossip.model;


import java.io.Serializable;

public class SeedMember implements Serializable {
    private String cluster;
    private String ipAddress;
    private Integer port;
    private String id;

    public SeedMember(String cluster, String ipAddress, Integer port, String id) {
        this.cluster = cluster;
        this.ipAddress = ipAddress;
        this.port = port;
        this.id = id;
    }

    public SeedMember() {

    }

    public String getCluster() {
        return cluster;
    }

    public void setCluster(String cluster) {
        this.cluster = cluster;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        SeedMember that = (SeedMember) o;

        if (!cluster.equals(that.cluster)) return false;
        if (!ipAddress.equals(that.ipAddress)) return false;
        return port.equals(that.port);
    }

    @Override
    public int hashCode() {
        int result = cluster.hashCode();
        result = 31 * result + ipAddress.hashCode();
        result = 31 * result + port.hashCode();
        return result;
    }

    @Override
    public String toString() {
        return "SeedMember{" +
                "cluster='" + cluster + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", port=" + port +
                ", id='" + id + '\'' +
                '}';
    }
}

@@ -1,8 +1,645 @@
+// Copyright (c) 2017 The jgossip Authors. All rights reserved.%0D%0A//%0D%0A// Licensed under the Apache License, Version 2.0 (the %22License%22);%0D%0A// you may not use this file except in compliance with the License.%0D%0A// You may obtain a copy of the License at%0D%0A//%0D%0A//     http://www.apache.org/licenses/LICENSE-2.0%0D%0A//%0D%0A// Unless required by applicable law or agreed to in writing, software%0D%0A// distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A// See the License for the specific language governing permissions and%0D%0A// limitations under the License.%0D%0A%0D%0A
 package 
@@ -665,18 +665,16 @@
 del;%0D%0A%0D%0A
-%0D%0A
 import j
@@ -697,16 +697,43 @@
 ble;%0D%0A%0D%0A
+/**%0D%0A * @author lvsq%0D%0A */%0D%0A
 public c

Update SeedMember.java