|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.inference.OntologyComment
public class OntologyComment
Represents content to be added to the definition of a property or class as a comment, i.e. javadoc. The methods in this class provide mappings of name-value pairs in various categories DC, RDFS, etc...
| Constructor Summary | |
|---|---|
OntologyComment(INamedGraph ontGraph,
org.openrdf.model.Resource commentedResource)
Create a new comment with the given resource |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getAuthors()
Get this comment's authors info |
java.lang.String |
getDCProperty(java.lang.String name)
Get a specific DC property |
java.lang.String |
getLabel()
Get this comment's label |
java.lang.String |
getRDFSProperty(java.lang.String name)
Get the value for this property |
java.lang.String |
getVersionInfo()
Get this comment's version info |
java.lang.String[] |
listDCPropertyNames()
Get the DC property names |
java.lang.String[] |
listRDFSPropertyNames()
Get the set of properties for this comment |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OntologyComment(INamedGraph ontGraph,
org.openrdf.model.Resource commentedResource)
ontGraph - source of ontology datacommentedResource - the resource of the property or class being commented| Method Detail |
|---|
public java.lang.String getLabel()
public java.lang.String getVersionInfo()
public java.util.List<java.lang.String> getAuthors()
public java.lang.String[] listRDFSPropertyNames()
public java.lang.String getRDFSProperty(java.lang.String name)
name - name of property to get
public java.lang.String[] listDCPropertyNames()
public java.lang.String getDCProperty(java.lang.String name)
name - name of DC property go get
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||