|
|||||||||
| 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
nesstar.api.faster.Variable2
public class Variable2
| 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 | |
|---|---|
Variable2(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_endPos()
|
String |
get_extNotesRole()
|
String |
get_extNotesTitle()
|
String |
get_extNotesURI()
|
String |
get_numCats()
|
String |
get_syntax()
|
String |
get_width()
|
static Vector |
getAllInstances()
|
static Vector |
getAllInstances(RDFDB db)
|
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 |
Integer |
getEndPos()
End position of variable in data file |
String |
getExtNotesRole()
Role of external link containing variable notes |
String[] |
getExtNotesTitle()
Title of external link containing variable notes |
String |
getExtNotesTitleAsString()
|
String[] |
getExtNotesURI()
An external link containing variable notes |
String |
getExtNotesURIAsString()
|
static Collection |
getGetterMethods()
|
static SimpleVariable |
getInstance(RDFDB db,
URL id)
If an object of type Variable2 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)
|
Integer |
getNumCats()
Number of category statistics belonging to this variable |
static Collection |
getPartsDescriptor()
|
String |
getSyntax()
Represents the sintax used for defining the expression |
Integer |
getWidth()
Width of variable in data file |
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 |
static SimpleVariable |
retrieve(URL id)
If an object of type Variable2 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_endPos(String endPos)
|
void |
set_extNotesRole(String extNotesRole)
|
void |
set_extNotesTitle(String extNotesTitle)
|
void |
set_extNotesURI(String extNotesURI)
|
void |
set_numCats(String numCats)
|
void |
set_syntax(String syntax)
|
void |
set_width(String width)
|
void |
setEndPos(Integer endPos)
End position of variable in data file |
void |
setExtNotesRole(String extNotesRole)
Role of external link containing variable notes |
void |
setExtNotesTitle(String[] extNotesTitle)
Title of external link containing variable notes |
void |
setExtNotesURI(String[] extNotesURI)
An external link containing variable notes |
void |
setNumCats(Integer numCats)
Number of category statistics belonging to this variable |
void |
setSyntax(String syntax)
Represents the sintax used for defining the expression |
void |
setWidth(Integer width)
Width of variable in data file |
| 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 Variable2(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 setEndPos(Integer endPos)
End position of variable in data file
endPos - public void set_endPos(String endPos)
endPos - public void setWidth(Integer width)
Width of variable in data file
width - public void set_width(String width)
width - public void setSyntax(String syntax)
Represents the sintax used for defining the expression
syntax - public void set_syntax(String syntax)
syntax - public void setNumCats(Integer numCats)
Number of category statistics belonging to this variable
numCats - public void set_numCats(String numCats)
numCats - public void setExtNotesURI(String[] extNotesURI)
An external link containing variable notes
extNotesURI - public void set_extNotesURI(String extNotesURI)
extNotesURI - public void setExtNotesTitle(String[] extNotesTitle)
Title of external link containing variable notes
extNotesTitle - public void set_extNotesTitle(String extNotesTitle)
extNotesTitle - public void setExtNotesRole(String extNotesRole)
Role of external link containing variable notes
extNotesRole - public void set_extNotesRole(String extNotesRole)
extNotesRole -
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
Exceptionpublic Integer getEndPos()
End position of variable in data file
public String get_endPos()
throws Exception
Exceptionpublic Integer getWidth()
Width of variable in data file
public String get_width()
throws Exception
Exceptionpublic String getSyntax()
Represents the sintax used for defining the expression
public String get_syntax()
throws Exception
Exceptionpublic Integer getNumCats()
Number of category statistics belonging to this variable
public String get_numCats()
throws Exception
Exceptionpublic String[] getExtNotesURI()
An external link containing variable notes
public String getExtNotesURIAsString()
public String get_extNotesURI()
throws Exception
Exceptionpublic String[] getExtNotesTitle()
Title of external link containing variable notes
public String getExtNotesTitleAsString()
public String get_extNotesTitle()
throws Exception
Exceptionpublic String getExtNotesRole()
Role of external link containing variable notes
public String get_extNotesRole()
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 Variable
public static SimpleVariable retrieve(URL id)
throws Exception
id - the id of the object to retrieve
Exceptionpublic void clear()
RDFObject
clear in class Variable
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||