com.j256.ormlite.field
Annotation Type DatabaseFieldOther


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

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

Optional Element Summary
 String columnDefinition
           
 DataType dataType
           
 String format
           
 Class<? extends DataPersister> persisterClass
           
 boolean throwIfNull
           
 String unknownEnumName
           
 boolean useGetSet
           
 boolean version
           
 

dataType

public abstract DataType dataType
See Also:
DatabaseField.dataType()
Default:
com.j256.ormlite.field.DataType.UNKNOWN

unknownEnumName

public abstract String unknownEnumName
See Also:
DatabaseField.unknownEnumName()
Default:
""

throwIfNull

public abstract boolean throwIfNull
See Also:
DatabaseField.throwIfNull()
Default:
false

format

public abstract String format
See Also:
DatabaseField.format()
Default:
""

persisterClass

public abstract Class<? extends DataPersister> persisterClass
See Also:
DatabaseField.persisterClass()
Default:
com.j256.ormlite.field.types.VoidType.class

useGetSet

public abstract boolean useGetSet
See Also:
DatabaseField.useGetSet()
Default:
false

columnDefinition

public abstract String columnDefinition
See Also:
DatabaseField.columnDefinition()
Default:
""

version

public abstract boolean version
See Also:
DatabaseField.version()
Default:
false


This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.