|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LexiconChanger
This interface represents an object that knows how to create and change words in the form of ontology elements and how this should be presented to the user.
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description of the given word type to be shown to the user. |
java.util.List<LexiconDetail> |
getDetails(OntologyElement el)
Returns a list of lexical details for the given ontology element. |
void |
save(OntologyElement el,
int wordNumber,
java.util.List<java.lang.Object> newValues,
Ontology ontology)
Tries to save a modification on an ontology element. |
Method Detail |
---|
java.lang.String getDescription()
java.util.List<LexiconDetail> getDetails(OntologyElement el)
el
- The ontology element.
void save(OntologyElement el, int wordNumber, java.util.List<java.lang.Object> newValues, Ontology ontology) throws InvalidWordException
el
- The ontology element to be modified.wordNumber
- The word number to be used right after a successful modification.newValues
- The new values corresponding to the list of lexical details.ontology
- The ontology.
InvalidWordException
- If the modification is not possible.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |