public static enum DBWordNet.Table extends 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 Object[] |
attributes
Holds an alternating sequence of attribute name and attribute type
|
protected String |
file
Holds the file this table was loaded from
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getAttributes()
Returns an alternating sequence of attribute name (String)
and attribute type (from java.sql.Types)
|
String |
getFile()
Returns the filename this table was loaded from
|
void |
load(Database db,
File wordNetFolder)
Loads this table to a given database from a folder with the Prolog version of WordNet
|
static DBWordNet.Table |
valueOf(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 String file
protected Object[] attributes
public static DBWordNet.Table[] values()
for (DBWordNet.Table c : DBWordNet.Table.values()) System.out.println(c);
public static DBWordNet.Table valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Object[] getAttributes()
public String getFile()
public void load(Database db, File wordNetFolder) throws IOException, SQLException
IOExceptionSQLExceptionCopyright © 2018. All rights reserved.