/*
* *************************************************************************************
* 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.core.service;
import com.espertech.esper.client.EventType;
import com.espertech.esper.epl.spec.UpdateDesc;
import com.espertech.esper.event.EventBeanCopyMethod;
import com.espertech.esper.util.TypeWidener;
import java.lang.annotation.Annotation;
public class InternalEventRouterDesc {
private final UpdateDesc updateDesc;
private final EventBeanCopyMethod copyMethod;
private final TypeWidener[] wideners;
private final EventType eventType;
private final Annotation[] annotations;
public InternalEventRouterDesc(UpdateDesc updateDesc, EventBeanCopyMethod copyMethod, TypeWidener[] wideners, EventType eventType, Annotation[] annotations) {
this.updateDesc = updateDesc;
this.copyMethod = copyMethod;
this.wideners = wideners;
this.eventType = eventType;
this.annotations = annotations;
}
public UpdateDesc getUpdateDesc() {
return updateDesc;
}
public EventBeanCopyMethod getCopyMethod() {
return copyMethod;
}
public TypeWidener[] getWideners() {
return wideners;
}
public EventType getEventType() {
return eventType;
}
public Annotation[] getAnnotations() {
return annotations;
}
}