|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.common.ontology.SrampOntology.Class
public static class SrampOntology.Class
Models a single class in an s-ramp ontology.
| Constructor Summary | |
|---|---|
SrampOntology.Class()
Constructor. |
|
| Method Summary | |
|---|---|
SrampOntology.Class |
findClass(String id)
Recursively finds a class matching the given ID. |
SrampOntology.Class |
findClass(URI uri)
Recursively finds a class matching the given URI. |
List<SrampOntology.Class> |
getChildren()
|
String |
getComment()
|
String |
getId()
|
String |
getLabel()
|
SrampOntology.Class |
getParent()
|
URI |
getUri()
|
Set<URI> |
normalize()
Normalize the hierarchy into a list of URIs. |
void |
setChildren(List<SrampOntology.Class> children)
|
void |
setComment(String comment)
|
void |
setId(String id)
|
void |
setLabel(String label)
|
void |
setParent(SrampOntology.Class parent)
|
void |
setUri(URI uri)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SrampOntology.Class()
| Method Detail |
|---|
public SrampOntology.Class findClass(String id)
id - public SrampOntology.Class findClass(URI uri)
uri - public String getLabel()
public void setLabel(String label)
label - the label to setpublic String getComment()
public void setComment(String comment)
comment - the comment to setpublic SrampOntology.Class getParent()
public void setParent(SrampOntology.Class parent)
parent - the parent to setpublic List<SrampOntology.Class> getChildren()
public void setChildren(List<SrampOntology.Class> children)
children - the children to setpublic URI getUri()
public void setUri(URI uri)
uri - the uri to setpublic Set<URI> normalize()
public String getId()
public void setId(String id)
id - the id to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||