/*
***************************************************************************************
* Copyright (C) 2006 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com *
* ---------------------------------------------------------------------------------- *
* The software in this package is published under the terms of the GPL license *
* a copy of which has been included with this distribution in the license.txt file. *
***************************************************************************************
*/
package com.espertech.esper.supportregression.bean;
import java.io.Serializable;
public class SupportSpatialAABB implements Serializable
{
private String id;
private double x;
private double y;
private double width;
private double height;
private String category;
public SupportSpatialAABB(String id, double x, double y, double width, double height, String category) {
this.id = id;
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.category = category;
}
public SupportSpatialAABB(String id, double x, double y, double width, double height) {
this(id, x, y, width, height, null);
}
public String getId() {
return id;
}
public double getX() {
return x;
}
public double getY() {
return y;
}
public double getWidth() {
return width;
}
public double getHeight() {
return height;
}
public String getCategory() {
return category;
}
}