|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.annotation.rework.ontology.classes.OntologyObjects.OntologyIndividual
de.unidu.is.annotation.rework.ontology.classes.OntologyObjects.DocumentIndividual
DocumentIndividual.java Represents an document individual in a Jena OntModel
| Field Summary | |
static java.lang.String |
DOCUMENT_CLASS
Name of the ontology class for documents |
java.lang.String |
DOCUMENT_SUFFIX
Document suffix |
static java.lang.String |
TEXT_PROPERTY
Name of the ontology property, which stores the text of a document |
| Fields inherited from class de.unidu.is.annotation.rework.ontology.classes.OntologyObjects.OntologyIndividual |
ANNOTATIONS_PROPERTY, LINK_PROPERTY, NAMESPACE, ontIndividual, ontModel, TYPE_URI |
| Constructor Summary | |
DocumentIndividual()
|
|
| Method Summary | |
void |
create(com.hp.hpl.jena.ontology.OntModel model,
java.lang.String individualUri)
Creates a new instance |
void |
createClone(com.hp.hpl.jena.ontology.OntModel model,
DocumentIndividual documentIndividual)
Creates a new document with the same properties as the specified individual |
java.lang.String |
getText()
Returns the text of the document |
void |
setText(java.lang.String text)
Sets the text of the document |
| Methods inherited from class de.unidu.is.annotation.rework.ontology.classes.OntologyObjects.OntologyIndividual |
addPropertyValue, addTypeValue, clearProperties, create, createClassClone, createClone, getIndividualName, getLocalName, getProperty, getPropertyValue, getPropertyValues, getTypes, getUri, init, isExisting, load, remove, takeProperties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DOCUMENT_CLASS
public static final java.lang.String TEXT_PROPERTY
public final java.lang.String DOCUMENT_SUFFIX
| Constructor Detail |
public DocumentIndividual()
| Method Detail |
public void create(com.hp.hpl.jena.ontology.OntModel model,
java.lang.String individualUri)
create in class OntologyIndividualmodel - ModelindividualUri - URI of the new individual
public void createClone(com.hp.hpl.jena.ontology.OntModel model,
DocumentIndividual documentIndividual)
model - ModeldocumentIndividual - Document individual to copypublic void setText(java.lang.String text)
text - Text of the documentpublic java.lang.String getText()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||