public class DSAPIComponent extends Object implements JSONWritable
| Modifier and Type | Class and Description |
|---|---|
static class |
DSAPIComponent.ComponentRole |
static class |
DSAPIComponent.RangeCategory |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
id |
protected boolean |
isMultiValued |
protected boolean |
isOptional |
protected String |
label |
protected Range |
range |
protected DSAPIComponent.RangeCategory |
rangeCategory |
protected String |
rangeURI |
protected DSAPIComponent.ComponentRole |
role |
protected com.hp.hpl.jena.rdf.model.Resource |
spec |
protected String |
varname |
| Constructor and Description |
|---|
DSAPIComponent(com.hp.hpl.jena.rdf.model.Resource spec,
DSAPI api) |
DSAPIComponent(com.hp.hpl.jena.rdf.model.Resource spec,
DSAPIComponent.ComponentRole role,
DSAPI api) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeRange(com.hp.hpl.jena.rdf.model.Resource spec,
DSAPI api) |
String |
asSPARQL() |
String |
getId() |
String |
getVarname() |
void |
setVarname(String varname) |
void |
writeTo(JSFullWriter out) |
protected com.hp.hpl.jena.rdf.model.Resource spec
protected String id
protected String label
protected String description
protected DSAPIComponent.ComponentRole role
protected DSAPIComponent.RangeCategory rangeCategory
protected String rangeURI
protected Range range
protected boolean isOptional
protected boolean isMultiValued
protected String varname
public DSAPIComponent(com.hp.hpl.jena.rdf.model.Resource spec,
DSAPI api)
public DSAPIComponent(com.hp.hpl.jena.rdf.model.Resource spec,
DSAPIComponent.ComponentRole role,
DSAPI api)
protected void analyzeRange(com.hp.hpl.jena.rdf.model.Resource spec,
DSAPI api)
public String getVarname()
public void setVarname(String varname)
public String getId()
public String asSPARQL()
public void writeTo(JSFullWriter out)
writeTo in interface JSONWritableCopyright © 2014. All rights reserved.