@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Column
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
name
The name of the Field
If no name is set it will use the Name of the Field
|
ColumnType |
type
The Type of the Field is only interesting for SQL.
|
int[] |
typeParameters
Used to give parameters for the the type to sql/Casandra databases
For Example:
VARCHAR(54) ->
@Column(typeParameters = 54) String email = "hallo" |
public abstract java.lang.String name
public abstract ColumnType type