package com.mycompany.client;

import java.io.Serializable;

//import com.smartgwt.client.widgets.grid.ListGridRecord;

public class ServiceNodeRecord 
	implements Serializable { //extends ListGridRecord {
	
	private static final long serialVersionUID = 1L;
	private Integer id;
	//  explicit elements
	private long nodeId;		// not implemented
	private String shortAddress;	
	private String serviceName;
	private String serviceInfo;
	private String institutionCode;
	private String nodeType;
	private String address;
	private String port;
	
	//color/status
	private String status;
	private String color;

	// managed
	private boolean active;		// proposed as alternative to SetInactive - not implemented
	private String created;
	private String setInactive;
	
	// geometry
	private long xpos;
	private long ypos;
	private long xlen;
	private long ylen;
	
	public long getNodeId() {
		return nodeId;
	}
	public void setNodeId(long nodeId) {
		this.nodeId = nodeId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	public String getCreated() {
		return created;
	}
	public void setCreated(String created) {
		this.created = created;
	}
	public String getSetInactive() {
		return setInactive;
	}
	public void setSetInactive(String setInactive) {
		this.setInactive = setInactive;
	}
	public long getXpos() {
		return xpos;
	}
	public void setXpos(long xpos) {
		this.xpos = xpos;
	}
	public long getYpos() {
		return ypos;
	}
	public void setYpos(long ypos) {
		this.ypos = ypos;
	}
	public long getXlen() {
		return xlen;
	}
	public void setXlen(long xlen) {
		this.xlen = xlen;
	}
	public long getYlen() {
		return ylen;
	}
	public void setYlen(long ylen) {
		this.ylen = ylen;
	}	
	public String getPort() {
		return port;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getServiceName() {
		return serviceName;
	}
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	public String getServiceInfo() {
		return serviceInfo;
	}
	public void setServiceInfo(String serviceInfo) {
		this.serviceInfo = serviceInfo;
	}
	public String getInstitutionCode() {
		return institutionCode;
	}
	public void setInstitutionCode(String institutionCode) {
		this.institutionCode = institutionCode;
	}
	public String getNodeType() {
		return nodeType;
	}
	public void setNodeType(String nodeType) {
		this.nodeType = nodeType;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getShortAddress() {
		return shortAddress;
	}
	public void setShortAddress(String shortAddress) {
		this.shortAddress = shortAddress;
	}
}
