public static enum DBWordNet.Table extends java.lang.Enum<DBWordNet.Table>
| Enum Constant and Description |
|---|
ANTONYMY |
ATTRIBUTE |
CAUSE |
CLASS |
ENTAILMENT |
FRAME |
GLOSSES |
HYPONYMY |
MEREONYMY_M |
MEREONYMY_P |
MEREONYMY_S |
MORPH |
PARTICIPLE |
PERTAIN |
SEEALSO |
SIMILARITY |
SYNSETS |
VERBROUP |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object[] |
attributes
Holds an alternating sequence of attribute name and attribute type
|
protected java.lang.String |
file
Holds the file this table was loaded from
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
protected java.lang.String file
protected java.lang.Object[] attributes
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 namejava.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.IOExceptionjava.sql.SQLException