/*******************************************************************************
* ===========================================================
* Ankush : Big Data Cluster Management Solution
* ===========================================================
*
* (C) Copyright 2014, by Impetus Technologies
*
* This is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License (LGPL v3) as
* published by the Free Software Foundation;
*
* This software is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this software; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
******************************************************************************/
package com.impetus.ankush.agent.cassandra;
import java.io.Serializable;
public class Node implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private String host = new String();
private String ownership = new String();
private String dataCenter = new String();
private String rack = new String();
private String status = new String();
private String tokenCount = new String();
private String state = new String();
private String load = new String();
private String hostId = new String();
/**
* @return the host
*/
public String getHost() {
return host;
}
/**
* @param host
* the host to set
*/
public void setHost(String host) {
this.host = host;
}
/**
* @return the ownership
*/
public String getOwnership() {
return ownership;
}
/**
* @param ownership
* the ownership to set
*/
public void setOwnership(String ownership) {
this.ownership = ownership;
}
/**
* @return the dataCenter
*/
public String getDataCenter() {
return dataCenter;
}
/**
* @param dataCenter
* the dataCenter to set
*/
public void setDataCenter(String dataCenter) {
this.dataCenter = dataCenter;
}
/**
* @return the rack
*/
public String getRack() {
return rack;
}
/**
* @param rack
* the rack to set
*/
public void setRack(String rack) {
this.rack = rack;
}
/**
* @return the status
*/
public String getStatus() {
return status;
}
/**
* @param status
* the status to set
*/
public void setStatus(String status) {
this.status = status;
}
/**
* @return the tokenCount
*/
public String getTokenCount() {
return tokenCount;
}
/**
* @param tokenCount
* the tokenCount to set
*/
public void setTokenCount(String tokenCount) {
this.tokenCount = tokenCount;
}
/**
* @return the state
*/
public String getState() {
return state;
}
/**
* @param state
* the state to set
*/
public void setState(String state) {
this.state = state;
}
/**
* @return the load
*/
public String getLoad() {
return load;
}
/**
* @param load
* the load to set
*/
public void setLoad(String load) {
this.load = load;
}
/**
* @return the hostId
*/
public String getHostId() {
return hostId;
}
/**
* @param hostId
* the hostId to set
*/
public void setHostId(String hostId) {
this.hostId = hostId;
}
}