public class SrampOntology extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SrampOntology.SrampOntologyClass
Models a single class in an s-ramp ontology.
|
| Constructor and Description |
|---|
SrampOntology()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SrampOntology.SrampOntologyClass |
createClass(String id)
Creates a new class within this ontology.
|
SrampOntology.SrampOntologyClass |
findClass(String id)
Finds a class by its unique id within the ontology.
|
SrampOntology.SrampOntologyClass |
findClass(URI uri)
Finds a class by its unique URI.
|
List<SrampOntology.SrampOntologyClass> |
getAllClasses() |
String |
getBase() |
String |
getComment() |
String |
getCreatedBy() |
Date |
getCreatedOn() |
String |
getId() |
String |
getLabel() |
String |
getLastModifiedBy() |
Date |
getLastModifiedOn() |
List<SrampOntology.SrampOntologyClass> |
getRootClasses() |
String |
getUuid() |
void |
setBase(String base) |
void |
setComment(String comment) |
void |
setCreatedBy(String createdBy) |
void |
setCreatedOn(Date createdOn) |
void |
setId(String id) |
void |
setLabel(String label) |
void |
setLastModifiedBy(String lastModifiedBy) |
void |
setLastModifiedOn(Date lastModifiedOn) |
void |
setRootClasses(List<SrampOntology.SrampOntologyClass> rootClasses) |
void |
setUuid(String uuid) |
public String getUuid()
public void setUuid(String uuid)
uuid - the uuid to setpublic String getLabel()
public void setLabel(String label)
label - the label to setpublic String getComment()
public void setComment(String comment)
comment - the comment to setpublic String getBase()
public void setBase(String base)
base - the base to setpublic String getId()
public void setId(String id)
id - the id to setpublic List<SrampOntology.SrampOntologyClass> getRootClasses()
public List<SrampOntology.SrampOntologyClass> getAllClasses()
public void setRootClasses(List<SrampOntology.SrampOntologyClass> rootClasses)
rootClasses - the rootClasses to setpublic SrampOntology.SrampOntologyClass createClass(String id)
id - public SrampOntology.SrampOntologyClass findClass(String id)
id - public SrampOntology.SrampOntologyClass findClass(URI uri)
uri - public String getCreatedBy()
public void setCreatedBy(String createdBy)
createdBy - the createdBy to setpublic Date getCreatedOn()
public void setCreatedOn(Date createdOn)
createdOn - the createdOn to setpublic String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy - the lastModifiedBy to setpublic Date getLastModifiedOn()
public void setLastModifiedOn(Date lastModifiedOn)
lastModifiedOn - the lastModifiedOn to setCopyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.