com.espertech.esper.event
Class ExplicitPropertyDescriptor

java.lang.Object
  extended by com.espertech.esper.event.ExplicitPropertyDescriptor

public class ExplicitPropertyDescriptor
extends java.lang.Object

Descriptor for explicit properties for use with BaseConfigurableEventType.


Constructor Summary
ExplicitPropertyDescriptor(EventPropertyDescriptor descriptor, EventPropertyGetter getter, boolean fragmentArray, java.lang.String optionalFragmentTypeName)
          Ctor.
 
Method Summary
 EventPropertyDescriptor getDescriptor()
          Returns the property descriptor.
 EventPropertyGetter getGetter()
          Returns the getter.
 java.lang.String getOptionalFragmentTypeName()
          Returns the fragment event type name, or null if none defined.
 boolean isFragmentArray()
          Returns true if an indexed, or false if not indexed.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExplicitPropertyDescriptor

public ExplicitPropertyDescriptor(EventPropertyDescriptor descriptor,
                                  EventPropertyGetter getter,
                                  boolean fragmentArray,
                                  java.lang.String optionalFragmentTypeName)
Ctor.

Parameters:
descriptor - property descriptor
getter - getter for values
fragmentArray - true if array fragment
optionalFragmentTypeName - null if not a fragment, else fragment type name
Method Detail

getDescriptor

public EventPropertyDescriptor getDescriptor()
Returns the property descriptor.

Returns:
property descriptor

getGetter

public EventPropertyGetter getGetter()
Returns the getter.

Returns:
getter

getOptionalFragmentTypeName

public java.lang.String getOptionalFragmentTypeName()
Returns the fragment event type name, or null if none defined.

Returns:
fragment type name

isFragmentArray

public boolean isFragmentArray()
Returns true if an indexed, or false if not indexed.

Returns:
fragment indicator

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com