|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pmstation.spss.variable.SPSSVariable
public abstract class SPSSVariable
Abstract superclass for spss variables. Contains various information about variable common for all variable types.
| Constructor Summary | |
|---|---|
SPSSVariable()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getLabel()
Gets the label. |
java.lang.String |
getLegacyName()
Gets the legacy name. |
MissingValues |
getMissingValues()
Gets the missing values defined for variable. |
java.lang.String |
getName()
Gets the name. |
VariableFormat |
getPrintFormat()
Gets the prints the format. |
ValueLabel |
getValueLabels()
Gets the value labels. |
VariableFormat |
getWriteFormat()
Gets the write format. |
boolean |
isCaseWeight()
Checks if this variable is case weight. |
abstract java.lang.Object |
readFromStream(DecompressionInputStream in)
Read variable value from stream. |
void |
setCaseWeight(boolean isCaseWeight)
Sets the case weight. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setLegacyName(java.lang.String legacyName)
Sets the legacy name. |
void |
setMissingValues(MissingValues missingValues)
Sets the missing values. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setPrintFormat(VariableFormat printFormat)
Sets the prints the format. |
void |
setValueLabels(ValueLabel valueLabels)
Sets the value labels. |
void |
setWriteFormat(VariableFormat writeFormat)
Sets the write format. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPSSVariable()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the new namepublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - the new labelpublic MissingValues getMissingValues()
public void setMissingValues(MissingValues missingValues)
missingValues - the new missing valuespublic VariableFormat getPrintFormat()
public void setPrintFormat(VariableFormat printFormat)
printFormat - the new prints the formatpublic VariableFormat getWriteFormat()
public void setWriteFormat(VariableFormat writeFormat)
writeFormat - the new write format
public abstract java.lang.Object readFromStream(DecompressionInputStream in)
throws java.io.IOException
in - input stream
java.io.IOException - Signals that an I/O exception has occurred.public ValueLabel getValueLabels()
public void setValueLabels(ValueLabel valueLabels)
valueLabels - the new value labelspublic java.lang.String getLegacyName()
public void setLegacyName(java.lang.String legacyName)
legacyName - the new legacy namepublic boolean isCaseWeight()
public void setCaseWeight(boolean isCaseWeight)
isCaseWeight - the new case weight
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||