public class DSStructure extends Object implements JSONWritable
| Modifier and Type | Field and Description |
|---|---|
protected List<DSAPIComponent> |
components |
protected String |
description |
protected com.hp.hpl.jena.rdf.model.Resource |
dsd |
protected String |
id |
protected String |
label |
| Constructor and Description |
|---|
DSStructure(com.hp.hpl.jena.rdf.model.Resource dsd,
DSAPI api)
Parse a data structure definition to find the structure of a dataset.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getComponentIndex(String id)
Return the index of a component (identified by ID) within the structure signature,
or -1 if the component is not recognized
|
List<DSAPIComponent> |
getComponents() |
String |
getDescription() |
com.hp.hpl.jena.rdf.model.Resource |
getDsd() |
String |
getId() |
String |
getLabel() |
void |
writeTo(JSFullWriter out) |
protected String id
protected com.hp.hpl.jena.rdf.model.Resource dsd
protected String label
protected String description
protected List<DSAPIComponent> components
public DSStructure(com.hp.hpl.jena.rdf.model.Resource dsd,
DSAPI api)
public List<DSAPIComponent> getComponents()
public String getId()
public com.hp.hpl.jena.rdf.model.Resource getDsd()
public String getLabel()
public String getDescription()
public int getComponentIndex(String id)
public void writeTo(JSFullWriter out)
writeTo in interface JSONWritableCopyright © 2014. All rights reserved.