Class DtSketchField
java.lang.Object
io.vertigo.studio.notebook.domain.DtSketchField
This class defines the structure of a field.
A field represents a named and typed data
A field
- has a name
- has a domain
- has a fieldType
- has a label
- can be required
- can be persistent
- can be dynamic
- Author:
- fconstantin, pchretien , npiedeloup
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis enum lists all types that can be used by a field. -
Method Summary
-
Method Details
-
getResourceKey
- Returns:
- the key of the resource (i18n)
-
getName
- Returns:
- the name of the field
-
getCardinality
public io.vertigo.core.lang.Cardinality getCardinality()- Returns:
- the cardinality of the field (one, optional, many)
-
getType
- Returns:
- the type of the field
-
getDomain
- Returns:
- the domain of the field
-
getLabel
public io.vertigo.core.locale.LocaleMessageText getLabel()- Returns:
- the label of the field
-
isPersistent
public boolean isPersistent()Gestion de la persistance.- Returns:
- Si le champ est persisté.
-
getFkDtSketchName
- Returns:
- DtSketch de la ForeignKey (caractère obligatoire lié au type)
-
getComputedExpression
Expression dans le cas d'un champ calculé.- Returns:
- ComputedExpression du champs calculé (caractère obligatoire lié au type)
-