|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.PoemTypeFactory
public abstract class PoemTypeFactory
An object factory which produces PoemType
objects
given a Database
and a code.
See forCode(Database, int)
.
I'd just like you to know that I had to type this file in again after
deleting it. It's not even very nice is it?
Nested Class Summary | |
---|---|
static interface |
PoemTypeFactory.Parameter
A Parameter object which knows whether a PoemType
is nullable and its size. |
Field Summary | |
---|---|
static PoemTypeFactory |
BIGDECIMAL
BigDecimal base-type factory. |
static PoemTypeFactory |
BINARY
Binary base-type factory. |
static PoemTypeFactory |
BOOLEAN
Boolean base-type factory. |
static PoemTypeFactory |
DATE
Date base-type factory. |
static PoemTypeFactory |
DELETED
Deleted column factory. |
static PoemTypeFactory |
DISPLAYLEVEL
Poem Displaylevel factory. |
static PoemTypeFactory |
DOUBLE
Double base-type factory. |
static PoemTypeFactory |
INTEGER
Integer base-type factory. |
static PoemTypeFactory |
INTEGRITYFIX
Poem IntegrityFix factory. |
static PoemTypeFactory |
LONG
Long base-type factory. |
static PoemTypeFactory |
PASSWORD
Password base-type factory. |
static PoemTypeFactory |
SEARCHABILITY
Poem Searchability factory. |
static PoemTypeFactory |
STRING
String base-type factory. |
static PoemTypeFactory |
TIMESTAMP
Timestamp base-type factory. |
static PoemTypeFactory |
TROID
Troid column factory. |
static PoemTypeFactory |
TYPE
Type column factory. |
Constructor Summary | |
---|---|
PoemTypeFactory(int c)
Constructor. |
Method Summary | |
---|---|
static PoemTypeFactory |
forCode(Database database,
int code)
Returns an instance given a database and the integer code for the instance. |
Integer |
getCode()
|
abstract String |
getDescription()
|
String |
getDisplayName()
|
abstract String |
getName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PoemTypeFactory TROID
public static final PoemTypeFactory DELETED
public static final PoemTypeFactory TYPE
public static final PoemTypeFactory BOOLEAN
public static final PoemTypeFactory INTEGER
public static final PoemTypeFactory DOUBLE
public static final PoemTypeFactory LONG
public static final PoemTypeFactory BIGDECIMAL
public static final PoemTypeFactory STRING
public static final PoemTypeFactory PASSWORD
public static final PoemTypeFactory DATE
public static final PoemTypeFactory TIMESTAMP
public static final PoemTypeFactory BINARY
public static final PoemTypeFactory DISPLAYLEVEL
public static final PoemTypeFactory SEARCHABILITY
public static final PoemTypeFactory INTEGRITYFIX
Constructor Detail |
---|
public PoemTypeFactory(int c)
c
- PoemType codeMethod Detail |
---|
public Integer getCode()
public abstract String getName()
public String getDisplayName()
public abstract String getDescription()
public static PoemTypeFactory forCode(Database database, int code)
database
- to get tables fromcode
- TypeCode
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |