se.sics.isl.db
Class DBField
java.lang.Object
se.sics.isl.db.DBField
- Direct Known Subclasses:
- FileDBField, SQLDBField
public abstract class DBField
- extends java.lang.Object
Constructor Summary |
protected |
DBField(java.lang.String name,
int type,
int size,
int flags,
java.lang.Object defaultValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTEGER
public static final int INTEGER
- See Also:
- Constant Field Values
LONG
public static final int LONG
- See Also:
- Constant Field Values
TIMESTAMP
public static final int TIMESTAMP
- See Also:
- Constant Field Values
DOUBLE
public static final int DOUBLE
- See Also:
- Constant Field Values
STRING
public static final int STRING
- See Also:
- Constant Field Values
BYTE
public static final int BYTE
- See Also:
- Constant Field Values
UNIQUE
public static final int UNIQUE
- See Also:
- Constant Field Values
AUTOINCREMENT
public static final int AUTOINCREMENT
- See Also:
- Constant Field Values
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
MAY_BE_NULL
public static final int MAY_BE_NULL
- See Also:
- Constant Field Values
PRIMARY
public static final int PRIMARY
- See Also:
- Constant Field Values
name
protected final java.lang.String name
type
protected final int type
size
protected final int size
flags
protected final int flags
defaultValue
protected final java.lang.Object defaultValue
DBField
protected DBField(java.lang.String name,
int type,
int size,
int flags,
java.lang.Object defaultValue)
getName
public java.lang.String getName()
getType
public int getType()
getSize
public int getSize()
getFlags
public int getFlags()
getDefaultValue
public java.lang.Object getDefaultValue()
isUnique
public boolean isUnique()
indexOf
public static int indexOf(DBField[] fields,
int start,
int end,
java.lang.String name)
Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.