cmu.survey.objects.renderers.text.answerchoiceshelper
Class ChoiceDataBitSetWeightedWrapper

java.lang.Object
  extended by cmu.survey.objects.renderers.text.answerchoiceshelper.ChoiceDataBitSetWeightedWrapper
All Implemented Interfaces:
java.lang.Comparable

public class ChoiceDataBitSetWeightedWrapper
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
ChoiceDataBitSetWeightedWrapper(ChoicesDataBitSet choices)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 ChoicesDataBitSet getChoices()
           
 java.lang.String getName()
           
 int getWeight()
           
 void incrementWeight()
           
 void setName(java.lang.String string)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChoiceDataBitSetWeightedWrapper

public ChoiceDataBitSetWeightedWrapper(ChoicesDataBitSet choices)
Method Detail

getChoices

public ChoicesDataBitSet getChoices()

getWeight

public int getWeight()
Returns:

incrementWeight

public void incrementWeight()
Parameters:
i -

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getName

public java.lang.String getName()
Returns:

setName

public void setName(java.lang.String string)
Parameters:
string -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object