[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Add an event type with the given alias and Java class. If the alias already exists with the same Class, returns the existing EventType instance. If the alias already exists with different Class name, throws an exception. If the alias does not already exists, adds the alias and constructs a new net.esper.events.BeanEventType.

Namespace: net.esper.events
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Function AddBeanType ( _
	eventTypeAlias As String, _
	clazz As Type _
) As EventType
C#
EventType AddBeanType (
	string eventTypeAlias,
	Type clazz
)
Visual C++
EventType^ AddBeanType (
	String^ eventTypeAlias, 
	Type^ clazz
)

Parameters

eventTypeAlias
System.String
is the alias name for the event type
clazz
System.Type
is the fully Java class

Return Value

event type is the type added

See Also