com.rational.test.ft.script

Class Anchor



  • public class Anchor
    extends Subitem
    A container class that indicates whether the inner property set is anchored. For example, if a Property is anchored to a TestObject in a FindObjectsByPropertySet call, only direct descendants of the TestObject are searched.
    Since:
    RFT2.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      Anchor(boolean anchored, Property[] properties)
      Creates an anchored (or unanchored) Property set.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean getAnchored()
      Determines whether the properties are anchored to the TestObject.
      Property[] getProperties()
      Gets the properties that should be anchored or not anchored.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Anchor

        public Anchor(boolean anchored,
                      Property[] properties)
        Creates an anchored (or unanchored) Property set.
        Parameters:
        anchored - true if the properties should be anchored
        properties - the Property array
        Since:
        RFT2.0
    • Method Detail

      • getAnchored

        public boolean getAnchored()
        Determines whether the properties are anchored to the TestObject.
        Returns:
        true if the properties are anchored.
        Since:
        RFT2.0
      • getProperties

        public Property[] getProperties()
        Gets the properties that should be anchored or not anchored.
        Returns:
        the Property array
        Since:
        RFT2.0
      • toString

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