|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.dspl.schema.DataSet
public class DataSet
A DSPL specification describes a dataset. A dataset is identified by its namespace. A dataset is comprised of the following elements: - Tables: Data for the concepts and slices defined in the dataset - Concepts: User-specified definitions and structures used in the dataset - Slices: Combinations of dimensions and metrics present in the dataset - Topics: Hierarchical labels used to organise the concepts of the dataset
Java class for dspl element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="dspl"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="import" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> </restriction> </complexContent> </complexType> </element> <element name="info" type="{http://schemas.google.com/dspl/2010}Info"/> <element name="provider" type="{http://schemas.google.com/dspl/2010}Info"/> <element name="attribute" type="{http://schemas.google.com/dspl/2010}Attribute" maxOccurs="unbounded" minOccurs="0"/> <element name="topics" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="topic" type="{http://schemas.google.com/dspl/2010}Topic" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="concepts" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="concept" type="{http://schemas.google.com/dspl/2010}Concept" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="slices" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="slice" type="{http://schemas.google.com/dspl/2010}Slice" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="tables" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="table" type="{http://schemas.google.com/dspl/2010}Table" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType> </element>
Nested Class Summary | |
---|---|
static class |
DataSet.Concepts
Java class for anonymous complex type. |
static class |
DataSet.Import
Java class for anonymous complex type. |
static class |
DataSet.Slices
Java class for anonymous complex type. |
static class |
DataSet.Tables
Java class for anonymous complex type. |
static class |
DataSet.Topics
Java class for anonymous complex type. |
Constructor Summary | |
---|---|
DataSet()
|
Method Summary | |
---|---|
java.util.List<Attribute> |
getAttribute()
Gets the value of the attribute property. |
Concept |
getConcept(javax.xml.namespace.QName ref)
|
Concept |
getConcept(java.lang.String localId)
|
Concept |
getConcept(java.lang.String namespace,
java.lang.String local)
|
DataSet.Concepts |
getConcepts()
Gets the value of the concepts property. |
DataSet |
getDataSet(DataSet.Import imp)
|
java.io.File |
getFile()
|
java.util.List<DataSet.Import> |
getImport()
Gets the value of the import property. |
Info |
getInfo()
Gets the value of the info property. |
DsplParser |
getParser()
|
Info |
getProvider()
Gets the value of the provider property. |
DataSet.Slices |
getSlices()
Gets the value of the slices property. |
DataSet.Tables |
getTables()
Gets the value of the tables property. |
java.lang.String |
getTargetNamespace()
Gets the value of the targetNamespace property. |
DataSet.Topics |
getTopics()
Gets the value of the topics property. |
void |
setConcepts(DataSet.Concepts value)
Sets the value of the concepts property. |
void |
setFile(java.io.File file)
|
void |
setInfo(Info value)
Sets the value of the info property. |
void |
setParser(DsplParser parser)
|
void |
setProvider(Info value)
Sets the value of the provider property. |
void |
setSlices(DataSet.Slices value)
Sets the value of the slices property. |
void |
setTables(DataSet.Tables value)
Sets the value of the tables property. |
void |
setTargetNamespace(java.lang.String value)
Sets the value of the targetNamespace property. |
void |
setTopics(DataSet.Topics value)
Sets the value of the topics property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSet()
Method Detail |
---|
public java.util.List<DataSet.Import> getImport()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the import property.
For example, to add a new item, do as follows:
getImport().add(newItem);
Objects of the following type(s) are allowed in the list
DataSet.Import
public Info getInfo()
Info
public void setInfo(Info value)
value
- allowed object is
Info
public Info getProvider()
Info
public void setProvider(Info value)
value
- allowed object is
Info
public java.util.List<Attribute> getAttribute()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the attribute property.
For example, to add a new item, do as follows:
getAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute
public DataSet.Topics getTopics()
DataSet.Topics
public void setTopics(DataSet.Topics value)
value
- allowed object is
DataSet.Topics
public DataSet.Concepts getConcepts()
DataSet.Concepts
public void setConcepts(DataSet.Concepts value)
value
- allowed object is
DataSet.Concepts
public DataSet.Slices getSlices()
DataSet.Slices
public void setSlices(DataSet.Slices value)
value
- allowed object is
DataSet.Slices
public DataSet.Tables getTables()
DataSet.Tables
public void setTables(DataSet.Tables value)
value
- allowed object is
DataSet.Tables
public java.lang.String getTargetNamespace()
String
public void setTargetNamespace(java.lang.String value)
value
- allowed object is
String
public java.io.File getFile()
public void setFile(java.io.File file)
public DsplParser getParser()
public void setParser(DsplParser parser)
public Concept getConcept(java.lang.String namespace, java.lang.String local) throws javax.xml.bind.JAXBException, java.io.IOException, DsplException
javax.xml.bind.JAXBException
java.io.IOException
DsplException
public Concept getConcept(java.lang.String localId) throws javax.xml.bind.JAXBException, java.io.IOException, DsplException
javax.xml.bind.JAXBException
java.io.IOException
DsplException
public Concept getConcept(javax.xml.namespace.QName ref) throws javax.xml.bind.JAXBException, java.io.IOException, DsplException
javax.xml.bind.JAXBException
java.io.IOException
DsplException
public DataSet getDataSet(DataSet.Import imp) throws javax.xml.bind.JAXBException, java.io.IOException, DsplException
javax.xml.bind.JAXBException
java.io.IOException
DsplException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |