com.jelastic.api.development.persistence.ClusterNode Maven / Gradle / Ivy
The newest version!
package com.jelastic.api.development.persistence;
import java.io.Serializable;
/**
*
* @author Ruslan Sinitskiy
*/
public class ClusterNode implements Serializable {
private int id;
private String name;
private String path;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
@Override
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
final ClusterNode other = (ClusterNode) obj;
if (getId() != other.getId()) {
return false;
}
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy