Interface Form

All Superinterfaces:
FormEntity, Serializable, WithValidation<Form>
All Known Implementing Classes:
ImmutableForm, ModifiableForm

@Immutable @Modifiable @TypeAdapters(emptyAsNulls=true) @Repository("forms") public interface Form extends WithValidation<Form>, FormEntity
  • Method Details

    • getId

      @Named("_id") @Id String getId()
    • getRev

      @Named("_rev") @Version String getRev()
    • getName

      String getName()
    • getData

      @Valid @NotNull @Valid @NotNull Map<String,FormItem> getData()
    • getMetadata

      @Valid @NotNull @Valid @NotNull Form.Metadata getMetadata()
    • getVariables

      @Valid @NotNull @Valid @NotNull List<Variable> getVariables()
    • getNamespaces

      @Valid @NotNull @Valid @NotNull Map<String,Form> getNamespaces()
    • getValueSets

      @Valid @NotNull @Valid @NotNull List<FormValueSet> getValueSets()
    • getRequiredErrorText

      @NotNull @NotNull Map<String,String> getRequiredErrorText()
      Returns:
      error text for required fields, unless not defined per item