nesstar.api.faster
Class SimpleVariable

java.lang.Object
  extended by java.util.Observable
      extended by nesstar.rdf.RDFObject
          extended by nesstar.api.faster.SimpleVariable
All Implemented Interfaces:
Comparable, RDFObj
Direct Known Subclasses:
Variable

public class SimpleVariable
extends RDFObject

a simple variable with a reduced set of property

Author:
mgerardi

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
SimpleVariable(RDFDB db, URL id)
           
 
Method Summary
 void clear()
          Clear all properties of this object
 String get_concept()
           
 String get_notes()
           
 String get_questionText()
           
 RDFRef get_section()
           
 RDFRef get_study()
           
static Vector getAllInstances()
           
static Vector getAllInstances(RDFDB db)
           
 String[] getConcept()
           
 String getConceptAsString()
           
static FeatureDescriptor getDescriptor(String featureName)
           
static Collection getGetterMethods()
           
static SimpleVariable getInstance(RDFDB db, URL id)
           
static SimpleVariable getInstance(String rdf)
           
 String getNotes()
           
static Collection getPartsDescriptor()
           
 String getQuestionText()
           
 Section getSection()
           
 Study getStudy()
           
 void initialised()
          Method
static void listenForNewObj(NewObjListener listener)
           
static SimpleVariable newInstance(RDFDB db)
           
static SimpleVariable retrieve(URL id)
           
 void set_concept(String concept)
           
 void set_notes(String notes)
           
 void set_questionText(String questionText)
           
 void set_section(RDFRef section)
           
 void set_study(RDFRef study)
           
 void set(RDFProperty rdfproperty, Object obj)
          Method
 void setConcept(String[] concept)
           List of Concepts.
 void setNotes(String notes)
           
 void setQuestionText(String questionText)
           
 void setSection(Section section)
           
 void setStudy(Study study)
           
 
Methods inherited from class nesstar.rdf.RDFObject
AddProperty, AddStringProperty, chkFinal, compareTo, dbg, equals, err, err, get_comment, get_creationDate, get_label, get, getAccessCondition, getBinding, getBindings, getBookmarkLabel, getCollectionURL, getComment, getCreationDate, getDB, getDescriptor, getDomain, getID, getInitialisedProperties, getInternalID, getLabel, getLastClear, getPartsDescriptor, getPartsDescriptor, getPath, getProperties, GetProperties, GetProperty, GetPropertyStatement, GetPropertyStatements, getRange, getRangeType, getRef, getRef, getServer, getShortId, getShortID, getStatementHome, GetStringProperties, GetStringProperty, getTimeoutInSecs, getType, init, init, isComplete, isLocal, isMeta, isStale, loaded, neededCollectionReload, neededReload, neededReload, neededReload, neededReload, needsReload, reload, remove, set_comment, set_complete, set_creationDate, set_label, setComment, setComplete, setCreationDate, setDB, setHardOrSoft, setID, setLabel, setLastClear, SetProperty, setServer, SetStringProperty, setTimeoutInSecs, setTimestamp, setType, setTypeID, stale, toRDF, toRDFWrapped, toString, update
 
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

CLASS_ID

public static String CLASS_ID
Constructor Detail

SimpleVariable

public SimpleVariable(RDFDB db,
                      URL id)
               throws Exception
Throws:
Exception
Method Detail

getAllInstances

public static Vector getAllInstances(RDFDB db)
                              throws Exception
Throws:
Exception

getAllInstances

public static Vector getAllInstances()
                              throws Exception
Throws:
Exception

getInstance

public static SimpleVariable getInstance(RDFDB db,
                                         URL id)
                                  throws Exception
Throws:
Exception

getInstance

public static SimpleVariable getInstance(String rdf)
                                  throws Exception
Throws:
Exception

getDescriptor

public static FeatureDescriptor getDescriptor(String featureName)

getPartsDescriptor

public static Collection getPartsDescriptor()

getGetterMethods

public static Collection getGetterMethods()

newInstance

public static SimpleVariable newInstance(RDFDB db)
                                  throws Exception
Throws:
Exception

listenForNewObj

public static void listenForNewObj(NewObjListener listener)

initialised

public void initialised()
Description copied from class: RDFObject
Method

Overrides:
initialised in class RDFObject

retrieve

public static SimpleVariable retrieve(URL id)
                               throws Exception
Throws:
Exception

clear

public void clear()
Description copied from class: RDFObject
Clear all properties of this object

Overrides:
clear in class RDFObject

set_section

public void set_section(RDFRef section)

setSection

public void setSection(Section section)
                throws Exception
Throws:
Exception

get_section

public RDFRef get_section()
                   throws Exception
Throws:
Exception

getSection

public Section getSection()

set_study

public void set_study(RDFRef study)

setStudy

public void setStudy(Study study)
              throws Exception
Throws:
Exception

get_study

public RDFRef get_study()
                 throws Exception
Throws:
Exception

getStudy

public Study getStudy()

setConcept

public void setConcept(String[] concept)

List of Concepts. The general subject to which this variable may be seen as pertaining.

Parameters:
concept -
This property stores the contents of the DDI field:
<codeBook><dataDscr><var><concept>

set_concept

public void set_concept(String concept)

getConcept

public String[] getConcept()

getConceptAsString

public String getConceptAsString()

get_concept

public String get_concept()
                   throws Exception
Throws:
Exception

setNotes

public void setNotes(String notes)

set_notes

public void set_notes(String notes)

getNotes

public String getNotes()

get_notes

public String get_notes()
                 throws Exception
Throws:
Exception

setQuestionText

public void setQuestionText(String questionText)

set_questionText

public void set_questionText(String questionText)

getQuestionText

public String getQuestionText()

get_questionText

public String get_questionText()
                        throws Exception
Throws:
Exception

set

public void set(RDFProperty rdfproperty,
                Object obj)
Description copied from class: RDFObject
Method

Specified by:
set in interface RDFObj
Overrides:
set in class RDFObject

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved