Class StoreReportValueInVariable

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, ShallowCopySupporter<AbstractActorTemplate>, SizeOfHandler, Serializable

    public class StoreReportValueInVariable
    extends AbstractActorTemplate
    Generates a sub-flow (enlosed by a Tee) that sets the value of a variable with the associated value from the report.

    Valid options are:

    -D <int> (property: debugLevel)
        The greater the number the more additional info the scheme may output to
        the console (0 = off).
        default: 0
        minimum: 0
     
    -name <java.lang.String> (property: name)
        The new name for the actor; leave empty to use current.
        default:
     
    -field <adams.data.report.Field> (property: field)
        The report field to retrieve.
        default: blah[N]
     
    -variable <adams.core.VariableName> (property: variableName)
        The variable to store the report value in.
        default: variable
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Field

        protected Field m_Field
        the report field to extract.
      • m_VariableName

        protected VariableName m_VariableName
        the variable to store the value in.
    • Constructor Detail

      • StoreReportValueInVariable

        public StoreReportValueInVariable()
    • Method Detail

      • setField

        public void setField​(Field value)
        Sets the field to retrieve from the report.
        Parameters:
        value - the field
      • getField

        public Field getField()
        Returns the field to retrieve from the report.
        Returns:
        the field
      • fieldTipText

        public String fieldTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setVariableName

        public void setVariableName​(VariableName value)
        Sets the variable to set.
        Parameters:
        value - the variable
      • getVariableName

        public VariableName getVariableName()
        Returns the variable to set.
        Returns:
        the variable
      • variableNameTipText

        public String variableNameTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • isInteractive

        public boolean isInteractive()
        Whether the flow generated is an interactive one.
        Specified by:
        isInteractive in class AbstractActorTemplate
        Returns:
        true if interactive