|
IBM Rational Functional Tester Version 8.2.1 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.services.PlaybackMonitorPreferencesValue
public class PlaybackMonitorPreferencesValue
This value class handles the value considerations for a PlaybackMonitorPreferences class object.
Constructor Summary | |
---|---|
PlaybackMonitorPreferencesValue()
|
Method Summary | |
---|---|
int |
compare(java.lang.Object left,
java.lang.Object right,
ICompareValueClass nested)
This method compares objects supported by this value class manager and returns a result in the range 0 to 100. |
java.lang.Object |
createValue(java.lang.Object sourceToCopy)
This method is essentially a copy constructor for an object of the managed class. |
java.lang.String |
getCanonicalName()
This method returns a canonical name for the value class that uniquely identifies the streamed format of the data associated with this class. |
java.lang.String |
getClassName()
This method returns the class name of the object that this manager represents. |
java.lang.Object |
persistIn(IPersistIn persist,
IAuxiliaryDataManager auxData)
This method pulls data from a supplied input object. |
void |
persistOut(java.lang.Object theObject,
IPersistOut persist,
IAuxiliaryDataManager auxData)
This method pushes the significant data associated with an object into the specified output object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlaybackMonitorPreferencesValue()
Method Detail |
---|
public void persistOut(java.lang.Object theObject, IPersistOut persist, IAuxiliaryDataManager auxData)
IManageValueClass
in the value class map to support the data class.
IAuxiliaryDataManager
instance that
should be used to name auxiliary data files. Failure to use this
object to name auxiliary data will result in the auxiliary files
not be properly managed by the test management system.
theObject
- The object that is to be sequentially inserted
into the supplied output stream.persist
- The output stream to sequentially insert data
into.auxData
- The auxiliary data interface used for naming
associated data files.persistIn(IPersistIn,IAuxiliaryDataManager)
,
#persistIn(IPersistInNamed,IAuxiliaryDataManager)
,
IPersistOut
,
IAuxiliaryDataManager
public java.lang.Object persistIn(IPersistIn persist, IAuxiliaryDataManager auxData)
persistOut
.
IAuxiliaryDataManager
instance that should be used to locate auxiliary data files.
Auxiliary data files that do not follow the supplied naming
convention will not be managed by the test management system.
persist
- The input stream that data is pulled sequentially
out of.auxData
- The auxiliary data interface used for naming
associated data files.
persistOut(Object,IPersistOut,IAuxiliaryDataManager)
public int compare(java.lang.Object left, java.lang.Object right, ICompareValueClass nested)
((left.equals(right)) ? 100 : 0 )
").
left
- The first object in the comparison.right
- The second object in the comparison.nested
- An object that can perform nested complex
compare actions.
public java.lang.Object createValue(java.lang.Object sourceToCopy)
null
if a copy operation is not be performed. The primary use of this
method is to shear property methods returning extended instances of the
expected class. For instance if java.awt.Point
is the expected
return type, however mycompany.MyPoint
(which extends the AWT
Point class) is actually returned, then the returned object will need to be
sheared before it may be used as a Point property. To get the MyPoint
object use an IManageValueClass
will need
to be crated for the new class (it must be a value class object).
sourceToCopy
- An instance of the associated value class.
public java.lang.String getCanonicalName()
IManageValueClass
may vary from platform to platform. This method
returns a name that does not vary between platforms.
java.util.hashtable
. On another platform
this data may be read into a C++ STL grid type object. Regardless the
data can be read because a canonical name for the value class has been associated
with the data. Note that the name in this example uses the rational
company name so that this value class name for a hashtable does
not conflict with another companies.
IManageValueClass
mapped object and therefore does not need to be
explicitly added by an implementation of persistOut
.
public java.lang.String getClassName()
IManageValueClass
can only support one value
class. The name of that class is returned by this method so that the
mapping of the value class to the appropriate value class manager can
be performed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |