IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.script
Class Anchor

java.lang.Object   extended by com.rational.test.ft.script.Subitem
      extended by com.rational.test.ft.script.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
Anchor(boolean anchored, Property[] properties)
          Creates an anchored (or unanchored) Property set.
 
Method Summary
 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