|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.uzh.ifi.attempto.acewiki.core.ontology.Statement
public abstract class Statement
This class represents a statement that can be either an ACE sentence or a comment. A statement can either have an ontology element as its owner (in this case it occurs on the article of the owner) or it can be an independent statement that has no owner.
Constructor Summary | |
---|---|
protected |
Statement(Ontology ontology)
Initializes a new independent statement. |
protected |
Statement(OntologyElement owner)
Initializes a new statement with the given ontology element as its owner. |
Method Summary | |
---|---|
Ontology |
getOntology()
This method returns the ontology this statement belongs to. |
OntologyElement |
getOwner()
This method returns the owner ontology element of this statement. |
abstract java.lang.String |
getText()
This method returns the text of this statement. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Statement(Ontology ontology)
ontology
- The ontology of the new statement.protected Statement(OntologyElement owner)
owner
- The ontology element that is the owner of the new statement.Method Detail |
---|
public Ontology getOntology()
public OntologyElement getOwner()
public abstract java.lang.String getText()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |