com.espertech.esper.client.soda
Class AnnotationAttribute

java.lang.Object
  extended by com.espertech.esper.client.soda.AnnotationAttribute
All Implemented Interfaces:
java.io.Serializable

public class AnnotationAttribute
extends java.lang.Object
implements java.io.Serializable

Represents a single annotation attribute, the value of which may itself be a single value, array or further annotations.

See Also:
Serialized Form

Constructor Summary
AnnotationAttribute()
          Ctor.
AnnotationAttribute(java.lang.String name, java.lang.Object value)
          Ctor.
 
Method Summary
 java.lang.String getName()
          Returns annotation name.
 java.lang.Object getValue()
          Returns annotation value.
 void setName(java.lang.String name)
          Sets annotation name.
 void setValue(java.lang.Object value)
          Sets annotation value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationAttribute

public AnnotationAttribute()
Ctor.


AnnotationAttribute

public AnnotationAttribute(java.lang.String name,
                           java.lang.Object value)
Ctor.

Parameters:
name - annotation name
value - annotation value, could be a primitive, array or another annotation
Method Detail

getName

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

Returns:
name

setName

public void setName(java.lang.String name)
Sets annotation name.

Parameters:
name - to set

getValue

public java.lang.Object getValue()
Returns annotation value.

Returns:
value

setValue

public void setValue(java.lang.Object value)
Sets annotation value.

Parameters:
value - to set

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