|
|||||||||
| 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.OntologyElement
ch.uzh.ifi.attempto.acewiki.core.ontology.Role
ch.uzh.ifi.attempto.acewiki.core.ontology.OfRole
public class OfRole
This class stands for roles that are represented by of-constructs. Of-constructs consist of a noun plus the word "of". They have only one word form.
0: word form consisting of a noun plus the word "of".
Examples: "father of"; "part of".
| Constructor Summary | |
|---|---|
OfRole()
Creates a new role that is represented by an of-construct. |
|
| Method Summary | |
|---|---|
protected void |
changeWords(java.lang.String... words)
Changes the word forms without updating the ontology indexes. |
java.lang.String |
getInternalType()
Returns the word type as it is used internally. |
java.lang.String |
getNoun()
Returns the noun of the of-construct. |
java.lang.String |
getPrettyNoun()
Returns the pretty-printed noun of the of-construct. |
java.lang.String |
getType()
Returns the word type as it is shown to the user. |
java.lang.String[] |
getWords()
Returns the word forms. |
| Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.ontology.OntologyElement |
|---|
add, compareTo, edit, getHeadword, getIndexEntries, getOntology, getPrettyWord, getSentences, getURI, getURISuffix, getWord, getWord, log, registerAt, remove, setWords, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OfRole()
| Method Detail |
|---|
public java.lang.String[] getWords()
OntologyElement
getWords in class OntologyElementprotected void changeWords(java.lang.String... words)
OntologyElement
changeWords in class OntologyElementwords - The word forms.public java.lang.String getNoun()
public java.lang.String getPrettyNoun()
public java.lang.String getType()
OntologyElement
getType in class OntologyElementpublic java.lang.String getInternalType()
OntologyElement
getInternalType in class OntologyElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||