Class AnnotationAttribute

java.lang.Object
com.espertech.esper.common.client.soda.AnnotationAttribute
All Implemented Interfaces:
Serializable

public class AnnotationAttribute extends Object implements Serializable
Represents a single annotation attribute, the value of which may itself be a single value, array or further annotations.
See Also:
  • Constructor Details

    • AnnotationAttribute

      public AnnotationAttribute()
      Ctor.
    • AnnotationAttribute

      public AnnotationAttribute(String name, Object value)
      Ctor.
      Parameters:
      name - annotation name
      value - annotation value, could be a primitive, array or another annotation
  • Method Details

    • getName

      public String getName()
      Returns annotation name.
      Returns:
      name
    • setName

      public void setName(String name)
      Sets annotation name.
      Parameters:
      name - to set
    • getValue

      public Object getValue()
      Returns annotation value.
      Returns:
      value
    • setValue

      public void setValue(Object value)
      Sets annotation value.
      Parameters:
      value - to set