Class DtSketchField

java.lang.Object
io.vertigo.studio.notebook.domain.DtSketchField

public final class DtSketchField extends Object
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
  • Method Details

    • getResourceKey

      public String getResourceKey()
      Returns:
      the key of the resource (i18n)
    • getName

      public String 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

      public DtSketchField.FieldType getType()
      Returns:
      the type of the field
    • getDomain

      public DomainSketch 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

      public String getFkDtSketchName()
      Returns:
      DtSketch de la ForeignKey (caractère obligatoire lié au type)
    • getComputedExpression

      public ComputedExpression getComputedExpression()
      Expression dans le cas d'un champ calculé.
      Returns:
      ComputedExpression du champs calculé (caractère obligatoire lié au type)