org.openfjord.business.entities.valueobjects
Class CardinalQuestionVO

java.lang.Object
  |
  +--org.openfjord.business.entities.valueobjects.SurveyElementVO
        |
        +--org.openfjord.business.entities.valueobjects.TextElementVO
              |
              +--org.openfjord.business.entities.valueobjects.QuestionVO
                    |
                    +--org.openfjord.business.entities.valueobjects.ScaledQuestionVO
                          |
                          +--org.openfjord.business.entities.valueobjects.CardinalQuestionVO
All Implemented Interfaces:
CardinalQuestion, Question, ScaledQuestion, java.io.Serializable, SurveyElement, TextElement

public class CardinalQuestionVO
extends ScaledQuestionVO
implements CardinalQuestion, java.io.Serializable

Title: openFJORD

Description: open Flexible Java Online Research Designer

Copyright: Copyright (c) by Michael Lange 2003

Company: University of Muenster

Version:
1.0
Author:
Michael Lange
See Also:
Serialized Form

Constructor Summary
CardinalQuestionVO()
           
CardinalQuestionVO(java.lang.String id)
           
 
Method Summary
 java.lang.Number getMaxValue()
          Gets the upper limit of the co-domain
 java.lang.String getMeasurement()
          Gets the measurement
 java.lang.Number getMinValue()
          Gets the lower limit of the co-domain
 void setMaxValue(java.lang.Number max)
          Sets the upper limit of the co-domain
 void setMeasurement(java.lang.String measurement)
          Sets the mearurement
 void setMinValue(java.lang.Number min)
          Sets the Min Value
 
Methods inherited from class org.openfjord.business.entities.valueobjects.QuestionVO
getAnswer, getAnswers
 
Methods inherited from class org.openfjord.business.entities.valueobjects.TextElementVO
getText, setText
 
Methods inherited from class org.openfjord.business.entities.valueobjects.SurveyElementVO
getId, getName, getParent, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openfjord.business.domain.Question
getAnswer, getAnswers
 
Methods inherited from interface org.openfjord.business.domain.TextElement
getText, setText
 
Methods inherited from interface org.openfjord.business.domain.SurveyElement
getId, getName, getParent, setName, setParent
 

Constructor Detail

CardinalQuestionVO

public CardinalQuestionVO()

CardinalQuestionVO

public CardinalQuestionVO(java.lang.String id)
Method Detail

setMinValue

public void setMinValue(java.lang.Number min)
Sets the Min Value

Specified by:
setMinValue in interface CardinalQuestion
Parameters:
min - the Minimum

getMinValue

public java.lang.Number getMinValue()
Gets the lower limit of the co-domain

Specified by:
getMinValue in interface CardinalQuestion
Returns:
the lower limit of the co-domain

setMaxValue

public void setMaxValue(java.lang.Number max)
Sets the upper limit of the co-domain

Specified by:
setMaxValue in interface CardinalQuestion
Parameters:
max - the upper limit of the co-domain

getMaxValue

public java.lang.Number getMaxValue()
Gets the upper limit of the co-domain

Specified by:
getMaxValue in interface CardinalQuestion
Returns:
the upper limit of the co-domain

setMeasurement

public void setMeasurement(java.lang.String measurement)
Sets the mearurement

Specified by:
setMeasurement in interface CardinalQuestion
Parameters:
measurement - the measuremant

getMeasurement

public java.lang.String getMeasurement()
Gets the measurement

Specified by:
getMeasurement in interface CardinalQuestion
Returns:
the measurement


openFJORD Copyright © 2003 University of Muenster.