public class Annotation extends java.lang.Object implements AnnotationValue, com.ibm.ffdc.config.Formattable
For details on usage, please contact IBM support.
Constructor and Description |
---|
Annotation(java.lang.String type) |
Annotation(java.lang.String type,
java.util.List<AnnotationValue> values) |
Modifier and Type | Method and Description |
---|---|
Annotation |
add(Annotation... annotations) |
Annotation |
add(AnnotationValue... val) |
Annotation |
add(Association... associations) |
Annotation |
add(Attachment... attachments) |
Annotation |
add(java.lang.String... string) |
Annotation |
associate(java.lang.String associationName,
java.lang.String... id) |
boolean |
equals(Annotation other) |
boolean |
equals(java.lang.Object other) |
void |
formatTo(com.ibm.ffdc.config.IncidentStream is) |
java.lang.String |
getType() |
java.util.List<? extends AnnotationValue> |
getValues() |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.Appendable |
toString(java.lang.Appendable app) |
public Annotation(java.lang.String type)
public Annotation(java.lang.String type, java.util.List<AnnotationValue> values)
public java.lang.String getType()
public Annotation add(java.lang.String... string)
public Annotation add(AnnotationValue... val)
public Annotation add(Attachment... attachments)
public Annotation add(Annotation... annotations)
public Annotation add(Association... associations)
public Annotation associate(java.lang.String associationName, java.lang.String... id)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Appendable toString(java.lang.Appendable app) throws java.io.IOException
toString
in interface AnnotationValue
java.io.IOException
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public boolean equals(Annotation other)
public int hashCode()
hashCode
in class java.lang.Object
public java.util.List<? extends AnnotationValue> getValues()
getValues
in interface AnnotationValue
public void formatTo(com.ibm.ffdc.config.IncidentStream is)
formatTo
in interface com.ibm.ffdc.config.Formattable