net.sf.ehcache.management.resource.QueryResultsEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of management-ehcache Show documentation
Show all versions of management-ehcache Show documentation
A library defining the ehcache management resource service interfaces and resource entities.
The newest version!
/* All content copyright (c) 2003-2012 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.*/
package net.sf.ehcache.management.resource;
import org.terracotta.management.resource.VersionedEntity;
/**
*
* A {@link VersionedEntity} representing query results.
*
*
* @author gkeim
*/
@SuppressWarnings("serial")
public class QueryResultsEntity extends VersionedEntity {
private String name;
private String agentId;
private Object[][] data;
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the agentId
*/
public String getAgentId() {
return agentId;
}
/**
* @param agentId to set
*/
public void setAgentId(String agentId) {
this.agentId = agentId;
}
/**
* @param data to set
*/
public void setData(Object[][] data) {
this.data = data;
}
/**
* @return the query results data
*/
public Object[][] getData() {
return data;
}
}