|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource
gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Individual
public class RDF_Individual
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
|
| Fields inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource |
|---|
column, comments, isDefinedBys, labels, line, local_name, namespace, seeAlsos, types, uri |
| Constructor Summary | |
|---|---|
RDF_Individual(java.lang.String uri,
IRDF_Model model)
|
|
| Method Summary | |
|---|---|
java.util.Collection<IRDF_Resource> |
getAllTypes(IRDF_Model model)
This dummy method is overriden by methods in subclasses(RDF_Class,RDF_Property e.t.c) Parameter RDF_Model is needed in order for the types to be retrieved from the model |
java.util.Collection<IRDF_Literal> |
getComments()
Retrieves all the Comments defined for this RDF_Resource |
java.util.Collection<IRDF_Comment> |
getCommentsTriples()
Retrieves all the RDF_Comment triples defined for this RDF_Resource |
java.util.Collection<IRDF_Resource> |
getIsDefinedBys()
Retrieves all the isDefinedBys defined for this RDF_Resource |
java.util.Collection<IRDF_IsDefinedBy> |
getIsDefinedBysTriples()
Retrieves all the RDF_IsDefinedBy triples defined for this RDF_Resource |
java.util.Collection<IRDF_Literal> |
getLabels()
Retrieves all the labels defined for this RDF_Resource |
java.util.Collection<IRDF_Label> |
getLabelsTriples()
Retrieves all the RDF_Label triples defined for this RDF_Resource |
java.util.Collection<IRDF_PropertyInstance> |
getObjectOf(IRDF_Model model,
java.lang.String URI)
This method retrieves a certain RDF_PropertyInstance,this ClassInstance is object of. |
org.apache.commons.collections.MultiMap |
getObjectOfs(IRDF_Model model)
This method retrieves the property instances this Class Instance is objectOf |
java.util.Collection<IRDF_Resource> |
getSeeAlsos()
Adds an label for this IRDF_Resource |
java.util.Collection<IRDF_SeeAlso> |
getSeeAlsosTriples()
Retrieves all the RDF_SeeAlso triples defined for this RDF_Resource |
java.util.Collection |
getSubjectOf(IRDF_Model model,
java.lang.String URI)
This method retrieves a certain RDF_PropertyInstance,this ClassInstance is subject of. |
org.apache.commons.collections.MultiMap |
getSubjectOfs(IRDF_Model model)
This method retrieves the property instances this Class Instance is subjectOf |
java.util.Collection<IRDF_Resource> |
getTypes()
Retrieves the types defined for this resource from the model (Depending to the resource its type may be a metaclass, a class or a property) |
java.util.Collection<IRDF_Type> |
getTypesTriples()
Retrieves the type triples defined for this resource from the model |
| Methods inherited from class gr.forth.ics.rdfsuite.swkm.model.impl.RDF_Resource |
|---|
getColumn, getLine, getLocalName, getNamespace, getNamespacePart, getURI, hasTypeOf, setColumn, setLine, setLocalName, setNamespace, setURI, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gr.forth.ics.rdfsuite.swkm.model.IRDF_Resource |
|---|
getColumn, getLine, getLocalName, getNamespace, getNamespacePart, getURI, hasTypeOf, setColumn, setLine, setLocalName, setNamespace, setURI, toString |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
| Constructor Detail |
|---|
public RDF_Individual(java.lang.String uri,
IRDF_Model model)
uri - namespace - | Method Detail |
|---|
public java.util.Collection<IRDF_PropertyInstance> getObjectOf(IRDF_Model model,
java.lang.String URI)
IRDF_Individual
getObjectOf in interface IRDF_IndividualURI - The URI of the property instance we want to retrieve
public org.apache.commons.collections.MultiMap getObjectOfs(IRDF_Model model)
IRDF_Individual
getObjectOfs in interface IRDF_Individual
public java.util.Collection getSubjectOf(IRDF_Model model,
java.lang.String URI)
IRDF_Individual
getSubjectOf in interface IRDF_IndividualURI - The URI of the property instance we want to retrieve
public org.apache.commons.collections.MultiMap getSubjectOfs(IRDF_Model model)
IRDF_Individual
getSubjectOfs in interface IRDF_Individualpublic java.util.Collection<IRDF_Resource> getAllTypes(IRDF_Model model)
RDF_Resource
getAllTypes in interface IRDF_ResourcegetAllTypes in class RDF_Resourcepublic java.util.Collection<IRDF_Resource> getTypes()
IRDF_Resource
getTypes in interface IRDF_ResourcegetTypes in class RDF_Resourcepublic java.util.Collection<IRDF_Type> getTypesTriples()
IRDF_Resource
getTypesTriples in interface IRDF_ResourcegetTypesTriples in class RDF_Resourcepublic java.util.Collection<IRDF_Literal> getComments()
IRDF_Resource
getComments in interface IRDF_ResourcegetComments in class RDF_Resourcepublic java.util.Collection<IRDF_Comment> getCommentsTriples()
IRDF_Resource
getCommentsTriples in interface IRDF_ResourcegetCommentsTriples in class RDF_Resourcepublic java.util.Collection<IRDF_Resource> getIsDefinedBys()
IRDF_Resource
getIsDefinedBys in interface IRDF_ResourcegetIsDefinedBys in class RDF_Resourcepublic java.util.Collection<IRDF_IsDefinedBy> getIsDefinedBysTriples()
IRDF_Resource
getIsDefinedBysTriples in interface IRDF_ResourcegetIsDefinedBysTriples in class RDF_Resourcepublic java.util.Collection<IRDF_Literal> getLabels()
IRDF_Resource
getLabels in interface IRDF_ResourcegetLabels in class RDF_Resourcepublic java.util.Collection<IRDF_Label> getLabelsTriples()
IRDF_Resource
getLabelsTriples in interface IRDF_ResourcegetLabelsTriples in class RDF_Resourcepublic java.util.Collection<IRDF_Resource> getSeeAlsos()
IRDF_Resource
getSeeAlsos in interface IRDF_ResourcegetSeeAlsos in class RDF_Resourcepublic java.util.Collection<IRDF_SeeAlso> getSeeAlsosTriples()
IRDF_Resource
getSeeAlsosTriples in interface IRDF_ResourcegetSeeAlsosTriples in class RDF_Resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||