Package 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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAppModelNodeBase(AppModelBase applicationModel) Initializes an instance of AppModelNodeBase.protectedAppModelNodeBase(TestObject parent, AppModelBase applicationModel) Initializes an instance of AppModelNodeBase with a parent TestObject. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TDescriptionCreate the actual description of the Test Objectprotected TdescribeConcrete(Description description) Describes the underlying concrete test object.protected TGets the Description of the generated Application Model node.protected TestObjectgetRelatedObject(String objectId) Returns the related test object.protected TestObjectReturns the SDK test object wrapped by this class.protected voidsetConcrete(Description description) Sets the concrete test object.voidsetDescription(Description description) Sets the description of the generated Application Model node.
-
Field Details
-
parent
-
concrete
-
-
Constructor Details
-
AppModelNodeBase
Initializes an instance of AppModelNodeBase.- Parameters:
applicationModel- the Application Model instance which contains this node.- Throws:
GeneralLeanFtException- if 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 error occurs during execution
-
-
Method Details
-
getWrappedTestObject
Description copied from class:com.hp.lft.sdk.internal.TestObjectWrapperReturns the SDK test object wrapped by this class.- Specified by:
getWrappedTestObjectin classcom.hp.lft.sdk.internal.TestObjectWrapper- Returns:
- the SDK test object wrapped by this class.
-
createDescription
Create the actual description of the Test Object- Returns:
- actual description
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getDescription
Gets the Description of the generated Application Model node.- Returns:
- Test object's description.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
setConcrete
Sets the concrete test object.- Parameters:
description- Test object's description.- Throws:
GeneralLeanFtException- if error occurs during execution
-
describeConcrete
Describes the underlying concrete test object.- Parameters:
description- Test object's description.- Returns:
- The underlying concrete test object
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getConcrete
-
setDescription
Sets the description of the generated Application Model node.- Parameters:
description- Test object's description.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getRelatedObject
Returns the related test object.- Parameters:
objectId- Identifier for the object in the containing Application Model- Returns:
- The related test object
-
getParent
-