Interface IReq2
-
- All Superinterfaces:
com4j.Com4jObject
,IBaseField
,IBaseFieldEx
,IBaseFieldExMail
,IObjectLockingSupport
,IReq
- All Known Subinterfaces:
IReq3
public interface IReq2 extends IReq
Represents a requirement for which testing must be performed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IStream
get_Icon()
Returns the bitmap stream for the requirement's type.IList
getCoverageTestsByReqFilter(java.lang.String reqFilter, boolean recursive)
Returns the list of tests that cover the current requirement and, optionally, cover those of its children that match the requirement filter.boolean
hasReqTraceability(int traceDirection)
Checks if the current requirement has at least one associated requirement in the specified direction.boolean
hasRichContent()
Checks if the object has rich content.int
parentId()
The Requirement's parent ID.void
parentId(int pVal)
The Requirement's parent ID.void
populateTargetCycleToChildren()
Assigns the target cycle of the requirement as the target cycle of all child requirements, recursively down the folder tree.void
populateTargetReleaseToChildren()
Assigns the target release of the requirement as the target release of all child requirements, recursively down the folder tree.com4j.Com4jObject
reqTraceFactory(int traceDirection)
The requirement link factory that manages the traceability links of the current requirement to its associated requirements in the specified direction.com4j.Com4jObject
requirementType()
Gets the interface for getting the requirement types.java.lang.String
typeId()
The requirement's type ID.void
typeId(java.lang.String pVal)
The requirement's type ID.-
Methods inherited from interface com4j.Com4jObject
advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
-
Methods inherited from interface step.repository.alm.v16.otaclient.IBaseField
autoPost, autoPost, field, field, id, modified, post, refresh, undo, virtual
-
Methods inherited from interface step.repository.alm.v16.otaclient.IBaseFieldEx
attachments, hasAttachment, history
-
Methods inherited from interface step.repository.alm.v16.otaclient.IBaseFieldExMail
mail
-
Methods inherited from interface step.repository.alm.v16.otaclient.IObjectLockingSupport
isLocked, lockObject, unLockObject
-
Methods inherited from interface step.repository.alm.v16.otaclient.IReq
addCoverage, addCoverageByFilter, addCoverageEx, author, author, comment, comment, count, getCoverList, getCoverListByFilter, hasCoverage, isFolder, isFolder, move, name, name, paragraph, path, priority, priority, product, product, removeCoverage, reqCoverageStatus, reqSummaryStatus, reviewed, reviewed, status, type, type
-
-
-
-
Method Detail
-
reqTraceFactory
com4j.Com4jObject reqTraceFactory(int traceDirection)
The requirement link factory that manages the traceability links of the current requirement to its associated requirements in the specified direction.
Getter method for the COM property "ReqTraceFactory"
- Parameters:
traceDirection
- Mandatory int parameter.- Returns:
- Returns a value of type com4j.Com4jObject
-
hasReqTraceability
boolean hasReqTraceability(int traceDirection)
Checks if the current requirement has at least one associated requirement in the specified direction.
Getter method for the COM property "HasReqTraceability"
- Parameters:
traceDirection
- Mandatory int parameter.- Returns:
- Returns a value of type boolean
-
requirementType
com4j.Com4jObject requirementType()
Gets the interface for getting the requirement types.
Getter method for the COM property "RequirementType"
- Returns:
- Returns a value of type com4j.Com4jObject
-
typeId
java.lang.String typeId()
The requirement's type ID.
Getter method for the COM property "TypeId"
- Returns:
- Returns a value of type java.lang.String
-
typeId
void typeId(java.lang.String pVal)
The requirement's type ID.
Setter method for the COM property "TypeId"
- Parameters:
pVal
- Mandatory java.lang.String parameter.
-
get_Icon
IStream get_Icon()
Returns the bitmap stream for the requirement's type.
- Returns:
- Returns a value of type step.repository.alm.v16.otaclient.IStream
-
parentId
int parentId()
The Requirement's parent ID.
Getter method for the COM property "ParentId"
- Returns:
- Returns a value of type int
-
parentId
void parentId(int pVal)
The Requirement's parent ID.
Setter method for the COM property "ParentId"
- Parameters:
pVal
- Mandatory int parameter.
-
populateTargetCycleToChildren
void populateTargetCycleToChildren()
Assigns the target cycle of the requirement as the target cycle of all child requirements, recursively down the folder tree.
-
populateTargetReleaseToChildren
void populateTargetReleaseToChildren()
Assigns the target release of the requirement as the target release of all child requirements, recursively down the folder tree.
-
hasRichContent
boolean hasRichContent()
Checks if the object has rich content.
Getter method for the COM property "HasRichContent"
- Returns:
- Returns a value of type boolean
-
getCoverageTestsByReqFilter
IList getCoverageTestsByReqFilter(java.lang.String reqFilter, @DefaultValue("0") boolean recursive)
Returns the list of tests that cover the current requirement and, optionally, cover those of its children that match the requirement filter.
- Parameters:
reqFilter
- Mandatory java.lang.String parameter.recursive
- Optional parameter. Default value is false- Returns:
- Returns a value of type step.repository.alm.v16.otaclient.IList
-
-