|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Column
Use the annotation to mark a UjoProperty static field like XML Attribute.
| Optional Element Summary | |
|---|---|
java.lang.String |
index
A name of the non-unique database index for the column, where the same index can contain more columns. |
int |
length
Database column maximal length |
boolean |
mandatory
Not null value |
java.lang.String |
name
A named parameter for the database column name. |
boolean |
pk
The primary key |
int |
precision
Database column presision |
DbType |
type
Database column type |
java.lang.String |
uniqueIndex
A name of the unique database index for the column, where the same index can contain more columns. |
java.lang.String |
value
A shortcut for the attribute "name" of Column. |
public abstract java.lang.String name
public abstract java.lang.String value
name()public abstract boolean pk
public abstract DbType type
public abstract int length
public abstract int precision
public abstract boolean mandatory
public abstract java.lang.String index
public abstract java.lang.String uniqueIndex
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||