com.j256.ormlite.field
Annotation Type DatabaseFieldForeign
@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface DatabaseFieldForeign
This can be used instead of DatabaseField
. This adds fields to the DatabaseFieldSimple
annotations
which _must_ also be specified for this annotation to be detected.
- Author:
- graywatson
foreign
public abstract boolean foreign
- See Also:
DatabaseField.foreign()
- Default:
- false
foreignAutoRefresh
public abstract boolean foreignAutoRefresh
- See Also:
DatabaseField.foreignAutoRefresh()
- Default:
- false
maxForeignAutoRefreshLevel
public abstract int maxForeignAutoRefreshLevel
- See Also:
DatabaseField.maxForeignAutoRefreshLevel()
- Default:
- 2
foreignAutoCreate
public abstract boolean foreignAutoCreate
- See Also:
DatabaseField.foreignAutoCreate()
- Default:
- false
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.