public class ColumnDescription extends java.lang.Object implements java.lang.Comparable<ColumnDescription>
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN |
static java.lang.String[] |
categories |
static int |
DEPENDENCY_EDGE_LABEL |
static int |
HEAD |
static int |
IGNORE |
static int |
INPUT |
static int |
INTEGER |
static int |
PHRASE_STRUCTURE_EDGE_LABEL |
static int |
PHRASE_STRUCTURE_NODE_LABEL |
static int |
REAL |
static int |
SECONDARY_EDGE_LABEL |
static int |
STRING |
static java.lang.String[] |
types |
Constructor and Description |
---|
ColumnDescription(java.lang.String name,
int category,
int type,
java.lang.String defaultOutput,
java.lang.String nullValueStrategy,
boolean internal) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ColumnDescription that) |
boolean |
equals(java.lang.Object obj) |
int |
getCategory() |
static int |
getCategory(java.lang.String categoryName) |
java.lang.String |
getCategoryName() |
java.lang.String |
getDefaultOutput() |
java.lang.String |
getName() |
java.lang.String |
getNullValueStrategy() |
int |
getPosition() |
int |
getType() |
static int |
getType(java.lang.String typeName) |
java.lang.String |
getTypeName() |
int |
hashCode() |
boolean |
isInternal() |
java.lang.String |
toString() |
public static final int INPUT
public static final int HEAD
public static final int DEPENDENCY_EDGE_LABEL
public static final int PHRASE_STRUCTURE_EDGE_LABEL
public static final int PHRASE_STRUCTURE_NODE_LABEL
public static final int SECONDARY_EDGE_LABEL
public static final int IGNORE
public static final java.lang.String[] categories
public static final int STRING
public static final int INTEGER
public static final int BOOLEAN
public static final int REAL
public static final java.lang.String[] types
public ColumnDescription(java.lang.String name, int category, int type, java.lang.String defaultOutput, java.lang.String nullValueStrategy, boolean internal) throws MaltChainedException
MaltChainedException
public int getPosition()
public java.lang.String getName()
public java.lang.String getDefaultOutput()
public java.lang.String getNullValueStrategy()
public boolean isInternal()
public int getCategory()
public java.lang.String getCategoryName()
public int getType()
public java.lang.String getTypeName()
public int compareTo(ColumnDescription that)
compareTo
in interface java.lang.Comparable<ColumnDescription>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static int getCategory(java.lang.String categoryName)
public static int getType(java.lang.String typeName)
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.