com.ibm.rational.test.lt.models.behavior.common

Interface LTAnnotation

  • All Superinterfaces:
    CBActionElement, com.ibm.rational.test.common.models.behavior.CBAssetMigration, CBBlock, com.ibm.rational.test.common.models.behavior.CBBlockElement, com.ibm.rational.test.common.models.behavior.edit.CBCloneable, com.ibm.rational.test.common.models.behavior.edit.CBEdit, com.ibm.rational.test.common.models.behavior.errors.CBErrorHost, CBNamedElement, com.ibm.rational.test.common.models.behavior.internal.CBTempData, org.eclipse.emf.ecore.EObject, IAdaptable, LTBlock, org.eclipse.emf.common.notify.Notifier


    public interface LTAnnotation
    extends LTBlock, com.ibm.rational.test.common.models.behavior.CBAssetMigration
    A representation of the model object 'LT Annotation'.

    The following features are supported:

    See Also:
    CommonPackage.getLTAnnotation()
    • Method Detail

      • setBinary

        void setBinary(boolean value)
        Sets the value of the 'Binary' attribute.
        Parameters:
        value - the new value of the 'Binary' attribute.
        See Also:
        LTAnnotation.isBinary()
      • getString

        String getString()
      • setString

        void setString(String string)
      • setAsciifiedString

        void setAsciifiedString(String string)
      • getAsciifiedString

        String getAsciifiedString()
      • setBytes

        void setBytes(byte[] bytes)
      • clearBytes

        void clearBytes()
      • getBytes

        byte[] getBytes()
      • getByteStream

        InputStream getByteStream()
        Returns an input stream on the bytes read in by the annotation.
        Returns:
        InputStream - that can be read off of.
      • setByteStream

        void setByteStream(InputStream stream)
        annotates using a stream. The annotation will read from the stream passed in until no more data can be read and annotate it.
        Parameters:
        stream - - the stream that contains the data to be read from
      • calculateBinary

        void calculateBinary()
        calculate the binary attribute of this object. The base implementation of this method does not calculate the value of the binary attribute. Extensions may override this method to write custom implementations to figure out if the data being stored in this annotation is text or binary. These methods should call setBinary() with the calculated value.
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.