org.jmythapi.database.annotation
Annotation Type MythDatabaseColumn


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface MythDatabaseColumn


Required Element Summary
 String column
          The database column name
 
Optional Element Summary
 int length
          The maximum length of the column
 boolean nullable
          Specifies if the database column may be null.
 String table
          The database table name
 

Element Detail

column

public abstract String column
The database column name

table

public abstract String table
The database table name

Default:
""

length

public abstract int length
The maximum length of the column

Default:
-1

nullable

public abstract boolean nullable
Specifies if the database column may be null.

Default:
true


Copyright © 2008-2013. All Rights Reserved.