org.seasar.extension.persistence.annotation
注釈タイプ Column


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

作成者:
higa

任意要素の概要
 boolean insertable
           
 int length
           
 String name
           
 boolean nullable
           
 int precision
           
 boolean primary
           
 int scale
           
 boolean selectable
           
 ColumnType type
           
 boolean unique
           
 boolean updatable
           
 

name

public abstract String name
デフォルト:
""

type

public abstract ColumnType type
デフォルト:
VARCHAR

primary

public abstract boolean primary
デフォルト:
false

unique

public abstract boolean unique
デフォルト:
false

nullable

public abstract boolean nullable
デフォルト:
true

selectable

public abstract boolean selectable
デフォルト:
true

insertable

public abstract boolean insertable
デフォルト:
true

updatable

public abstract boolean updatable
デフォルト:
true

length

public abstract int length
デフォルト:
255

precision

public abstract int precision
デフォルト:
0

scale

public abstract int scale
デフォルト:
0


Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.