|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.AnnotationPart
public class AnnotationPart
Represents a single annotation.
Constructor Summary | |
---|---|
AnnotationPart()
Ctor. |
|
AnnotationPart(java.lang.String name)
Ctor. |
|
AnnotationPart(java.lang.String name,
java.util.List<AnnotationAttribute> attributes)
Ctor. |
Method Summary | |
---|---|
void |
addValue(java.lang.Object value)
Add value. |
void |
addValue(java.lang.String name,
java.lang.Object value)
Add named value. |
void |
copy(AnnotationPart other)
Copy annotation values. |
java.util.List<AnnotationAttribute> |
getAttributes()
Returns annotation attributes. |
java.lang.String |
getName()
Returns annotation interface class name. |
java.lang.String |
getTreeObjectName()
Returns the internal expression id assigned for tools to identify the expression. |
void |
setName(java.lang.String name)
Sets annotation interface class name. |
void |
setTreeObjectName(java.lang.String treeObjectName)
Sets an internal expression id assigned for tools to identify the expression. |
void |
toEPL(java.io.StringWriter writer)
Print part. |
static void |
toEPL(java.io.StringWriter writer,
java.util.List<AnnotationPart> annotations,
EPStatementFormatter formatter)
Print. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationPart()
public AnnotationPart(java.lang.String name)
name
- of annotationpublic AnnotationPart(java.lang.String name, java.util.List<AnnotationAttribute> attributes)
name
- name of annotationattributes
- are the attribute valuesMethod Detail |
---|
public void copy(AnnotationPart other)
other
- to copypublic java.lang.String getTreeObjectName()
public void setTreeObjectName(java.lang.String treeObjectName)
treeObjectName
- object namepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- name of class, can be fully qualifiedpublic void addValue(java.lang.Object value)
value
- to addpublic void addValue(java.lang.String name, java.lang.Object value)
name
- namevalue
- valuepublic java.util.List<AnnotationAttribute> getAttributes()
public static void toEPL(java.io.StringWriter writer, java.util.List<AnnotationPart> annotations, EPStatementFormatter formatter)
writer
- to print toannotations
- annotationsformatter
- for newline-whitespace formattingpublic void toEPL(java.io.StringWriter writer)
writer
- to write to
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |