|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
nesstar.rdf.RDFObject
nesstar.api.faster.SimpleVariable
nesstar.api.faster.Variable
public class Variable
A variable in a study, either a primary variable or a derived variable.
A primary variable is created when a study is published on the server by providing its DDI description and possibly its data.
Primary variables are always part of a Section (DDI variable group). If the variable group is not specified in the DDI the variable is added to a default Section (with ID="...").
Derived variables are added by users after the study has been published.
Derived variables are calculated on the base of a formula, specified in the "expression" attribute, that can contain references to other primary or derived variables from the same study.
Derived variables are not part of any section.
Derived variables can be used in any statistical operation that accept variables (except Subset/Download).
Note that derived variable will have only their label, expression and possibly comment fields set. All other fields are set to null.
| Field Summary | |
|---|---|
static String |
CLASS_ID
|
| Fields inherited from class nesstar.rdf.RDFObject |
|---|
COLSEP, IS_GETTER, IS_PART, IS_PART_OF, WRITE_OP |
| Constructor Summary | |
|---|---|
Variable(RDFDB db,
URL id)
Create an object with the indicated id in the indicated db |
|
| Method Summary | |
|---|---|
void |
clear()
Clear all properties of this object |
String |
get_additivity()
|
String |
get_concept()
|
RDFRef |
get_datafile()
|
String |
get_decimalPlaces()
|
String |
get_expression()
|
RDFRef |
get_factsheets()
|
String |
get_format()
|
String |
get_formatSchema()
|
String |
get_geogr()
|
RDFRef |
get_groups()
|
String |
get_instructions()
|
String |
get_interviewerInstr()
|
String |
get_intervl()
|
String |
get_isKey()
|
String |
get_isWeight()
|
String |
get_max()
|
String |
get_maxValue()
|
String |
get_mean()
|
String |
get_meanValue()
|
RDFRef |
get_measures()
|
String |
get_median()
|
String |
get_medianValue()
|
String |
get_min()
|
String |
get_minValue()
|
String |
get_missingValues()
|
String |
get_mode()
|
String |
get_modeValue()
|
String |
get_name()
|
String |
get_nature()
|
String |
get_noInvalidResponses()
|
String |
get_noResponses()
|
String |
get_notes()
|
String |
get_noValidResponses()
|
String |
get_origin()
|
String |
get_position()
|
String |
get_postQuestionText()
|
String |
get_preQuestionText()
|
String |
get_questionText()
|
String |
get_scale()
|
RDFRef |
get_section()
|
RDFRef |
get_sections()
|
String |
get_source()
|
String |
get_startPos()
|
RDFRef |
get_statistics()
|
String |
get_std()
|
String |
get_stdValue()
|
RDFRef |
get_study()
|
RDFRef |
get_tables()
|
String |
get_universe()
|
String |
get_valRangeMax()
|
String |
get_valRangeMin()
|
String |
get_varID()
|
RDFRef |
get_weightVariable()
|
RDFRef |
get_weightVariables()
|
String |
getAdditivity()
|
static Vector |
getAllInstances()
|
static Vector |
getAllInstances(RDFDB db)
|
String[] |
getConcept()
List of Concepts. |
String |
getConceptAsString()
|
Datafile |
getDatafile()
|
Integer |
getDecimalPlaces()
Number of decimal places |
static FeatureDescriptor |
getDescriptor(String featureName)
get the descriptor for a feature of the class, either method or attribute Note: the methods' feature are still not implemented |
String |
getExpression()
If this variable is derived from other variables this field contains the expression used to calculate the variable. |
List |
getFactsheets()
|
String |
getFormat()
eg Float, Integer |
String |
getFormatSchema()
eg SPSS, SAS |
String |
getGeogr()
|
static Collection |
getGetterMethods()
|
List |
getGroups()
|
static SimpleVariable |
getInstance(RDFDB db,
URL id)
If an object of type Variable with the indicated id exists in the db returns it otherwise create a new object in the db and returns it |
static SimpleVariable |
getInstance(String rdf)
|
String |
getInstructions()
Instructions to Interviewer |
String |
getInterviewerInstr()
Specific instructions to the individual conducting an interview. |
String |
getIntervl()
discrete/continuous |
Boolean |
getIsKey()
Is this variable a key in a hierarchy? |
Boolean |
getIsWeight()
Whether the variable is a weight. |
Double |
getMax()
Deprecated. replaced by MaxValue |
Double |
getMaxValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
Double |
getMean()
Deprecated. replaced by MeanValue |
Double |
getMeanValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
List |
getMeasures()
|
Double |
getMedian()
Deprecated. replaced by MedianValue |
Double |
getMedianValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
Double |
getMin()
Deprecated. replaced by MinValue |
Double |
getMinValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
String |
getMissingValues()
List of missing/invalid values |
Double |
getMode()
Deprecated. replaced by ModeValue |
Double |
getModeValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
String |
getName()
Name of variable |
String |
getNature()
|
Integer |
getNoInvalidResponses()
Number of invalid responses |
String |
getNoResponses()
Total Number of Responses |
String |
getNotes()
Brief notes on variable |
Integer |
getNoValidResponses()
Number of Valid Responses |
String |
getOrigin()
|
static Collection |
getPartsDescriptor()
|
Integer |
getPosition()
Represents the ordinal position of a variable in the ddi xml. |
String |
getPostQuestionText()
Text describing what occurs after the literal question has been asked. |
String |
getPreQuestionText()
Text describing a set of conditions under which a question might be asked. |
String |
getQuestionText()
Text of the actual, literal question asked. |
String |
getScale()
|
Section |
getSection()
|
List |
getSections()
|
String |
getSource()
Source for this variable |
Integer |
getStartPos()
Start position of variable in data file |
List |
getStatistics()
|
Double |
getStd()
Deprecated. replaced by stdValue |
Double |
getStdValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
Study |
getStudy()
|
List |
getTables()
|
String |
getUniverse()
Population for this variable |
Double |
getValRangeMax()
Maximum value in range |
Double |
getValRangeMin()
Minimum value in range |
String |
getVarID()
Position of variable in dataset (local ID) |
Variable |
getWeightVariable()
|
List |
getWeightVariables()
|
void |
initialised()
Notify that the object has been created and its properties setup for the first time. |
static void |
listenForNewObj(NewObjListener listener)
Register to be notified when new objects are added. |
static SimpleVariable |
newInstance(RDFDB db)
Create a new object of this type with a locally unique id and returns it |
Bookmark |
Remove()
Remove this derived variable. |
void |
Remove(BasicExecutorLog log)
Remove this derived variable. |
static SimpleVariable |
retrieve(URL id)
If an object of type Variable with the indicated id has already being retrieved from the network returns it otherwise retrieve it together with its class information (methods, properties, etc.) |
void |
set_additivity(String additivity)
|
void |
set_concept(String concept)
|
void |
set_datafile(RDFRef datafile)
|
void |
set_decimalPlaces(String decimalPlaces)
|
void |
set_expression(String expression)
|
void |
set_factsheets(RDFRef factsheets)
|
void |
set_format(String format)
|
void |
set_formatSchema(String formatSchema)
|
void |
set_geogr(String geogr)
|
void |
set_groups(RDFRef groups)
|
void |
set_instructions(String instructions)
|
void |
set_interviewerInstr(String interviewerInstr)
|
void |
set_intervl(String intervl)
|
void |
set_isKey(String isKey)
|
void |
set_isWeight(String isWeight)
|
void |
set_max(String max)
|
void |
set_maxValue(String maxValue)
|
void |
set_mean(String mean)
|
void |
set_meanValue(String meanValue)
|
void |
set_measures(RDFRef measures)
|
void |
set_median(String median)
|
void |
set_medianValue(String medianValue)
|
void |
set_min(String min)
|
void |
set_minValue(String minValue)
|
void |
set_missingValues(String missingValues)
|
void |
set_mode(String mode)
|
void |
set_modeValue(String modeValue)
|
void |
set_name(String name)
|
void |
set_nature(String nature)
|
void |
set_noInvalidResponses(String noInvalidResponses)
|
void |
set_noResponses(String noResponses)
|
void |
set_notes(String notes)
|
void |
set_noValidResponses(String noValidResponses)
|
void |
set_origin(String origin)
|
void |
set_position(String position)
|
void |
set_postQuestionText(String postQuestionText)
|
void |
set_preQuestionText(String preQuestionText)
|
void |
set_questionText(String questionText)
|
void |
set_scale(String scale)
|
void |
set_section(RDFRef section)
|
void |
set_sections(RDFRef sections)
|
void |
set_source(String source)
|
void |
set_startPos(String startPos)
|
void |
set_statistics(RDFRef statistics)
|
void |
set_std(String std)
|
void |
set_stdValue(String stdValue)
|
void |
set_study(RDFRef study)
|
void |
set_tables(RDFRef tables)
|
void |
set_universe(String universe)
|
void |
set_valRangeMax(String valRangeMax)
|
void |
set_valRangeMin(String valRangeMin)
|
void |
set_varID(String varID)
|
void |
set_weightVariable(RDFRef weightVariable)
|
void |
set_weightVariables(RDFRef weightVariables)
|
void |
setAdditivity(String additivity)
|
void |
setConcept(String[] concept)
List of Concepts. |
void |
setDatafile(Datafile datafile)
|
void |
setDecimalPlaces(Integer decimalPlaces)
Number of decimal places |
void |
setExpression(String expression)
If this variable is derived from other variables this field contains the expression used to calculate the variable. |
void |
setFactsheets(List factsheets)
|
void |
setFormat(String format)
eg Float, Integer |
void |
setFormatSchema(String formatSchema)
eg SPSS, SAS |
void |
setGeogr(String geogr)
|
void |
setGroups(List groups)
|
void |
setInstructions(String instructions)
Instructions to Interviewer |
void |
setInterviewerInstr(String interviewerInstr)
Specific instructions to the individual conducting an interview. |
void |
setIntervl(String intervl)
discrete/continuous |
void |
setIsKey(Boolean isKey)
Is this variable a key in a hierarchy? |
void |
setIsWeight(Boolean isWeight)
Whether the variable is a weight. |
void |
setMax(Double max)
Deprecated. replaced by MaxValue |
void |
setMaxValue(Double maxValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
void |
setMean(Double mean)
Deprecated. replaced by MeanValue |
void |
setMeanValue(Double meanValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
void |
setMeasures(List measures)
|
void |
setMedian(Double median)
Deprecated. replaced by MedianValue |
void |
setMedianValue(Double medianValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
void |
setMin(Double min)
Deprecated. replaced by MinValue |
void |
setMinValue(Double minValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
void |
setMissingValues(String missingValues)
List of missing/invalid values |
void |
setMode(Double mode)
Deprecated. replaced by ModeValue |
void |
setModeValue(Double modeValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
void |
setName(String name)
Name of variable |
void |
setNature(String nature)
|
void |
setNoInvalidResponses(Integer noInvalidResponses)
Number of invalid responses |
void |
setNoResponses(String noResponses)
Total Number of Responses |
void |
setNotes(String notes)
Brief notes on variable |
void |
setNoValidResponses(Integer noValidResponses)
Number of Valid Responses |
void |
setOrigin(String origin)
|
void |
setPosition(Integer position)
Represents the ordinal position of a variable in the ddi xml. |
void |
setPostQuestionText(String postQuestionText)
Text describing what occurs after the literal question has been asked. |
void |
setPreQuestionText(String preQuestionText)
Text describing a set of conditions under which a question might be asked. |
void |
setQuestionText(String questionText)
Text of the actual, literal question asked. |
void |
setScale(String scale)
|
void |
setSection(Section section)
|
void |
setSections(List sections)
|
void |
setSource(String source)
Source for this variable |
void |
setStartPos(Integer startPos)
Start position of variable in data file |
void |
setStatistics(List statistics)
|
void |
setStd(Double std)
Deprecated. replaced by stdValue |
void |
setStdValue(Double stdValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries |
void |
setStudy(Study study)
|
void |
setTables(List tables)
|
void |
setUniverse(String universe)
Population for this variable |
void |
setValRangeMax(Double valRangeMax)
Maximum value in range |
void |
setValRangeMin(Double valRangeMin)
Minimum value in range |
void |
setVarID(String varID)
Position of variable in dataset (local ID) |
void |
setWeightVariable(Variable weightVariable)
|
void |
setWeightVariables(List weightVariables)
|
| Methods inherited from class nesstar.api.faster.SimpleVariable |
|---|
set |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String CLASS_ID
| Constructor Detail |
|---|
public Variable(RDFDB db,
URL id)
throws Exception
db - the db where the object is to be createdid - the id of the object to create
Exception| Method Detail |
|---|
public void set_sections(RDFRef sections)
sections -
public void setSections(List sections)
throws Exception
sections -
Exceptionpublic void set_measures(RDFRef measures)
measures -
public void setMeasures(List measures)
throws Exception
measures -
Exceptionpublic void set_statistics(RDFRef statistics)
statistics -
public void setStatistics(List statistics)
throws Exception
statistics -
Exceptionpublic void set_study(RDFRef study)
set_study in class SimpleVariablestudy -
public void setStudy(Study study)
throws Exception
setStudy in class SimpleVariablestudy -
Exceptionpublic void set_datafile(RDFRef datafile)
datafile -
public void setDatafile(Datafile datafile)
throws Exception
datafile -
Exceptionpublic void set_groups(RDFRef groups)
groups -
public void setGroups(List groups)
throws Exception
groups -
Exceptionpublic void set_factsheets(RDFRef factsheets)
factsheets -
public void setFactsheets(List factsheets)
throws Exception
factsheets -
Exceptionpublic void set_tables(RDFRef tables)
tables -
public void setTables(List tables)
throws Exception
tables -
Exceptionpublic void set_weightVariables(RDFRef weightVariables)
weightVariables -
public void setWeightVariables(List weightVariables)
throws Exception
weightVariables -
Exceptionpublic void set_section(RDFRef section)
set_section in class SimpleVariablesection -
public void setSection(Section section)
throws Exception
setSection in class SimpleVariablesection -
Exceptionpublic void set_weightVariable(RDFRef weightVariable)
weightVariable -
public void setWeightVariable(Variable weightVariable)
throws Exception
weightVariable -
Exceptionpublic void setIsKey(Boolean isKey)
Is this variable a key in a hierarchy?
isKey - public void set_isKey(String isKey)
isKey - public void setIsWeight(Boolean isWeight)
Whether the variable is a weight.
isWeight - public void set_isWeight(String isWeight)
isWeight - public void setNoInvalidResponses(Integer noInvalidResponses)
Number of invalid responses
noInvalidResponses - public void set_noInvalidResponses(String noInvalidResponses)
noInvalidResponses - public void setDecimalPlaces(Integer decimalPlaces)
Number of decimal places
decimalPlaces - public void set_decimalPlaces(String decimalPlaces)
decimalPlaces - public void setStartPos(Integer startPos)
Start position of variable in data file
startPos - public void set_startPos(String startPos)
startPos - public void setName(String name)
Name of variable
name - public void set_name(String name)
name - public void setMax(Double max)
max - public void set_max(String max)
max - public void setMean(Double mean)
mean - public void set_mean(String mean)
mean - public void setMedian(Double median)
median - public void set_median(String median)
median - public void setMin(Double min)
min - public void set_min(String min)
min - public void setMode(Double mode)
mode - public void set_mode(String mode)
mode - public void setStd(Double std)
std - public void set_std(String std)
std - public void setValRangeMax(Double valRangeMax)
Maximum value in range
valRangeMax - public void set_valRangeMax(String valRangeMax)
valRangeMax - public void setValRangeMin(Double valRangeMin)
Minimum value in range
valRangeMin - public void set_valRangeMin(String valRangeMin)
valRangeMin - public void setNotes(String notes)
Brief notes on variable
setNotes in class SimpleVariablenotes - public void set_notes(String notes)
set_notes in class SimpleVariablenotes - public void setQuestionText(String questionText)
Text of the actual, literal question asked.
setQuestionText in class SimpleVariablequestionText - public void set_questionText(String questionText)
set_questionText in class SimpleVariablequestionText - public void setNoResponses(String noResponses)
Total Number of Responses
noResponses - public void set_noResponses(String noResponses)
noResponses - public void setInstructions(String instructions)
Instructions to Interviewer
instructions - public void set_instructions(String instructions)
instructions - public void setUniverse(String universe)
Population for this variable
universe - public void set_universe(String universe)
universe - public void setAdditivity(String additivity)
additivity - public void set_additivity(String additivity)
additivity - public void setNature(String nature)
nature - public void set_nature(String nature)
nature - public void setScale(String scale)
scale - public void set_scale(String scale)
scale - public void setOrigin(String origin)
origin - public void set_origin(String origin)
origin - public void setGeogr(String geogr)
geogr - public void set_geogr(String geogr)
geogr - public void setMissingValues(String missingValues)
List of missing/invalid values
missingValues - public void set_missingValues(String missingValues)
missingValues - public void setIntervl(String intervl)
discrete/continuous
intervl - public void set_intervl(String intervl)
intervl - public void setFormat(String format)
eg Float, Integer
format - public void set_format(String format)
format - public void setFormatSchema(String formatSchema)
eg SPSS, SAS
formatSchema - public void set_formatSchema(String formatSchema)
formatSchema - public void setVarID(String varID)
Position of variable in dataset (local ID)
varID - public void set_varID(String varID)
varID - public void setSource(String source)
Source for this variable
source - public void set_source(String source)
source - public void setNoValidResponses(Integer noValidResponses)
Number of Valid Responses
noValidResponses - public void set_noValidResponses(String noValidResponses)
noValidResponses - public void setMeanValue(Double meanValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
meanValue - public void set_meanValue(String meanValue)
meanValue - public void setMaxValue(Double maxValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
maxValue - public void set_maxValue(String maxValue)
maxValue - public void setModeValue(Double modeValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
modeValue - public void set_modeValue(String modeValue)
modeValue - public void setMedianValue(Double medianValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
medianValue - public void set_medianValue(String medianValue)
medianValue - public void setMinValue(Double minValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
minValue - public void set_minValue(String minValue)
minValue - public void setStdValue(Double stdValue)
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
stdValue - public void set_stdValue(String stdValue)
stdValue - public void setPosition(Integer position)
Represents the ordinal position of a variable in the ddi xml. Starts from position 1.
position - public void set_position(String position)
position - public void setPreQuestionText(String preQuestionText)
Text describing a set of conditions under which a question might be asked.
preQuestionText - public void set_preQuestionText(String preQuestionText)
preQuestionText - public void setPostQuestionText(String postQuestionText)
Text describing what occurs after the literal question has been asked.
postQuestionText - public void set_postQuestionText(String postQuestionText)
postQuestionText - public void setInterviewerInstr(String interviewerInstr)
Specific instructions to the individual conducting an interview.
interviewerInstr - public void set_interviewerInstr(String interviewerInstr)
interviewerInstr - public void setConcept(String[] concept)
List of Concepts. The general subject to which this variable may be seen as pertaining.
setConcept in class SimpleVariableconcept - public void set_concept(String concept)
set_concept in class SimpleVariableconcept - public void setExpression(String expression)
If this variable is derived from other variables this field contains the expression used to calculate the variable.
expression - public void set_expression(String expression)
expression -
public static Vector getAllInstances(RDFDB db)
throws Exception
db - the db where the instances are to be found
Exception
public static Vector getAllInstances()
throws Exception
Exception
public static SimpleVariable getInstance(RDFDB db,
URL id)
throws Exception
db - the db where the object is to be found or createdid - the id of the object to retrieve or create
Exception
public static SimpleVariable getInstance(String rdf)
throws Exception
rdf - some rdf code that contains a description of an object of this kind
Exception
public RDFRef get_sections()
throws Exception
Exception
public List getSections()
throws Exception
Exception
public RDFRef get_measures()
throws Exception
Exception
public List getMeasures()
throws Exception
Exception
public RDFRef get_statistics()
throws Exception
Exception
public List getStatistics()
throws Exception
Exception
public RDFRef get_study()
throws Exception
get_study in class SimpleVariableExceptionpublic Study getStudy()
getStudy in class SimpleVariable
public RDFRef get_datafile()
throws Exception
Exceptionpublic Datafile getDatafile()
public RDFRef get_groups()
throws Exception
Exception
public List getGroups()
throws Exception
Exception
public RDFRef get_factsheets()
throws Exception
Exception
public List getFactsheets()
throws Exception
Exception
public RDFRef get_tables()
throws Exception
Exception
public List getTables()
throws Exception
Exception
public RDFRef get_weightVariables()
throws Exception
Exception
public List getWeightVariables()
throws Exception
Exception
public RDFRef get_section()
throws Exception
get_section in class SimpleVariableExceptionpublic Section getSection()
getSection in class SimpleVariable
public RDFRef get_weightVariable()
throws Exception
Exceptionpublic Variable getWeightVariable()
public Boolean getIsKey()
Is this variable a key in a hierarchy?
public String get_isKey()
throws Exception
Exceptionpublic Boolean getIsWeight()
Whether the variable is a weight.
public String get_isWeight()
throws Exception
Exceptionpublic Integer getNoInvalidResponses()
Number of invalid responses
public String get_noInvalidResponses()
throws Exception
Exceptionpublic Integer getDecimalPlaces()
Number of decimal places
public String get_decimalPlaces()
throws Exception
Exceptionpublic Integer getStartPos()
Start position of variable in data file
public String get_startPos()
throws Exception
Exceptionpublic String getName()
Name of variable
public String get_name()
throws Exception
Exceptionpublic Double getMax()
public String get_max()
throws Exception
Exceptionpublic Double getMean()
public String get_mean()
throws Exception
Exceptionpublic Double getMedian()
public String get_median()
throws Exception
Exceptionpublic Double getMin()
public String get_min()
throws Exception
Exceptionpublic Double getMode()
public String get_mode()
throws Exception
Exceptionpublic Double getStd()
public String get_std()
throws Exception
Exceptionpublic Double getValRangeMax()
Maximum value in range
public String get_valRangeMax()
throws Exception
Exceptionpublic Double getValRangeMin()
Minimum value in range
public String get_valRangeMin()
throws Exception
Exceptionpublic String getNotes()
Brief notes on variable
getNotes in class SimpleVariable
public String get_notes()
throws Exception
get_notes in class SimpleVariableExceptionpublic String getQuestionText()
Text of the actual, literal question asked.
getQuestionText in class SimpleVariable
public String get_questionText()
throws Exception
get_questionText in class SimpleVariableExceptionpublic String getNoResponses()
Total Number of Responses
public String get_noResponses()
throws Exception
Exceptionpublic String getInstructions()
Instructions to Interviewer
public String get_instructions()
throws Exception
Exceptionpublic String getUniverse()
Population for this variable
public String get_universe()
throws Exception
Exceptionpublic String getAdditivity()
public String get_additivity()
throws Exception
Exceptionpublic String getNature()
public String get_nature()
throws Exception
Exceptionpublic String getScale()
public String get_scale()
throws Exception
Exceptionpublic String getOrigin()
public String get_origin()
throws Exception
Exceptionpublic String getGeogr()
public String get_geogr()
throws Exception
Exceptionpublic String getMissingValues()
List of missing/invalid values
public String get_missingValues()
throws Exception
Exceptionpublic String getIntervl()
discrete/continuous
public String get_intervl()
throws Exception
Exceptionpublic String getFormat()
eg Float, Integer
public String get_format()
throws Exception
Exceptionpublic String getFormatSchema()
eg SPSS, SAS
public String get_formatSchema()
throws Exception
Exceptionpublic String getVarID()
Position of variable in dataset (local ID)
public String get_varID()
throws Exception
Exceptionpublic String getSource()
Source for this variable
public String get_source()
throws Exception
Exceptionpublic Integer getNoValidResponses()
Number of Valid Responses
public String get_noValidResponses()
throws Exception
Exceptionpublic Double getMeanValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
public String get_meanValue()
throws Exception
Exceptionpublic Double getMaxValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
public String get_maxValue()
throws Exception
Exceptionpublic Double getModeValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
public String get_modeValue()
throws Exception
Exceptionpublic Double getMedianValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
public String get_medianValue()
throws Exception
Exceptionpublic Double getMinValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
public String get_minValue()
throws Exception
Exceptionpublic Double getStdValue()
Statistical measures which describe the responses to a particular variable and may include one or more standard summaries
public String get_stdValue()
throws Exception
Exceptionpublic Integer getPosition()
Represents the ordinal position of a variable in the ddi xml. Starts from position 1.
public String get_position()
throws Exception
Exceptionpublic String getPreQuestionText()
Text describing a set of conditions under which a question might be asked.
public String get_preQuestionText()
throws Exception
Exceptionpublic String getPostQuestionText()
Text describing what occurs after the literal question has been asked.
public String get_postQuestionText()
throws Exception
Exceptionpublic String getInterviewerInstr()
Specific instructions to the individual conducting an interview.
public String get_interviewerInstr()
throws Exception
Exceptionpublic String[] getConcept()
List of Concepts. The general subject to which this variable may be seen as pertaining.
getConcept in class SimpleVariablepublic String getConceptAsString()
getConceptAsString in class SimpleVariable
public String get_concept()
throws Exception
get_concept in class SimpleVariableExceptionpublic String getExpression()
If this variable is derived from other variables this field contains the expression used to calculate the variable.
public String get_expression()
throws Exception
Exceptionpublic static FeatureDescriptor getDescriptor(String featureName)
featureName - public static Collection getPartsDescriptor()
public static Collection getGetterMethods()
public static SimpleVariable newInstance(RDFDB db)
throws Exception
db - the db where the object is to be found or created
Exceptionpublic static void listenForNewObj(NewObjListener listener)
listener - the listenerpublic void initialised()
initialised in class SimpleVariable
public static SimpleVariable retrieve(URL id)
throws Exception
id - the id of the object to retrieve
Exceptionpublic void clear()
RDFObject
clear in class SimpleVariable
public Bookmark Remove()
throws Exception
Remove this derived variable.
if - the variable is not derived or if there are other derived
variables that depend on it.
Exception
public void Remove(BasicExecutorLog log)
throws Exception
Remove this derived variable.
log - the Executor of this method;if null a default one is used
if - the variable is not derived or if there are other derived
variables that depend on it.
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||