Will be set to the type of the owner of the field
Will be set to the type of the owner of the field
This is where the instance creates its "toForm" stuff.
This is where the instance creates its "toForm" stuff. The actual toForm method wraps the information based on mode.
Convert the field to its name/value pair (e.
Convert the field to its name/value pair (e.g., name=David)
Called when a column has been added to the database via Schemifier
Called when a column has been added to the database via Schemifier
Called when a column has indexed via Schemifier
Called when a column has indexed via Schemifier
The number of database columns that this field represents
The number of database columns that this field represents
Is the field a foreign key reference
Is the field a foreign key reference
Is the field the table's primary key
Is the field the table's primary key
Called after the field is saved to the database
Called after the field is saved to the database
Given the driver type, return a list of statements to create the columns in the database
Given the driver type, return a list of statements to create the columns in the database
Given the driver type, return the string required to create the column in the database
Given the driver type, return the string required to create the column in the database
get the value
get the value
Get a JDBC friendly object for the part of this field that maps to the first column in the database
Get a JDBC friendly object for the part of this field that maps to the first column in the database
Get a JDBC friendly representation of the named field (this is used for MappedFields that correspond to more than 1 column in the database.
Get a JDBC friendly representation of the named field (this is used for MappedFields that correspond to more than 1 column in the database.)
-- the name of the field being mapped to
The human name of this field
The human name of this field
A list of functions that transform the value before it is set.
A list of functions that transform the value before it is set. The transformations are also applied before the value is used in a query. Typical applications of this are trimming and/or toLowerCase-ing strings
Get the JDBC SQL Type for this field
Get the JDBC SQL Type for this field
Get the JDBC SQL Type for this field
Get the JDBC SQL Type for this field
Create an input field for the item
Create an input field for the item
Validate this field and return a list of Validation Issues
Validate this field and return a list of Validation Issues
Get the value.
Get the value. Use get.
(Since version 2.4) Use get
The forced lower case column names
The forced lower case column names
Default read-only rendering of field
Default read-only rendering of field
Perform an atomic update of this Settable.
Perform an atomic update of this Settable. The current value is passed to the function and the ValueHolder is set to the result of the function. This is enclosed in the performAtomicOperation method which will, by default, synchronize this instance
Is the primary key autogenerated
Is the primary key autogenerated
Do we ignore the targetSQLType for setObject
Do we ignore the targetSQLType for setObject
Should the field be indexed?
Should the field be indexed?
Set to true if the field should be created as NOT NULL
Set to true if the field should be created as NOT NULL
The display name of this field (e.
The display name of this field (e.g., "First Name")
A unique 'id' for the field for form generation
A unique 'id' for the field for form generation
What form elements are we going to add to this field?
What form elements are we going to add to this field?
Perform an atomic operation on the Settable.
Perform an atomic operation on the Settable. By default synchronizes the instance, but it could use other mechanisms
Is the Field required (and will have a style designating it as such)
Is the Field required (and will have a style designating it as such)
Given the current context, should this field be displayed
Given the current context, should this field be displayed
Given the current state of things, should this field be shown
Given the current state of things, should this field be shown
Is this an upload field so that a form that includes this field must be multi-part mime
Is this an upload field so that a form that includes this field must be multi-part mime
Mix this trait into a BaseMappedField and it will be indexed