gr.forth.ics.rdfsuite.swkm.model
Interface IRDF_Label

All Superinterfaces:
IRDF_Triple
All Known Implementing Classes:
RDF_Label

public interface IRDF_Label
extends IRDF_Triple


Method Summary
 IRDF_Literal getObject()
          Retrieves the label
 IRDF_Resource getSubject()
          Retrieves a resource
 void setObject(IRDF_Literal object)
          Sets a label
 void setSubject(IRDF_Resource subject)
          Sets a resource
 
Methods inherited from interface gr.forth.ics.rdfsuite.swkm.model.IRDF_Triple
addGraphspace, getGraphspace, getGraphspaces, getNamespace, getPredicate, isInferredTriple, setGraphspaces, setInferredTriple, setNamespace, setObject, setPredicate
 

Method Detail

getSubject

IRDF_Resource getSubject()
Retrieves a resource

Specified by:
getSubject in interface IRDF_Triple
Returns:
An IRDF_Resource object

setSubject

void setSubject(IRDF_Resource subject)
Sets a resource

Specified by:
setSubject in interface IRDF_Triple
Parameters:
subject - An IRDF_Resource object

getObject

IRDF_Literal getObject()
Retrieves the label

Specified by:
getObject in interface IRDF_Triple
Returns:
An IRDF_Resource or IRDF_Literal object

setObject

void setObject(IRDF_Literal object)
Sets a label

Parameters:
object - An IRDF_Literal