net.esper.eql.core
Class PropertyResolutionDescriptor

java.lang.Object
  extended by net.esper.eql.core.PropertyResolutionDescriptor

public class PropertyResolutionDescriptor
extends Object

Encapsulates the result of resolving a property and optional stream name against a supplied list of streams StreamTypeService.


Constructor Summary
PropertyResolutionDescriptor(String streamName, EventType streamEventType, String propertyName, int streamNum, Class propertyType)
          Ctor.
 
Method Summary
 String getPropertyName()
          Returns resolved property name of the property as it exists in a stream.
 Class getPropertyType()
          Returns the property type of the resolved property.
 EventType getStreamEventType()
          Returns event type of the stream that the property was found in.
 String getStreamName()
          Returns stream name.
 int getStreamNum()
          Returns the number of the stream the property was found in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyResolutionDescriptor

public PropertyResolutionDescriptor(String streamName,
                                    EventType streamEventType,
                                    String propertyName,
                                    int streamNum,
                                    Class propertyType)
Ctor.

Parameters:
streamName - is the stream name
streamEventType - is the event type of the stream where the property was found
propertyName - is the regular name of property
streamNum - is the number offset of the stream
propertyType - is the type of the property
Method Detail

getStreamName

public String getStreamName()
Returns stream name.

Returns:
stream name

getStreamEventType

public EventType getStreamEventType()
Returns event type of the stream that the property was found in.

Returns:
stream's event type

getPropertyName

public String getPropertyName()
Returns resolved property name of the property as it exists in a stream.

Returns:
property name as resolved in a stream

getStreamNum

public int getStreamNum()
Returns the number of the stream the property was found in.

Returns:
stream offset number starting at zero to N-1 where N is the number of streams

getPropertyType

public Class getPropertyType()
Returns the property type of the resolved property.

Returns:
class of property

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com