/*
* *************************************************************************************
* 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_S2 implements Serializable
{
private static int idCounter;
private int id;
private String p20;
private String p21;
private String p22;
private String p23;
public static Object[] makeS2(String propOne, String[] propTwo)
{
idCounter++;
Object[] events = new Object[propTwo.length];
for (int i = 0; i < propTwo.length; i++)
{
events[i] = new SupportBean_S2(idCounter, propOne, propTwo[i]);
}
return events;
}
public SupportBean_S2(int id)
{
this.id = id;
}
public SupportBean_S2(int id, String p20)
{
this.id = id;
this.p20 = p20;
}
public SupportBean_S2(int id, String p20, String p21)
{
this.id = id;
this.p20 = p20;
this.p21 = p21;
}
public int getId()
{
return id;
}
public void setId(int id)
{
this.id = id;
}
public String getP20()
{
return p20;
}
public void setP20(String p20)
{
this.p20 = p20;
}
public String getP21()
{
return p21;
}
public void setP21(String p21)
{
this.p21 = p21;
}
public String getP22()
{
return p22;
}
public void setP22(String p22)
{
this.p22 = p22;
}
public String getP23()
{
return p23;
}
public void setP23(String p23)
{
this.p23 = p23;
}
}