|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.uzh.ifi.attempto.acewiki.core.LexiconDetail
public class LexiconDetail
This class represents a detail of a lexical entry as shown to the user. For example, the plural form of a noun would be such a detail.
| Constructor Summary | |
|---|---|
LexiconDetail(java.lang.String name,
java.lang.Object value)
Creates a required lexical detail object without description. |
|
LexiconDetail(java.lang.String name,
java.lang.String description,
java.lang.Object value)
Creates a required lexical detail object. |
|
LexiconDetail(java.lang.String name,
java.lang.String description,
java.lang.Object value,
boolean required)
Creates a lexical detail object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the description of this lexical detail. |
java.lang.String |
getName()
Returns the name of this lexical detail. |
java.lang.Object |
getValue()
Returns the value of this lexical detail, either a String or a Boolean. |
boolean |
isRequired()
Returns whether this lexical detail is required or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LexiconDetail(java.lang.String name,
java.lang.String description,
java.lang.Object value,
boolean required)
name - The name of the detail as shown to the user.description - The description shown to the user.value - The value, either a String or a Boolean.required - Whether the detail is required or not.
public LexiconDetail(java.lang.String name,
java.lang.String description,
java.lang.Object value)
name - The name of the detail as shown to the user.description - The description shown to the user.value - The value, either a String or a Boolean.
public LexiconDetail(java.lang.String name,
java.lang.Object value)
name - The name of the detail as shown to the user.value - The value, either a String or a Boolean.| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.Object getValue()
public boolean isRequired()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||