@Documented @Target(value=FIELD) @Retention(value=RUNTIME) public @interface Property
Modifier and Type | Optional Element and Description |
---|---|
String |
check
SQL check expression or and empty string.
|
String |
collate
Column's collation name or and empty string.
|
String |
dateFormat
Date format (only used if
dateType = DateField.DATE_String ). |
DateField |
dateType
Date field format. only apply for Date fields.
|
String |
defaultValue
The literal default value or and empty string.
|
boolean |
indexed
Set to true if the column is indexed (default = false).
|
boolean |
insertable
Set to true if the column can be inserted (default = true).
|
String |
name
Column's name. if not set the field name will be used.
|
boolean |
notNull
Set to true if the column can be null (default = false).
|
boolean |
unique
Set to true if the column is unique (default = false).
|
boolean |
updatable
Set to true if the column can be updated (default = true).
|
public abstract String name
public abstract boolean notNull
public abstract boolean unique
public abstract boolean indexed
public abstract String defaultValue
public abstract String collate
public abstract String check
public abstract DateField dateType
public abstract String dateFormat
dateType = DateField.DATE_String
). Stored Date format
pattern (default is "yyyy-MM-dd'T'HH:mm:ss.SSSZ")Copyright © 2015. All Rights Reserved.