com.espertech.esper.epl.spec
Class AnnotationDesc

java.lang.Object
  extended by com.espertech.esper.epl.spec.AnnotationDesc
All Implemented Interfaces:
MetaDefItem, java.io.Serializable

public class AnnotationDesc
extends java.lang.Object
implements MetaDefItem, java.io.Serializable

Describes an annotation.

See Also:
Serialized Form

Constructor Summary
AnnotationDesc(java.lang.String name, java.util.List<Pair<java.lang.String,java.lang.Object>> attributes)
          Ctor.
AnnotationDesc(java.lang.String name, java.lang.String value)
           
 
Method Summary
 java.util.List<Pair<java.lang.String,java.lang.Object>> getAttributes()
          Returns annotation attributes.
 java.lang.String getName()
          Returns annotation interface class name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationDesc

public AnnotationDesc(java.lang.String name,
                      java.util.List<Pair<java.lang.String,java.lang.Object>> attributes)
Ctor.

Parameters:
name - name of annotation
attributes - are the attribute values

AnnotationDesc

public AnnotationDesc(java.lang.String name,
                      java.lang.String value)
Method Detail

getName

public java.lang.String getName()
Returns annotation interface class name.

Returns:
name of class, can be fully qualified

getAttributes

public java.util.List<Pair<java.lang.String,java.lang.Object>> getAttributes()
Returns annotation attributes.

Returns:
the attribute values

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