|
|||||||||
| 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.Dataset
nesstar.api.DatasetEx
public class DatasetEx
An extension of Dataset, adds a few convenience methods.
| if a statistical operation is bookmarked and then reapplied the client will get a dataset object that is not being retrieved from the server and that will not contain an indication of data present |
| Field Summary | |
|---|---|
static String |
CLASS_ID
param |
| Fields inherited from class nesstar.rdf.RDFObject |
|---|
COLSEP, IS_GETTER, IS_PART, IS_PART_OF, WRITE_OP |
| Constructor Summary | |
|---|---|
DatasetEx(RDFDB db,
URL id)
Create an object with the indicated id in the indicated db |
|
| Method Summary | |
|---|---|
static void |
dbg(String msg)
Method |
static DatasetEx |
getDataset(RDFDB db,
URL catalog,
String id)
|
static URL |
getDatasetURL(URL catalog,
String id)
|
String |
getDDI()
Gets the dDI attribute of the DatasetEx object |
static FeatureDescriptor |
getDescriptor(String featureName)
get the descriptor for a feature of the class, either method or attribute |
String |
getId()
|
static Dataset |
getInstance(RDFDB db,
URL id)
If an object of type Dataset with the indicated id exists in the db returns it otherwise create a new object in the db and returns it |
String |
getProvider()
|
String |
getProviderURL()
|
boolean |
hasData()
|
void |
setDDI(String fullDDI)
Sets the dDI attribute of the DatasetEx object |
| 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 DatasetEx(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 setDDI(String fullDDI)
fullDDI - The new dDI valuepublic static FeatureDescriptor getDescriptor(String featureName)
featureName -
public static Dataset 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 String getId()
throws Exception
Exceptionpublic String getProvider()
| for new servers returns the url of the server |
public String getProviderURL()
| for new servers returns the url of the server |
public static URL getDatasetURL(URL catalog,
String id)
throws Exception
catalog - the URL of the catalogid - the short ID of the dataset, ex: 7728
Exception
public static DatasetEx getDataset(RDFDB db,
URL catalog,
String id)
throws Exception
db - the DB where the dataset is stored or should be createdcatalog - the URL of the catalogid - the short ID of the dataset, ex: 7728
Exceptionpublic String getDDI()
public static void dbg(String msg)
msg - public boolean hasData()
| the value of the field is not updated if data is added (or removed). |
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||