vooga.engine.resource
Class Column
java.lang.Object
vooga.engine.resource.Column
public class Column
- extends java.lang.Object
This is a class representing a column of an SQLite table
Field Summary |
static java.lang.String |
BOOLEAN
|
static java.lang.String |
INT
|
static java.lang.String |
NONE
|
static java.lang.String |
REAL
|
static java.lang.String |
TEXT
|
Constructor Summary |
Column(java.lang.String name,
java.lang.String type,
java.lang.String... args)
Constructs a Column with the indicated name, type, and arguments (e.g., PRIMARY KEY) |
Method Summary |
java.lang.String |
getDeclaration()
Generates the approprate declaration for the column |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INT
public static final java.lang.String INT
- See Also:
- Constant Field Values
NONE
public static final java.lang.String NONE
- See Also:
- Constant Field Values
BOOLEAN
public static final java.lang.String BOOLEAN
- See Also:
- Constant Field Values
REAL
public static final java.lang.String REAL
- See Also:
- Constant Field Values
TEXT
public static final java.lang.String TEXT
- See Also:
- Constant Field Values
Column
public Column(java.lang.String name,
java.lang.String type,
java.lang.String... args)
- Constructs a Column with the indicated name, type, and arguments (e.g., PRIMARY KEY)
getDeclaration
public java.lang.String getDeclaration()
- Generates the approprate declaration for the column