com.hp.lft.sdk

Class AppModelNodeBase<T extends TestObject,TDescription extends Description>

  • java.lang.Object
    • com.hp.lft.sdk.internal.TestObjectWrapper
      • com.hp.lft.sdk.AppModelNodeBase<T,TDescription>
  • Direct Known Subclasses:
    TopLevelObjectNodeBase


    public abstract class AppModelNodeBase<T extends TestObject,TDescription extends Description>
    extends com.hp.lft.sdk.internal.TestObjectWrapper
    Base class for all container sub-classes generated under the Application Model class.
    • Constructor Detail

      • AppModelNodeBase

        protected AppModelNodeBase(AppModelBase applicationModel)
                            throws GeneralLeanFtException
        Initializes an instance of AppModelNodeBase.
        Parameters:
        applicationModel - the Application Model instance which contains this node.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • AppModelNodeBase

        protected AppModelNodeBase(TestObject parent,
                                   AppModelBase applicationModel)
                            throws GeneralLeanFtException
        Initializes an instance of AppModelNodeBase with a parent TestObject.
        Parameters:
        parent - parent test object.
        applicationModel - the Application Model instance which contains this node.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
    • Method Detail

      • getWrappedTestObject

        protected TestObject getWrappedTestObject()
        Description copied from class: com.hp.lft.sdk.internal.TestObjectWrapper
        Returns the SDK test object wrapped by this class.
        Specified by:
        getWrappedTestObject in class com.hp.lft.sdk.internal.TestObjectWrapper
        Returns:
        the SDK test object wrapped by this class.
      • getConcrete

        protected T getConcrete()
      • setDescription

        public void setDescription(Description description)
                            throws GeneralLeanFtException
        Sets the description of the generated Application Model node.
        Parameters:
        description - Test object's description.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getRelatedObject

        protected TestObject getRelatedObject(java.lang.String objectId)
        Returns the related test object.
        Parameters:
        objectId - Identifier for the object in the containing Application Model
        Returns:
        The related test object