/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * 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.support.bean; import java.io.Serializable; public class SupportBean_S0 implements Serializable { private static int idCounter; private int id; private String p00; private String p01; private String p02; private String p03; public static Object[] makeS0(String propOne, String[] propTwo) { idCounter++; Object[] events = new Object[propTwo.length]; for (int i = 0; i < propTwo.length; i++) { events[i] = new SupportBean_S0(idCounter, propOne, propTwo[i]); } return events; } public SupportBean_S0(int id) { this.id = id; } public SupportBean_S0(int id, String p00) { this.id = id; this.p00 = p00; } public SupportBean_S0(int id, String p00, String p01) { this.id = id; this.p00 = p00; this.p01 = p01; } public SupportBean_S0(int id, String p00, String p01, String p02) { this.id = id; this.p00 = p00; this.p01 = p01; this.p02 = p02; } public SupportBean_S0(int id, String p00, String p01, String p02, String p03) { this.id = id; this.p00 = p00; this.p01 = p01; this.p02 = p02; this.p03 = p03; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getP00() { return p00; } public void setP00(String p00) { this.p00 = p00; } public String getP01() { return p01; } public void setP01(String p01) { this.p01 = p01; } public String getP02() { return p02; } public void setP02(String p02) { this.p02 = p02; } public String getP03() { return p03; } public void setP03(String p03) { this.p03 = p03; } }