-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema_structure.java
More file actions
32 lines (29 loc) · 836 Bytes
/
schema_structure.java
File metadata and controls
32 lines (29 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Structure of all classes
public class Verb {
String name,type;
}
public class Adjective{
String name;
int level;
int type;//general or specific
}
public class Prepositon{
}
public class Column{
String name,postag,type,vartype;
ArrayList<String> prefix = new ArrayList<String>();
ArrayList<String> postfix = new ArrayList<String>();
ArrayList<String> synonym = new ArrayList<String>();
ArrayList<Adjective> adjectives = new ArrayList<Adjective>();
ArrayList<Verb> verbs = new ArrayList<Verb>();
ArrayList<Preposition> prepositions = new ArrayList<Preposition>();
}
public class Table{
Column primary_key = new Column();
ArrayList<Column> columns = new ArrayList<Column>();
}
public class Schema{
ArrayList<Table> tables = new ArrayList<Table>();
// heirarchy
}