com.ibm.wsspi.xct.annotation

Class Annotation

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.xct.annotation.Annotation
All implemented interfaces:
com.ibm.ffdc.config.Formattable, AnnotationValue

  1. public class Annotation
  2. extends java.lang.Object
  3. implements AnnotationValue, com.ibm.ffdc.config.Formattable
This class is provided for WebSphere Application Server stack products and infrastructure extenders that want to use Cross Component Trace for product-specific correlation needs.

For details on usage, please contact IBM support.


Constructor Summary

Constructor and Description
Annotation(java.lang.String type)
Annotation(java.lang.String type,java.util.List<AnnotationValue> values)

Method Summary

Modifier and Type Method and Description
  1. Annotation
add(Annotation... annotations)
  1. Annotation
add(AnnotationValue... val)
  1. Annotation
add(Association... associations)
  1. Annotation
add(Attachment... attachments)
  1. Annotation
add(java.lang.String... string)
  1. Annotation
associate(java.lang.String associationName,java.lang.String... id)
  1. boolean
equals(Annotation other)
  1. boolean
equals(java.lang.Object other)
  1. void
formatTo(com.ibm.ffdc.config.IncidentStream is)
  1. java.lang.String
getType()
  1. java.util.List<? extends AnnotationValue>
getValues()
  1. int
hashCode()
  1. java.lang.String
toString()
  1. java.lang.Appendable
toString(java.lang.Appendable app)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

Annotation

  1. public Annotation(java.lang.String type)

Annotation

  1. public Annotation(java.lang.String type,
  2. java.util.List<AnnotationValue> values)

Method Detail

getType

  1. public java.lang.String getType( )

add

  1. public Annotation add(java.lang.String... string)

add

  1. public Annotation add(AnnotationValue... val)

add

  1. public Annotation add(Attachment... attachments)

add

  1. public Annotation add(Annotation... annotations)

add

  1. public Annotation add(Association... associations)

associate

  1. public Annotation associate(java.lang.String associationName,
  2. java.lang.String... id)

toString

  1. public java.lang.String toString( )
Overrides:
toString in class java.lang.Object

toString

  1. public java.lang.Appendable toString( java.lang.Appendable app)
  2. throws java.io.IOException
Specified by:
toString in interface AnnotationValue
Throws:
java.io.IOException

equals

  1. public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

equals

  1. public boolean equals(Annotation other)

hashCode

  1. public int hashCode()
Overrides:
hashCode in class java.lang.Object

getValues

  1. public java.util.List<? extends AnnotationValue> getValues( )
Specified by:
getValues in interface AnnotationValue

formatTo

  1. public void formatTo(com.ibm.ffdc.config.IncidentStream is)
Specified by:
formatTo in interface com.ibm.ffdc.config.Formattable