|
|||||||||
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.TrAdjRole
public class TrAdjRole
This class stands for roles that are represented by transitive adjectives. Transitive adjectives consist of an adjective plus a preposition that is connected to the adjective by a hyphen "-" or an underscore "_". Underscores are replaced by blanks in the case of pretty-printing. Transitive adjectives have just one word form.
0: word form consisting of an adjective plus a preposition.
Examples: "located-in"; "used_for".
Constructor Summary | |
---|---|
TrAdjRole()
Creates a new role that is represented by a transitive adjective. |
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 |
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, add, compareTo, edit, edit, getHeadword, getIndexEntries, getOntology, getPrettyWord, getSentences, getStatements, 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 TrAdjRole()
Method Detail |
---|
public java.lang.String[] getWords()
OntologyElement
getWords
in class OntologyElement
protected void changeWords(java.lang.String... words)
OntologyElement
changeWords
in class OntologyElement
words
- The word forms.public java.lang.String getType()
OntologyElement
getType
in class OntologyElement
public 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 |