com.espertech.esper.epl.annotation
Class AnnotationAttribute

java.lang.Object
  extended by com.espertech.esper.epl.annotation.AnnotationAttribute

public class AnnotationAttribute
extends java.lang.Object

Represents a attribute of an annotation.


Constructor Summary
AnnotationAttribute(java.lang.String name, java.lang.Class type, java.lang.Object defaultValue)
          Ctor.
 
Method Summary
 java.lang.Object getDefaultValue()
          Returns default value of annotation.
 java.lang.String getName()
          Returns attribute name.
 java.lang.Class getType()
          Returns attribute type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationAttribute

public AnnotationAttribute(java.lang.String name,
                           java.lang.Class type,
                           java.lang.Object defaultValue)
Ctor.

Parameters:
name - name of attribute
type - attribute type
defaultValue - default value, if any is specified
Method Detail

getName

public java.lang.String getName()
Returns attribute name.

Returns:
attribute name

getType

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

Returns:
attribute type

getDefaultValue

public java.lang.Object getDefaultValue()
Returns default value of annotation.

Returns:
default value

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