|
Predictions 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
ObjectEnum<CodeTable>
hirondelle.predict.main.codes.CodeTable
public enum CodeTable
All code tables used in this application. (This implementation has only a single code table, but most applications will have many code tables.)
See package summary for important information.
| Enum Constant Summary | |
|---|---|
OUTCOMES
End outcome of a prediction. |
|
| Method Summary | |
|---|---|
static Code |
codeFor(Id aCodeId,
CodeTable aCodeTable)
Return a fully populated Code, given its Id and CodeTable. |
Id |
getTableName()
Return the name of the code table. |
Boolean |
hasExplicitOrderColumn()
Return true only if this code table has an explicit ordering. |
static CodeTable |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CodeTable[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CodeTable OUTCOMES
getTableName() returns: 'outcome'.
A score out of 100 is attached to each outcome :
| Method Detail |
|---|
public static final CodeTable[] values()
for(CodeTable c : CodeTable.values())
System.out.println(c);
public static CodeTable valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic Id getTableName()
List<Code> placed in application scope.
public Boolean hasExplicitOrderColumn()
public static Code codeFor(Id aCodeId,
CodeTable aCodeTable)
Code, given its Id and CodeTable.
Called from Model Object constructors that wish to translate a
simple Id for a known code table into a fully populated Code, complete
with user-presentable text. See CodeTableUtil for more information.
|
Predictions 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||