|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.netobjects.Schema
public class Schema
represents the table definitions of the database restrictions for the sql definition file:
Field Summary | |
---|---|
static int |
BLOB
|
static int |
FIELD
|
static java.lang.String |
fileName
|
static int |
GENERATED
|
static int |
KEY
|
static int |
NUMBER
|
static int |
STRING
|
Constructor Summary | |
---|---|
Schema()
|
Method Summary | |
---|---|
static int |
convertType(java.lang.String type)
converts the sql column type into a netobject field type exists the application if an unknown column type is found. |
int |
count(java.lang.String line,
java.lang.String subject)
returns the count of subject in line count("abcbcde","c")==2 |
static void |
initialize(DBTableAdapter adapter)
initializes a DBTableAdapter fills the internal definition tables of the adapter with the values read from the sql definition |
static void |
main(java.lang.String[] args)
|
void |
parseSqlSource()
parses the sql file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String fileName
public static final int STRING
public static final int NUMBER
public static final int BLOB
public static final int GENERATED
public static final int KEY
public static final int FIELD
Constructor Detail |
---|
public Schema()
Method Detail |
---|
public static void initialize(DBTableAdapter adapter)
public static void main(java.lang.String[] args)
public static int convertType(java.lang.String type)
public int count(java.lang.String line, java.lang.String subject)
public void parseSqlSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |