|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DBWordNet.Table> javatools.database.DBWordNet.Table
public static enum DBWordNet.Table
One enum per SQL table
Enum Constant Summary | |
---|---|
ANTONYMY
|
|
ATTRIBUTE
|
|
CAUSE
|
|
CLASS
|
|
ENTAILMENT
|
|
FRAME
|
|
GLOSSES
|
|
HYPONYMY
|
|
MEREONYMY_M
|
|
MEREONYMY_P
|
|
MEREONYMY_S
|
|
MORPH
|
|
PARTICIPLE
|
|
PERTAIN
|
|
SEEALSO
|
|
SIMILARITY
|
|
SYNSETS
|
|
VERBROUP
|
Method Summary | |
---|---|
java.lang.Object[] |
getAttributes()
Returns an alternating sequence of attribute name (String) and attribute type (from java.sql.Types) |
java.lang.String |
getFile()
Returns the filename this table was loaded from |
void |
load(Database db,
java.io.File wordNetFolder)
Loads this table to a given database from a folder with the Prolog version of WordNet |
static DBWordNet.Table |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DBWordNet.Table[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DBWordNet.Table SYNSETS
public static final DBWordNet.Table GLOSSES
public static final DBWordNet.Table HYPONYMY
public static final DBWordNet.Table ENTAILMENT
public static final DBWordNet.Table SIMILARITY
public static final DBWordNet.Table MEREONYMY_M
public static final DBWordNet.Table MEREONYMY_S
public static final DBWordNet.Table MEREONYMY_P
public static final DBWordNet.Table MORPH
public static final DBWordNet.Table CLASS
public static final DBWordNet.Table ANTONYMY
public static final DBWordNet.Table SEEALSO
public static final DBWordNet.Table PARTICIPLE
public static final DBWordNet.Table PERTAIN
public static final DBWordNet.Table CAUSE
public static final DBWordNet.Table VERBROUP
public static final DBWordNet.Table ATTRIBUTE
public static final DBWordNet.Table FRAME
Method Detail |
---|
public static DBWordNet.Table[] values()
for (DBWordNet.Table c : DBWordNet.Table.values()) System.out.println(c);
public static DBWordNet.Table valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.Object[] getAttributes()
public java.lang.String getFile()
public void load(Database db, java.io.File wordNetFolder) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |