org.openware.loadsim.link
Interface ILinkDatumValue

All Superinterfaces:
java.io.Serializable

public interface ILinkDatumValue
extends java.io.Serializable

During a simulation, a link datum may be assigned a value in one of 3 ways:

  1. Constant value. The link datum will always be the specified value.
  2. Page value. The value is assigned based on the value from the link in the previous page. This allows LoadSim to mimic the behavior of a user clicking on a link with data that is only assigned during a particular HTTP session. That is, it can only be determined at the time of running the simulation.
  3. Dataset value. The value is assigned by looking it up in a dataset.
  4. Author:
    Vincent Sheffer

    Method Summary
     ILinkDatumValue deepCopy()
              Perform a deep copy of the ILinkDatumValue object.
     boolean equals(ILinkDatumValue value)
              Used to determine if 2 different ILinkDatumValue objects are equal.
     java.lang.String getValue()
              Get the value, in String form.
     void setValue(java.lang.String value)
               
     

    Method Detail

    equals

    public boolean equals(ILinkDatumValue value)
    Used to determine if 2 different ILinkDatumValue objects are equal. The comparisons are made between link data defined in the configuration file and link data from the dowloaded page.
    Parameters:
    value - The ILinkDatumValue object to compare to this ILinkDatumValue object.
    Returns:
    true if the 2 objects are equal.

    getValue

    public java.lang.String getValue()
    Get the value, in String form.
    Returns:
    A String representation of the ILinkDatumValue object.

    deepCopy

    public ILinkDatumValue deepCopy()
    Perform a deep copy of the ILinkDatumValue object.
    Returns:
    A deep copy of itself.

    setValue

    public void setValue(java.lang.String value)


    Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.