com.espertech.esper.event.property
Class GenericPropertyDesc

java.lang.Object
  extended by com.espertech.esper.event.property.GenericPropertyDesc

public class GenericPropertyDesc
extends java.lang.Object

Descriptor for a type and its generic type, if any.


Constructor Summary
GenericPropertyDesc(java.lang.Class type)
          Ctor.
GenericPropertyDesc(java.lang.Class type, java.lang.Class generic)
          Ctor.
 
Method Summary
 java.lang.Class getGeneric()
          Returns the generic parameter, or null if none.
static GenericPropertyDesc getObjectGeneric()
          Object.class type.
 java.lang.Class getType()
          Returns the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericPropertyDesc

public GenericPropertyDesc(java.lang.Class type,
                           java.lang.Class generic)
Ctor.

Parameters:
type - the type
generic - its generic type parameter, if any

GenericPropertyDesc

public GenericPropertyDesc(java.lang.Class type)
Ctor.

Parameters:
type - the type
Method Detail

getType

public java.lang.Class getType()
Returns the type.

Returns:
type

getGeneric

public java.lang.Class getGeneric()
Returns the generic parameter, or null if none.

Returns:
generic parameter

getObjectGeneric

public static GenericPropertyDesc getObjectGeneric()
Object.class type.

Returns:
type descriptor

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