|
Predictions 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Object Enum<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 are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
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 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 name
NullPointerException
- if the argument is nullpublic 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.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |