|
|||||||||
| 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.Cube
public class Cube
| 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 | |
|---|---|
Cube(RDFDB db,
URL id)
Create an object with the indicated id in the indicated db |
|
| Method Summary | |
|---|---|
Bookmark |
AddDataFile(File file,
String format)
|
void |
AddDataFile(File file,
String format,
BasicExecutorLog log)
|
void |
clear()
Clear all properties of this object |
String |
get_analysUnit()
|
RDFRef |
get_dimensions()
|
String |
get_embargo()
|
String |
get_fileLocation()
|
String |
get_hasData()
|
String |
get_imputation()
|
String |
get_location()
|
RDFRef |
get_measures()
|
String |
get_notes()
|
String |
get_respUnit()
|
String |
get_security()
|
RDFRef |
get_study()
|
String |
get_universe()
|
String |
get_version()
|
static Vector |
getAllInstances()
|
static Vector |
getAllInstances(RDFDB db)
|
String |
getAnalysUnit()
|
String |
getComment()
Returns a human readable comment/description of the object as an HTML string (it should contain only basic HTML markers). |
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 |
List |
getDimensions()
|
String |
getEmbargo()
|
String |
getFileLocation()
|
static Collection |
getGetterMethods()
|
Boolean |
getHasData()
Does this cube have data files?. |
String |
getImputation()
|
static Cube |
getInstance(RDFDB db,
URL id)
If an object of type Cube with the indicated id exists in the db returns it otherwise create a new object in the db and returns it |
static Cube |
getInstance(String rdf)
|
String |
getLocation()
|
List |
getMeasures()
|
String |
getNotes()
|
static Collection |
getPartsDescriptor()
|
String |
getRespUnit()
|
String |
getSecurity()
|
Study |
getStudy()
|
String |
getUniverse()
|
String |
getVersion()
|
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 Cube |
newInstance(RDFDB db)
Create a new object of this type with a locally unique id and returns it |
Bookmark |
Query(String mdx,
Boolean includeData,
Boolean includeMeta)
|
String |
Query(String mdx,
Boolean includeData,
Boolean includeMeta,
BasicExecutorLog log)
|
static Cube |
retrieve(URL id)
If an object of type Cube 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_analysUnit(String analysUnit)
|
void |
set_dimensions(RDFRef dimensions)
|
void |
set_embargo(String embargo)
|
void |
set_fileLocation(String fileLocation)
|
void |
set_hasData(String hasData)
|
void |
set_imputation(String imputation)
|
void |
set_location(String location)
|
void |
set_measures(RDFRef measures)
|
void |
set_notes(String notes)
|
void |
set_respUnit(String respUnit)
|
void |
set_security(String security)
|
void |
set_study(RDFRef study)
|
void |
set_universe(String universe)
|
void |
set_version(String version)
|
void |
setAnalysUnit(String analysUnit)
|
void |
setDimensions(List dimensions)
|
void |
setEmbargo(String embargo)
|
void |
setFileLocation(String fileLocation)
|
void |
setHasData(Boolean hasData)
Does this cube have data files?. |
void |
setImputation(String imputation)
|
void |
setLocation(String location)
|
void |
setMeasures(List measures)
|
void |
setNotes(String notes)
|
void |
setRespUnit(String respUnit)
|
void |
setSecurity(String security)
|
void |
setStudy(Study study)
|
void |
setUniverse(String universe)
|
void |
setVersion(String version)
|
| 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 Cube(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_study(RDFRef study)
study -
public void setStudy(Study study)
throws Exception
study -
Exceptionpublic void set_measures(RDFRef measures)
measures -
public void setMeasures(List measures)
throws Exception
measures -
Exceptionpublic void set_dimensions(RDFRef dimensions)
dimensions -
public void setDimensions(List dimensions)
throws Exception
dimensions -
Exceptionpublic void setFileLocation(String fileLocation)
fileLocation - public void set_fileLocation(String fileLocation)
fileLocation - public void setLocation(String location)
location - public void set_location(String location)
location - public void setImputation(String imputation)
imputation - public void set_imputation(String imputation)
imputation - public void setSecurity(String security)
security - public void set_security(String security)
security - public void setEmbargo(String embargo)
embargo - public void set_embargo(String embargo)
embargo - public void setUniverse(String universe)
universe - public void set_universe(String universe)
universe - public void setRespUnit(String respUnit)
respUnit - public void set_respUnit(String respUnit)
respUnit - public void setAnalysUnit(String analysUnit)
analysUnit - public void set_analysUnit(String analysUnit)
analysUnit - public void setNotes(String notes)
notes - public void set_notes(String notes)
notes - public void setVersion(String version)
version - public void set_version(String version)
version - public void setHasData(Boolean hasData)
Does this cube have data files?.
hasData - public void set_hasData(String hasData)
hasData -
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 Cube 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 Cube getInstance(String rdf)
throws Exception
rdf - some rdf code that contains a description of an object of this kind
Exception
public RDFRef get_study()
throws Exception
Exceptionpublic Study getStudy()
public RDFRef get_measures()
throws Exception
Exception
public List getMeasures()
throws Exception
Exception
public RDFRef get_dimensions()
throws Exception
Exception
public List getDimensions()
throws Exception
Exceptionpublic String getFileLocation()
public String get_fileLocation()
throws Exception
Exceptionpublic String getLocation()
public String get_location()
throws Exception
Exceptionpublic String getImputation()
public String get_imputation()
throws Exception
Exceptionpublic String getSecurity()
public String get_security()
throws Exception
Exceptionpublic String getEmbargo()
public String get_embargo()
throws Exception
Exceptionpublic String getUniverse()
public String get_universe()
throws Exception
Exceptionpublic String getRespUnit()
public String get_respUnit()
throws Exception
Exceptionpublic String getAnalysUnit()
public String get_analysUnit()
throws Exception
Exceptionpublic String getNotes()
public String get_notes()
throws Exception
Exceptionpublic String getVersion()
public String get_version()
throws Exception
Exceptionpublic Boolean getHasData()
Does this cube have data files?.
public String get_hasData()
throws Exception
Exceptionpublic String getComment()
RDFObject
getComment in class RDFObjectpublic static FeatureDescriptor getDescriptor(String featureName)
featureName - public static Collection getPartsDescriptor()
public static Collection getGetterMethods()
public static Cube 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 RDFObject
public static Cube retrieve(URL id)
throws Exception
id - the id of the object to retrieve
Exceptionpublic void clear()
RDFObject
clear in class RDFObject
public Bookmark Query(String mdx,
Boolean includeData,
Boolean includeMeta)
throws Exception
mdx - includeData - includeMeta -
Exception
public String Query(String mdx,
Boolean includeData,
Boolean includeMeta,
BasicExecutorLog log)
throws Exception
mdx - includeData - includeMeta - log - the Executor of this method;if null a default one is used
Exception
public Bookmark AddDataFile(File file,
String format)
throws Exception
file - format -
Exception
public void AddDataFile(File file,
String format,
BasicExecutorLog log)
throws Exception
file - format - log - the Executor of this method;if null a default one is used
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||