|
Rational QualityArchitect/Java API Version 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An implementation of this class creates a Verification Point Data object based on the verification point metadata in the specialized Verification Point object.
A class implementing this interface is a pluggable link between a Verification Point class (which defines a verification point's metadata) and a Verification Point Data class (which encapsulates and serializes the data for a verification point).
When you implement a Verification Point Data class from this interface, you implement the
captureData
method for populating a Verification Point Data object for a given Verification Point object. The
Verification Point Data Provider class knows about the structure of both the Verification Point
Data class (which it is building) and the Verification Point class (which specifies the data to capture).
This is an important abstraction for general types of verification points (such as object data or object properties) where many different objects may provide access to the same type of data.
An implementation of this interface can be "plugged into" an existing verification point implementation to provide verification point data from a new verification point data source.
An implementation of this interface is used with static verification points (for building expected and actual data objects) and with dynamic verification points (for building actual data objects only).
The VerificationPointDataProvider
interface is part of the
verification point framework that you use to
implement your own verification point classes. The verification point framework also includes:
VerificationPoint
class
VerificationPointData
interface
VerificationPointDataRenderer
interface
VerificationPointComparator
interface
Method Summary | |
VerificationPointData |
captureData(java.lang.Object theObject,
VerificationPoint theVP)
This method builds an expected or actual data object of type VerificationPointData . |
Method Detail |
public VerificationPointData captureData(java.lang.Object theObject, VerificationPoint theVP)
This method builds an expected or actual data object of type
VerificationPointData
. The method builds the object
according to the metadata in the VerificationPoint
class.
theObject
- The component-under-test.theVP
- The Verification Point object that contains
the verification point's metadata.
|
30-Jun-2003 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |