com.pmstation.spss.record
Class AdditionalRecord

java.lang.Object
  extended by com.pmstation.spss.record.SPSSRecord
      extended by com.pmstation.spss.record.AdditionalRecord
Direct Known Subclasses:
DatasetAttributesRecord, ExtendedNamesRecord, ExtendedStringsRecord, MultiResponseRecord, NumberOfCasesRecord, SpecificFloatInfoRecord, SpecificInfoRecord, VariableAttributesRecord, VariableParamsRecord, VariableSetsRecord

public class AdditionalRecord
extends SPSSRecord

Superclass for all type 7 dictionary records. This record type is reserved for records added during SPSS development after Release 1.

See Also:
DatasetAttributesRecord, ExtendedNamesRecord, ExtendedStringsRecord, MultiResponseRecord, NumberOfCasesRecord, SpecificFloatInfoRecord, SpecificInfoRecord, VariableAttributesRecord, VariableParamsRecord, VariableSetsRecord

Constructor Summary
AdditionalRecord()
           
 
Method Summary
 int getDataTypeCode()
          Gets the data type code.
 int getNumberOfElements()
          Gets the number of elements.
 java.lang.Object getRawData()
          Gets the raw data.
 int getSubTypeCode()
          Gets the record sub type code.
 void setDataTypeCode(int dataTypeCode)
          Sets the data type code.
 void setNumberOfElements(int numberOfElements)
          Sets the number of elements.
 void setRawData(java.lang.Object rawData)
          Sets the raw data.
 void setSubTypeCode(int subTypeCode)
          Sets the sub type code.
 
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

AdditionalRecord

public AdditionalRecord()
Method Detail

getSubTypeCode

public int getSubTypeCode()
Gets the record sub type code.

Returns:
record sub type code

setSubTypeCode

public void setSubTypeCode(int subTypeCode)
Sets the sub type code.

Parameters:
subTypeCode - the new sub type code

getDataTypeCode

public int getDataTypeCode()
Gets the data type code. Contains size of one data element in this record

Returns:
the data type code

setDataTypeCode

public void setDataTypeCode(int dataTypeCode)
Sets the data type code.

Parameters:
dataTypeCode - the new data type code

getNumberOfElements

public int getNumberOfElements()
Gets the number of elements.

Returns:
the number of elements

setNumberOfElements

public void setNumberOfElements(int numberOfElements)
Sets the number of elements.

Parameters:
numberOfElements - the new number of elements

getRawData

public java.lang.Object getRawData()
Gets the raw data. Raw data is array numberOfElements*dataTypeCode bytes; Usually do not set in siblings that represents known subtypes of type 7 record.

Returns:
the raw data
See Also:
UnknownAdditionalRecordReader

setRawData

public void setRawData(java.lang.Object rawData)
Sets the raw data.

Parameters:
rawData - the new raw data


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