com.pmstation.spss.record
Class ValueLabelRecord

java.lang.Object
  extended by com.pmstation.spss.record.SPSSRecord
      extended by com.pmstation.spss.record.ValueLabelRecord

public class ValueLabelRecord
extends SPSSRecord

Contains value labels in form of Hashtable. Designated values serves as keys and their labels as values


Constructor Summary
ValueLabelRecord()
           
 
Method Summary
 int getNumberOfLabels()
          Gets the number of labels.
 java.util.Hashtable getValueLabels()
          Gets the value labels.
 void setNumberOfLabels(int numberOfLabels)
          Sets the number of labels.
 void setValueLabels(java.util.Hashtable valueLabels)
          Sets the value labels.
 
Methods inherited from class com.pmstation.spss.record.SPSSRecord
getRecordType, setRecordType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueLabelRecord

public ValueLabelRecord()
Method Detail

getNumberOfLabels

public int getNumberOfLabels()
Gets the number of labels.

Returns:
the number of labels

setNumberOfLabels

public void setNumberOfLabels(int numberOfLabels)
Sets the number of labels.

Parameters:
numberOfLabels - the new number of labels

getValueLabels

public java.util.Hashtable getValueLabels()
Gets the value labels.

Returns:
the value labels

setValueLabels

public void setValueLabels(java.util.Hashtable valueLabels)
Sets the value labels.

Parameters:
valueLabels - the new value labels


Copyright © 2003-2004 pmStation.com. All Rights Reserved.