1 | |
package org.paneris.jammyjoes.model; |
2 | |
|
3 | |
import java.util.Enumeration; |
4 | |
|
5 | |
import org.melati.poem.Column; |
6 | |
import org.melati.poem.Database; |
7 | |
import org.melati.poem.DefinitionSource; |
8 | |
import org.melati.poem.PoemException; |
9 | |
import org.melati.poem.util.ArrayEnumeration; |
10 | |
import org.paneris.jammyjoes.model.generated.UserTableBase; |
11 | |
|
12 | |
public class UserTable extends UserTableBase { |
13 | |
|
14 | |
public UserTable( |
15 | |
Database database, String name, |
16 | |
DefinitionSource definitionSource) throws PoemException { |
17 | 0 | super(database, name, definitionSource); |
18 | 0 | } |
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
public Enumeration getUserDetailsColumns() { |
25 | 0 | Column[] cols = {getNameColumn(), |
26 | |
getEmailColumn(), |
27 | |
getPasswordColumn(), |
28 | |
getAddressColumn(), |
29 | |
getTownColumn(), |
30 | |
getPostcodeColumn(), |
31 | |
getCountryColumn(), |
32 | |
getTelColumn()}; |
33 | 0 | return new ArrayEnumeration(cols); |
34 | |
} |
35 | |
} |