Class CompositeQuestion

java.lang.Object
com.sun.interview.Question
com.sun.interview.CompositeQuestion
Direct Known Subclasses:
PropertiesQuestion

public abstract class CompositeQuestion extends Question
A specialized base class for questions which have more than one value to be manipulated by the user.
Since:
4.0
  • Constructor Details

    • CompositeQuestion

      protected CompositeQuestion(Interview interview, String baseTag)
      Create a question with a nominated tag.
      Parameters:
      interview - The interview containing this question.
      baseTag - A name to uniquely identify this question within its interview.
    • CompositeQuestion

      protected CompositeQuestion(Interview interview)
      Create a question with no identifying tag.
      Parameters:
      interview - The interview containing this question.
  • Method Details

    • setValue

      public abstract void setValue(String id, String s) throws Interview.Fault
      Set the response to this question to the value represented by a string-valued argument. Subtypes of Question will typically have type-specific methods to set the value as well.
      Parameters:
      s - A string containing a value value appropriate for the particular type of question whose value is being set.
      Throws:
      Interview.Fault - (retained for compatibility; should not be thrown)
      See Also: