All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.confluence.rpc.soap.beans.RemoteClusterInformation Maven / Gradle / Ivy

/**
 * RemoteClusterInformation.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.atlassian.confluence.rpc.soap.beans;

public class RemoteClusterInformation  implements java.io.Serializable {
    private java.lang.String description;

    private int memberCount;

    private java.lang.Object[] members;

    private java.lang.String multicastAddress;

    private java.lang.String multicastPort;

    private java.lang.String name;

    private boolean running;

    public RemoteClusterInformation() {
    }

    public RemoteClusterInformation(
           java.lang.String description,
           int memberCount,
           java.lang.Object[] members,
           java.lang.String multicastAddress,
           java.lang.String multicastPort,
           java.lang.String name,
           boolean running) {
           this.description = description;
           this.memberCount = memberCount;
           this.members = members;
           this.multicastAddress = multicastAddress;
           this.multicastPort = multicastPort;
           this.name = name;
           this.running = running;
    }


    /**
     * Gets the description value for this RemoteClusterInformation.
     * 
     * @return description
     */
    public java.lang.String getDescription() {
        return description;
    }


    /**
     * Sets the description value for this RemoteClusterInformation.
     * 
     * @param description
     */
    public void setDescription(java.lang.String description) {
        this.description = description;
    }


    /**
     * Gets the memberCount value for this RemoteClusterInformation.
     * 
     * @return memberCount
     */
    public int getMemberCount() {
        return memberCount;
    }


    /**
     * Sets the memberCount value for this RemoteClusterInformation.
     * 
     * @param memberCount
     */
    public void setMemberCount(int memberCount) {
        this.memberCount = memberCount;
    }


    /**
     * Gets the members value for this RemoteClusterInformation.
     * 
     * @return members
     */
    public java.lang.Object[] getMembers() {
        return members;
    }


    /**
     * Sets the members value for this RemoteClusterInformation.
     * 
     * @param members
     */
    public void setMembers(java.lang.Object[] members) {
        this.members = members;
    }


    /**
     * Gets the multicastAddress value for this RemoteClusterInformation.
     * 
     * @return multicastAddress
     */
    public java.lang.String getMulticastAddress() {
        return multicastAddress;
    }


    /**
     * Sets the multicastAddress value for this RemoteClusterInformation.
     * 
     * @param multicastAddress
     */
    public void setMulticastAddress(java.lang.String multicastAddress) {
        this.multicastAddress = multicastAddress;
    }


    /**
     * Gets the multicastPort value for this RemoteClusterInformation.
     * 
     * @return multicastPort
     */
    public java.lang.String getMulticastPort() {
        return multicastPort;
    }


    /**
     * Sets the multicastPort value for this RemoteClusterInformation.
     * 
     * @param multicastPort
     */
    public void setMulticastPort(java.lang.String multicastPort) {
        this.multicastPort = multicastPort;
    }


    /**
     * Gets the name value for this RemoteClusterInformation.
     * 
     * @return name
     */
    public java.lang.String getName() {
        return name;
    }


    /**
     * Sets the name value for this RemoteClusterInformation.
     * 
     * @param name
     */
    public void setName(java.lang.String name) {
        this.name = name;
    }


    /**
     * Gets the running value for this RemoteClusterInformation.
     * 
     * @return running
     */
    public boolean isRunning() {
        return running;
    }


    /**
     * Sets the running value for this RemoteClusterInformation.
     * 
     * @param running
     */
    public void setRunning(boolean running) {
        this.running = running;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof RemoteClusterInformation)) return false;
        RemoteClusterInformation other = (RemoteClusterInformation) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.description==null && other.getDescription()==null) || 
             (this.description!=null &&
              this.description.equals(other.getDescription()))) &&
            this.memberCount == other.getMemberCount() &&
            ((this.members==null && other.getMembers()==null) || 
             (this.members!=null &&
              java.util.Arrays.equals(this.members, other.getMembers()))) &&
            ((this.multicastAddress==null && other.getMulticastAddress()==null) || 
             (this.multicastAddress!=null &&
              this.multicastAddress.equals(other.getMulticastAddress()))) &&
            ((this.multicastPort==null && other.getMulticastPort()==null) || 
             (this.multicastPort!=null &&
              this.multicastPort.equals(other.getMulticastPort()))) &&
            ((this.name==null && other.getName()==null) || 
             (this.name!=null &&
              this.name.equals(other.getName()))) &&
            this.running == other.isRunning();
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getDescription() != null) {
            _hashCode += getDescription().hashCode();
        }
        _hashCode += getMemberCount();
        if (getMembers() != null) {
            for (int i=0;
                 i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy