|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NAttribute
NAttribute describes an attribute along with its valid values if it is enumerated.
| Field Summary | |
|---|---|
static int |
ENUMERATED_ATTRIBUTE
|
static int |
NUMBER_ATTRIBUTE
|
static int |
STRING_ATTRIBUTE
|
| Method Summary | |
|---|---|
java.util.List |
getEnumeratedValues()
Find the possible stringvalues for this attribute - returns a List of Strings |
java.lang.String |
getName()
returns the name of the attribute |
int |
getType()
returns one of STRING_ATTRIBUTE, NUMBER_ATTRIBUTE or ENUMERATED_ATTRIBUTE. |
boolean |
isSerialized()
returns true if the attribute should be serialized |
void |
setSerialized(boolean bool)
set whether this attribute will be serialized if the corpus is saved. |
| Field Detail |
|---|
static final int STRING_ATTRIBUTE
static final int NUMBER_ATTRIBUTE
static final int ENUMERATED_ATTRIBUTE
| Method Detail |
|---|
java.lang.String getName()
int getType()
java.util.List getEnumeratedValues()
boolean isSerialized()
void setSerialized(boolean bool)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||